mrdebug
Posts: 72
Joined: Sun Apr 07, 2013 6:08 pm

Big problem with Raspberry Pi (Debian 8) and networking.

Tue Jan 05, 2016 1:18 pm

In order to have my raspberry with a static ip, I have written my interfaces file in this mode:
auto lo
iface lo inet loopback

allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.74
netmask 255.255.255.0
gateway 192.168.1.254

after that I did
update-rc.d dhcpcd disable
Without this command, the dhcpcd daemon ignores the interfaces file and requires an address for eth0 using dhcp. (This is a very bad decision of the Debian maintainers.)

The problem is: if I unplug and replug the cable, after replug the system does not use the interfaces file but requires an address with dhcp!!!

What can I do to resolve this problem?
The same file works perfectly in a Debian 7 machine.
www. ???
www. ???
GMT+1
Skype: mrdebug

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: Big problem with Raspberry Pi (Debian 8) and networking.

Tue Jan 05, 2016 1:39 pm

mrdebug,

You are yet another victim of the brain dead way network configuration has been changed in Raspbain Jessie (8). Which is no long the normal Debian way.

The answer to your problem is in this thread:
viewtopic.php?f=63&t=110606&start=50

You might want to read the whole thing from the beginning.
Memory in C++ is a leaky abstraction .

Return to “General discussion”