Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Howto: Fix IP address on Raspberry PI
11-09-2014, 11:15 PM,
#1
Howto: Fix IP address on Raspberry PI
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.
Reply


Messages In This Thread
Howto: Fix IP address on Raspberry PI - by aart - 11-09-2014, 11:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)