5/30/2023 0 Comments Smb.conf for netatalk![]() Thus, you want to change the 'mount point' name of each Raspberry Pi. If you have multiple Raspberry Pi computers they all mount with the same 'Home Directory' name which can be confusing. When a Pi is mounted in macOS using AFP, it will mount as Home Directory. ![]() 2) Changing the default name of a Pi in netatalk and entering afp:// where is the IP address of your Pi. The Pi can be mounted in the macOS Finder by going to Go - Connect To Server. Once netatalk is installed, the Raspberry Pi will show up in the macOS Finder 'Shared' section. 1) Install netatalk sudo apt-get install netatalk This is a recipe to make a Raspberry Pi an Apple-File-Protocol (AFP) file-server that can be accessed from macOS. Do this by clicking the 'Start' menu and then typing smb:\\. On a Windows machine, mount the Raspberry Pi Samba file-server with smb:\\ where is the IP address of your pi. Ĥ) Create a Samba password sudo smbpasswd -a piĥ) Restart Samba sudo /etc/init.d/samba restartĦ) Test the server from another machine on the network. In the Pico editor, move the cursor to the end of the file and copy and paste the following. 3) Add the following to the end of the smb.conf file. Remember, the pico editor does not respond to mouse clicks, you need to move the cursor around with arrow keys. When using the pico editor, ctrl x to save and quit, ctrl w to search, ctrl v to page down. 1) Install Samba sudo apt-get install samba samba-common-binĢ) Edit /etc/samba/smb.conf sudo pico /etc/samba/smb.conf This is a recipe to make a Raspberry Pi a Samba (SMB) file-server that can be accessed from both Windows and macOS. If you are working on macOS you want to use AFP but can also use Samba. If you are working on a Windows machine, you need to use Samba. This is useful for copying recorded video off the Raspberry Pi to another (remote) computer for archiving and analysis. Once configured as a file-server, files on the Raspberry Pi can be easily opened/edited/copied from a remote computer. ![]() This is a recipe for configuring a Raspberry Pi as a file-server.
0 Comments
Leave a Reply. |