You are not logged in.
Pages: 1
Ok, back in the days of Orion I had a folder that I was sharing via samba. I put movies, documents and such in it that I might want to access on my tablet, laptop, or even the FireStick!
I have been trying for the last few weeks to set up such a share on Centaurus but am not having much luck with it.
I have, finally, gotten 'share' to show on the folder properties ( the '/home/Public' directory) and clicking it allows me to select to 'share this folder in the local network' and 'Share with Samba'. 'Public' and 'Writable' are selected. But, even after reboot, the remote devices see nothing! The share with NFS is greyed out, but I shouldn't need it anyway. Also, in Orion there was an icon that indicated the folder was shared and that is not showing now.
I've gotten this far, but don't know what to do now!
Help!
Last edited by JimW (2019-09-13 14:02)
Offline
I remember having had problems with Samba some time ago, and I wrote the following note:
https://www.q4os.org/forum/viewtopic.php?id=1497
Maybe it might help you.
Offline
Thanks cjoliprst. I had already gotten to that point, but still no luck! I even created a new folder and it does the same. I enable it as shared, but can't see it from remote devices and no change in the folder icon. I found that using the control panel setup it re-writes the config file, removing any changes I have made. Have to keep experimenting I guess!
Offline
You may need to add the user to "sambashare" group.
Offline
You may need to add the user to "sambashare" group.
Ok, would that be the user that is logged in on Q4OS or the "user" of the remote device?
Just looked and there is no sambashare group. Do I need to add it and shouldn't setting up samba automatically generate that group?
Last edited by JimW (2019-09-12 19:55)
Offline
The Q4OS user who want to view, write and create a shared folders. Please post your /etc/samba/smb.conf file here or send it via e-mail support@q4os.org Anyway, samba sharing should be independent on Trinity desktop, it's fully configurable even using terminal only.
Offline
I have manually added the:
public = yes
writable = yes
to the Public and the Share folder settings.
Offline
Just looked and there is no sambashare group. Do I need to add it and shouldn't setting up samba automatically generate that group?
This group is automatically added by the "samba" package. Please check you have installed "samba" package. If so, try to reinstall it:
$ sudo apt remove samba
$ sudo delgroup sambashare
$ sudo apt install samba
Reboot and try to configure samba once again.
Offline
Removed samba and re-installed. No change.
The sambashare group is there.
I tried to 'un-share' the two directories, but it would still indicate they were shared. The smb.conf never changed so I replaced it with the original one with no shares. Still shows the "share this folder" as checked. Also, remote devices do not see the computer as being available on the network. It was showing that before I started today.
Offline
Wondering if this could be a wider problem. I was reading recently the release notes for Mint 19 where they report some problems with Samba and conclude as follows: "If you use Samba a lot, until these issues are resolved, we recommend you use Linux Mint 18.3 instead." - which says a lot...
See: https://www.linuxmint.com/rel_tina_mate.php
Could it be the same problem you are seeing?
Offline
Please try the following:
- First reboot
- Reinstall "samba" package
$ sudo apt --purge autoremove samba
$ sudo delgroup sambashare
$ sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.backup1
$ sudo reboot
$ sudo apt install samba
$ sudo adduser <yourusername> sambashare
- Reboot
- Follow this Samba setup guide https://linuxconfig.org/how-to-set-up-a … -10-buster as exactly as possible
- Reboot
- Post a result here
The setup guide above is not dependent on a desktop environment and should set the Samba up in a reliable way.
Last edited by q4osteam (2019-09-13 07:53)
Offline
Thanks Q4OSteam!
That is essentially what I did, before your post. I now have a shared directory that external devices can see/access. It also shared my printer as I wanted.
But, the folder icon still is the same as an un-shared one. It did not change.
(I'm going to call this solved anyway)
Offline
Pages: 1