Skip to content

Instantly share code, notes, and snippets.

@gmolveau
Last active July 1, 2020 21:08
Show Gist options
  • Select an option

  • Save gmolveau/f117ee4c21b0ef66afbbb31a82915979 to your computer and use it in GitHub Desktop.

Select an option

Save gmolveau/f117ee4c21b0ef66afbbb31a82915979 to your computer and use it in GitHub Desktop.
ubuntu server / raspberry pi guest samba share folder/USB hard drive over network
  • Install samba :
sudo apt install samba samba-common-bin
  • Create folder if necessary :
mkdir -p /media/usb/NAS
  • Edit /etc/samba/smb.conf and add a new share :
# sudo nano /etc/samba/smb.conf
[NAS]
path = /media/usb/NAS
writeable = yes
browseable = yes
guest ok = yes
  • Restart samba :
sudo service smbd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment