You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to this and I have a problem with my samba shared disks after a reboot.
I just installed elemtary OS 8 on my HP Probook and set up a samba file sharer. I am sharing a second hard drive on my laptop and two usb drives in a local network.
Everything was set up and working, then I rebooted and the shared drives were no longer visible. After playing around I found that if I clicked on each shared drive using the file app, then the shared drive would then be visible on the network.
Here is a picture of the lsblk command just after reboot;
After clicking on each shared drive here is how it looked:
This is what my smb.conf file looks like:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
pam password change = yes
map to guest = bad user
var/lib/samba -s /bin/false %u
################ added by me ############################
usershare allow guests = yes
[anon]
path = "/media/don/Data SSD"
browseable = yes
writeable = yes
read only = no
guest ok = yes
[seadisk]
path = /media/don/SEA_DISK1
read only = no
browsable = yes
writeable = yes
guest ok = yes
directory mask = 0777
[x250]
path = /media/don/External_2501
read only = no
browsable = yes
writeable = yes
guest ok = yes
directory mask = 0777
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am new to this and I have a problem with my samba shared disks after a reboot.
I just installed elemtary OS 8 on my HP Probook and set up a samba file sharer. I am sharing a second hard drive on my laptop and two usb drives in a local network.
Everything was set up and working, then I rebooted and the shared drives were no longer visible. After playing around I found that if I clicked on each shared drive using the file app, then the shared drive would then be visible on the network.
Here is a picture of the lsblk command just after reboot;
After clicking on each shared drive here is how it looked:
This is what my smb.conf file looks like:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
pam password change = yes
map to guest = bad user
var/lib/samba -s /bin/false %u
################ added by me ############################
usershare allow guests = yes
[anon]
path = "/media/don/Data SSD"
browseable = yes
writeable = yes
read only = no
guest ok = yes
[seadisk]
path = /media/don/SEA_DISK1
read only = no
browsable = yes
writeable = yes
guest ok = yes
directory mask = 0777
[x250]
path = /media/don/External_2501
read only = no
browsable = yes
writeable = yes
guest ok = yes
directory mask = 0777
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions