How to update your Raspbian

  1. Connect via SSH to your Raspbian (How to set up a SSH remote connection to Raspbian and connect to it with PUTTY)
  2. write:

    sudo apt-get update

    and press ENTER

  3. If it asks to continue, press Y and enter
  4. If the task is finished enter:

    sudo apt-get upgrade

  5. If it asks to continue, press Y and enter

After finish, reboot and maybe repeat step 1-3

How to set up a SSH remote connection to Raspbian and connect to it with PUTTY

I will show you, how to activate the ssh remote console and connect it trough putty.

This tutorial based on everydaylinuxuser.

SSH stands for “Secure Shell” and describes a way to connect to a remote system in a secure way. With PUTTY we have a remote command line tool which can connect trough SSH to Raspbian.

We will do the following steps:

  1. First download and install PUTTY on your local machine (not the PI).
  2. Activate SSH Console inside of Raspbian
  3. Connect to Raspbian trough Putty

1. After downloading PUTTY you can start it and leave it

2. To activate the SSH Console, connect the PI to a HDMI Monitor and plug in a keyboard and mouse


  • Click on Menu -> Preferences -> Raspberry Pi Configuration (see image above)
  • In the new window click on Interfaces
  • At SSH click on Enabled
  • Click OK
  • Maybe you have to restart the pi

Hint: At the Raspberry Pi Configuration you can change a lot of internal settings, like the password etc.

The default username for Raspbian is: pi
The default password for Raspbian is: raspberry


3. Inside of PUTTY enter raspberrypi as hostname and click on Open (see image above)

  • Maybe you get a warning, confirm with yes (see image below)


  • If you did everything OK, you have to enter the username (pi) and the password (raspberry) and confirm it always with enter
  • Now you should be logged into Raspbian over SSH (see image below)


Good you’re done

How to create a (windows) share with Raspbian

Here I show how to create a (windows) share on a raspbian running raspberry pi

It took me some google search to found this good article:

Share Linux folder to Windows

When I tried out I missed some steps.

First I connected to my Pi with PUTTY

After that I created a new User who will be granted for accessing the share

sudo adduser NAME –no-create-home –force-badname –disabled-login

Where NAME has to be replaced with any name you prefer. (I used Patrizio 😉

After successfully created the User, I followed the instruction on the article above.

sudo apt-get install samba

With this command I installed the samba server to share to windows.

After successfully installed the samba server, I set the samba user with (replace NAME with you choosen one)

sudo smbpasswd -a NAME

You can choose the same password like adding the user before.

I made a Folder inside the home folder

mkdir share

and set the permissions with

chmod -R 777 Share

After that, I had to change the samba server’s config file with

sudo nano /etc/samba/smb.conf

Added the following lines at the end of the file

path = /home/Share
avaible = yes
valid users = NAME       #NAME of the created user
read only = no
browsable = yes
public = yes
writable = yes

Obviously you can change the settings to fulfill your needs.

Last but not least I restarted the samba server with

sudo service smbd restart

When I accessed the share with my windows machine, I got this result:


Now I can write files to the Raspberry Pi from my Windows machine 🙂