ifup: "RTNETLINK answers: File exists"
Posted: Tue Aug 13, 2013 1:12 am
[PROBLEM]
For some strange reason, my Debian 7 (wheezy) installation wouldn't let me start the network interfaces using the official scripts.
Running "ifup eth0" simply replied:
The IP-address was configured as "inet static" in /etc/network/interfaces.
[SOLUTION]
It seems that some part of the static configuration information got "stuck" somewhere, somehow.
Thanks to a post by user namend "civing" on unix.stackexchange.com, I did the following:
Where "ethx" must be replaced by the actual network interface you're having the problem with (e.g. "eth0").
Problem solved!
For some strange reason, my Debian 7 (wheezy) installation wouldn't let me start the network interfaces using the official scripts.
Running "ifup eth0" simply replied:
Manually using "ifconfig eth0 inet <address> up" worked fine.RTNETLINK answers: File exists
The IP-address was configured as "inet static" in /etc/network/interfaces.
[SOLUTION]
It seems that some part of the static configuration information got "stuck" somewhere, somehow.
Thanks to a post by user namend "civing" on unix.stackexchange.com, I did the following:
Code: Select all
$ ip addr flush dev ethx
Problem solved!
