Comment 6 for bug 1059065

Carla Sella (carla-sella) wrote :

I tried this:

I turned off wireless network.
I went in Network Manager, modified my cabled network configuration from DHCP to fixed, entered an IP adress and everything else is needed to make my wired network work.
I turned detached my eth0 cable, turned on wirelss network, and canceled the wired configuration I had entered previously.
I turned off wireless network again and tried to plug in a network cable in my eth0 port.
I had the problem I reported at the beginning of this bug.
I took a look at the /etc/NetworkManager/NetworkManager.conf file and this is what is in it now:

[main]
plugins=ifupdown,keyfile
dns=dnsmasq

#no-auto-default=C8:0A:A9:11:DE:0A,

no-auto-default=C8:0A:A9:11:DE:0A,

[ifupdown]
managed=false

As you can see there is another line "no-auto-default=C8:0A:A9:11:DE:0A," that is not commented.
I think that, if you configure a wired network without DHCP in Network Manager and then cancel it the no-auto-default line remains in the configuration file and is not cancelled, so the next time you try to use DHCP you are not able to.