Contents
First install some packages: Then, create a local directory and mount the remote share: where server is your windows computer name (dns or netbios) and share is your windows shared directory.
Can a Samba user read and write files?
Edit Samba’s config files to make the file share visible to the Windows PCs on the network. In our example, you’ll need to add the following entry: This means that anyone will be able to read, write, and execute files in the share, either by logging in as a Samba user (which we’ll set up below) or as a guest.
How does Samba Work on a Raspberry Pi?
Samba is the Linux implementation of the SMB/CIFS file sharing standard used by Windows PCs and Apple computers, and widely supported by media streamers, games consoles and mobile apps. With Samba activated you can quickly copy files from a computer on your network to a Raspberry using wireless LAN (or a direct Ethernet connection).
How to set up Samba as a file server?
Just create a smb.conf entry for any path you want to share, and it’ll be made available across your network when you restart Samba.
Can a Raspberry Pi be used as a Samba server?
It’s easy to use a Raspberry Pi as a Samba file server where you can store backups and share files from all the other computers on your network. Samba is the Linux implementation of the SMB/CIFS file sharing standard used by Windows PCs and Apple computers, and widely supported by media streamers, games consoles and mobile apps.
You could also use Samba to share a user’s home directory so they can access it from elsewhere on the network, or to share a larger external hard disk that lives at a fixed mount point. Just create a smb.conf entry for any path you want to share, and it’ll be made available across your network when you restart Samba.