8/13/2023 0 Comments Raspberry pi samba subnet![]() Here is how you should do it:Ĭreate a new user adduser username. In some cases you might want to set a private folder for yourself only. Lastly, we need to restart the Samba service to apply all changes: sudo /etc/init.d/smbd restart Give the share folder full permission: sudo chmod -R 777 /home/pi/shareĬhange the default Samba password for user pi: sudo smbpasswd -a pi Type "I" to insert use ":wq" to save and exit in vim Now we need to modify the configuration of Samba: # backup the original configuration file Then we can install the Samba: sudo apt-get install -y samba-common-binįirst we create a folder under pi: sudo mkdir -m 1777 /home/pi/share Installationįirst we need to update and upgrade the apt source and package list: sudo apt-get update 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). 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. In this tutorial, we will use Samba to set up a file server on your Raspberry Pi 4. You can even plug external drives to it to enlarge the disk space. In other words, all your local devices not only can backup your important files to the Raspberry Pi, but also plays movies stored in the Raspberry Pi. ![]() Because of its low power supply, Raspberry Pi 4 surely has the capability of working as an affordable file server to back up and share files from anywhere on your local network. The latest Raspberry Pi 4B comes with a Gigabit ethernet port, up to 4GB RAM and 2 USB3 port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |