I'm trying to set my Pi (under Raspbian) up with a single static IP address for eth0. I've found many on-line tutorials for this, but the /etc/network/interfaces file that my Pi (model B) has seems slightly different to the ones listed there, and if I try to follow them my Pi ends up with two IP addresses, one by DHCP from the router and the other the fixed address I'm trying to give it.
In all the tutorials it says to change the line
Code: Select all
iface eth0 inet dhcp
Code: Select all
iface eth0 inet static
Code: Select all
iface eth0 inet manual
Could someone advise what is the current best set-up for the interfaces file so that I just get the one single static IP address set on the Pi and not assigned by DHCP from the router at all?