network-manager breaks static configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hi,
After the last update my internet connection dropped and it will no longer start up when I boot the connection. I use a wireless DWL-G630 to connect and can connect using the knetwork manager after I boot up.
I checked my settings in /etc/network/
Below, I have added my /etc/network/
-----
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
iface ath0 inet dhcp
wireless-essid Scott
wireless-key ---Wireless Key taken out--
auto ath0
ProblemType: Bug
Architecture: i386
Date: Wed Mar 14 13:45:56 2007
DistroRelease: Ubuntu 7.04
Uname: Linux Kubuntu 2.6.20-10-generic #2 SMP Mon Mar 12 00:02:49 UTC 2007 i686 GNU/Linux
Changed in network-manager: | |
importance: | Undecided → Medium |
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: if-up.d/ avahi-autoipd exited with return code 2
RTNETLINK answers: File exists
run-parts: /etc/network/
and then eth0 is up and the "inet addr", "Bcast", "Mask" appear in the "ifconfig -a" output.