Forums
Howto: Fix IP address on Raspberry PI - Printable Version

+- Forums (https://digdascloud.nl/myBB)
+-- Forum: Digdas forum (https://digdascloud.nl/myBB/forumdisplay.php?fid=1)
+--- Forum: Raspberry PI stuff (https://digdascloud.nl/myBB/forumdisplay.php?fid=3)
+--- Thread: Howto: Fix IP address on Raspberry PI (/showthread.php?tid=19)



Howto: Fix IP address on Raspberry PI - aart - 11-09-2014

To set the IP address of the Raspberry to fixed, you need to adapt the file /etc/network/interfaces.

For eth0 (the onboard wire-interface) the following is mentioned in the file:
Code:
iface eth0 inet dhcp

This need to be adapted (fill in the correct network details)

Code:
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.120

netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

And reboot, to have the settings propagated.