Sometimes, it's nice to be able to access the raspberry pi without having to use SSH and the CLI. If your doing batch file copying or just want to use an editor like Sublime Text 2, it's a lot easier if you can connect to the pi through Finder in OSX (or Nautilus in Ubuntu for that matter).
A very easy way to make your raspberry pi show up in finder under "Shared" is by installing Samba on it.
- Connect to your raspberry pi through SSH
- Install samba
- Configure it to allow read/write access
- Add a samba user
- Restart samba
- Connect from Finder
$ sudo apt-get install samba samba-common-bin # Installing...
Open the config file in
$ vi /etc/samba/smb.conf
Change access to Read/Write so you can add folders and change files from Finder
250: read only = no
Add root as a samba user
This is done via the
$ smbpasswd –a root # New SMB password:
Restart samba server
$ /etc/init.d/samba stop $ /etc/init.d/samba start
Connect from Finder
After a few seconds, you should see raspberrypi show up under shared devices on your Mac. You're then able to connect to it with the username/password you just added.
The root folder you're presented with is the user home folder. If you want to start at root level of the SD-card you can change that in the