Initial Setup of Raspberry Pi

After boot up the raspberry pi, there are few things need to do to suit your usage style:

1. Change the default login password


2. Change static ip address
Make a backup of the original file

sudo cp /etc/network/interfaces /etc/network/interfaces.old

Edit the file

sudo nano /etc/network/interfaces

Comment below line
#iface eth0 inet dhcp

Add below lines according to your network environment:
iface eth0 inet static
#your static IP
#your gateway IP
#your network address “family”

Once finish, save the file by pressing Ctrl+X–>Y–>Enter.

Restart the networking using below command. Once successful, your current Putty connection will be terminated, where u need to start new Putty session using your static ip.

sudo /etc/init.d/networking restart

Leave a Reply

Your email address will not be published. Required fields are marked *