The Start

Hi, What and Why

Compare to Arduino

What do you need to buy ?

It's plugged in, what's first ?

How to install packages.

Recommended packages.

Essential Linux Commands.

How to use the vi editor.

The next step

Set up I2C.

My first program - blink.

VNC - Use your computer to control your Pi.

Samba - copy files.

Raspberry Pi: How to setup Samba


pi@raspberrypi:~ $
pi@raspberrypi:~ $ mkdir samba_share
pi@raspberrypi:~ $ sudo apt-get install samba

Configure it

You need to replace the existing configuration file with this file. The configuration file to replace is /etc/samba/smb.conf

fyi, the contents of the file is :

workgroup = workgroup
server string = %h
wins support = no
dns proxy = no
security = share
encrypt passwords = yes
panic action = /usr/share/samba/panic-action %d

path = /home/pi/samba_share
writeable = yes
browseable = yes
read only = no
guest ok = yes
force user = pi

Finally, reboot for ease and test the file sharing ability. Note that there is no security; any user (with access to your network) can read and write files to this directory on your Pi. This is the easiest samba configuration file that you can choose, allowing anonymous access to this directory on your Pi.

To Test :

Using a file manager, open directory smb://

Now, my IP address (of my pi, on my network) is given in this example. Naturally, you will need to use your own. As a file manager on Linux, I use Thunar. Whichever file manager you use (including Windows File Manager), the connection string should be the same.

Samba is slow to copy files, but it has the advantage of being simple to drag-n-drop files in a file manager.