Hosted On a Raspberry Pi

Set a static ip on your raspberry pi

Posted on april 8th, 2013 by Boo Sargant .

1st we need to edit the interface file with nano editer.

– sudo nano /etc/network/interfaces –

And look for this line in the file.

– iface eth0 inet dhcp –

And change it to

– iface eth0 inet static –

After that we need to add a few lines under what we just edited in

– iface eth0 inet static

address 192.168.0.100

netmask 255.255.255.0

gateway 192.168.0.1

You can change the address to anything you want.


Leave your comment

Leave your comment