Static IP Config

From SingletonMillerWiki
Jump to: navigation, search

Setting a static IP is useful to ensure that any DHCP activity on your network won't change the location of your RPi.

To do this we need to edit /etc/network/interfaces

sudo nano /etc/network/interfaces

replace the line iface eth0 inet dhcp with

iface eth0 inet static

Exit and save the file with CTRL-X followed by Y to confirm the changes.

The gateway is the address for the router and may need to be adjusted.