Forums

Full Version: Howto: Fix IP address on Raspberry PI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.