Comment 1 for bug 92299

Revision history for this message
Emmanuel Touzery (emmanuel-touzery) wrote : Re: internet connection will not automatically connect after last update

happens to me too.
i have two network cards (same card, same chipset, same driver so it's not a kernel issue).
one (eth1) is dhcp connected to the internet, and it's coming up after boot.
the other one (eth0) is static IP for my local network (i'm doing NAT) and this one used to come up, and is not coming up anymore after boot.

if i do "ifconfig -a" after boot,
the interface which does not come up is missing the line with "inet addr:" and "Bcast:" and "Mask:".
if at that point I do "sudo ifup eth0", i get "ifup: interface eth0 already configured".

config of the network cards is in /etc/network/interfaces

and is (appart from the loopback config):
iface eth1 inet dhcp
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
auto eth0

I did not change that config in a long long time.

if i type after boot:
sudo ifdown eth0 && sudo ifup eth0

the following is displayed:
RTNETLINK answers: File exists
run-parts: /etc/network/if-up.d/avahi-autoipd exited with return code 2

and then eth0 is up and the "inet addr", "Bcast", "Mask" appear in the "ifconfig -a" output.