This recipe will show how to set up a Samba server on the Banana Pi. Moreover, we will investigate how we can connect Windows and Linux clients to the Samba server. Samba is a re-implementation of the SMB/CIFS networking protocol to provide file and print sharing among Windows and Linux systems.
For this recipe, you require the following:
A running Banana Pi with a Debian-based Linux system
A configured network on the Banana Pi
We are working with the default user
bananapi in the upcoming recipe. Furthermore, we are using the default hostname
lemaker. If you have your own user or hostname, replace in the following steps where appropriate:
Open a shell.
Create a directory that is shared later:
$ mkdir /home/bananapi/first_share
Put a test file into...