← Back to team overview

desktop-packages team mailing list archive

[Bug 880623] [NEW] network manager deactivates ethernet when connected to router (reason 'managed')

 

Public bug reported:

I just installed Ubuntu 11.10 on a pc with a Realtek ethernet card (Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller). Everything is fine except the wired connection doesn't work :/
 
The problem occurs when connecting the PC directly to the router via the ethernet cable. But if I connect the PC to the laptop via the ethernet cable and use the laptop wifi connection, I can connect the PC to internet through the laptop, so the problem it's not the network card or the ethernet cable.
Previously on the PC I had an Ubuntu 9 connected directly to the router and everything worked just fine. There's a Windows on the PC, with whom the wired connection works fine.

In /var/log/syslog I see this when I connect the PC to the router:

Oct 25 01:22:37 ramiro-MS-7501 NetworkManager[2637]: <info> (eth0): bringing up device.
Oct 25 01:22:37 ramiro-MS-7501 avahi-daemon[927]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.10.
Oct 25 01:22:37 ramiro-MS-7501 avahi-daemon[927]: New relevant interface eth0.IPv4 for mDNS.
Oct 25 01:22:37 ramiro-MS-7501 avahi-daemon[927]: Registering new address record for 192.168.1.10 on eth0.IPv4.
Oct 25 01:22:37 ramiro-MS-7501 NetworkManager[2637]: <info> (eth0): preparing device.
Oct 25 01:22:37 ramiro-MS-7501 NetworkManager[2637]: <info> (eth0): deactivating device (reason 'managed') [2]
Oct 25 01:22:37 ramiro-MS-7501 kernel: [ 1523.632316] r8169 0000:02:00.0: eth0: link down
Oct 25 01:22:37 ramiro-MS-7501 kernel: [ 1523.633996] ADDRCONF(NETDEV_UP): eth0: link is not ready

Sometimes it's:

Oct 24 05:00:33 ramiro-MS-7501 kernel: [ 2475.020415] r8169 0000:02:00.0: eth0: link down
Oct 24 05:00:33 ramiro-MS-7501 kernel: [ 2475.022080] ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> enable requested (sleeping: no  enabled: no)
Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> waking up and re-enabling...
Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): now managed
Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): preparing device.
Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): deactivating device (reason 'managed') [2]


So it seems a Network-manager issue...

I have tried changing the options on the "Edit connections" dialog
(deactivating IPv6, setting a static IP for the wired connection instead
of DHCP, etc). I even tried removing the R8169 module and compiling and
loading the R8168 module instead but nothing worked, still no connection
to the router.

When this happens, "route" shows nothing, and "sudo route add defaut gw
192.168.1.1" returns an error (SIOCADDRT: No such process)

Ethtools returns:

Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Speed: 10Mb/s
	Duplex: Half
	Port: MII
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00000033 (51)
			       drv probe ifdown ifup
	Link detected: no

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- network manager deactivates ethernet when connected to router but not when connected to other computer
+ network manager deactivates ethernet when connected to router (reason 'managed')

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/880623

Title:
  network manager deactivates ethernet when connected to router (reason
  'managed')

Status in “network-manager” package in Ubuntu:
  New

Bug description:
  I just installed Ubuntu 11.10 on a pc with a Realtek ethernet card (Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller). Everything is fine except the wired connection doesn't work :/
   
  The problem occurs when connecting the PC directly to the router via the ethernet cable. But if I connect the PC to the laptop via the ethernet cable and use the laptop wifi connection, I can connect the PC to internet through the laptop, so the problem it's not the network card or the ethernet cable.
  Previously on the PC I had an Ubuntu 9 connected directly to the router and everything worked just fine. There's a Windows on the PC, with whom the wired connection works fine.

  In /var/log/syslog I see this when I connect the PC to the router:

  Oct 25 01:22:37 ramiro-MS-7501 NetworkManager[2637]: <info> (eth0): bringing up device.
  Oct 25 01:22:37 ramiro-MS-7501 avahi-daemon[927]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.10.
  Oct 25 01:22:37 ramiro-MS-7501 avahi-daemon[927]: New relevant interface eth0.IPv4 for mDNS.
  Oct 25 01:22:37 ramiro-MS-7501 avahi-daemon[927]: Registering new address record for 192.168.1.10 on eth0.IPv4.
  Oct 25 01:22:37 ramiro-MS-7501 NetworkManager[2637]: <info> (eth0): preparing device.
  Oct 25 01:22:37 ramiro-MS-7501 NetworkManager[2637]: <info> (eth0): deactivating device (reason 'managed') [2]
  Oct 25 01:22:37 ramiro-MS-7501 kernel: [ 1523.632316] r8169 0000:02:00.0: eth0: link down
  Oct 25 01:22:37 ramiro-MS-7501 kernel: [ 1523.633996] ADDRCONF(NETDEV_UP): eth0: link is not ready

  Sometimes it's:

  Oct 24 05:00:33 ramiro-MS-7501 kernel: [ 2475.020415] r8169 0000:02:00.0: eth0: link down
  Oct 24 05:00:33 ramiro-MS-7501 kernel: [ 2475.022080] ADDRCONF(NETDEV_UP): eth0: link is not ready
  Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> enable requested (sleeping: no  enabled: no)
  Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> waking up and re-enabling...
  Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): now managed
  Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
  Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): preparing device.
  Oct 24 05:00:37 ramiro-MS-7501 NetworkManager[936]: <info> (eth0): deactivating device (reason 'managed') [2]

  
  So it seems a Network-manager issue...

  I have tried changing the options on the "Edit connections" dialog
  (deactivating IPv6, setting a static IP for the wired connection
  instead of DHCP, etc). I even tried removing the R8169 module and
  compiling and loading the R8168 module instead but nothing worked,
  still no connection to the router.

  When this happens, "route" shows nothing, and "sudo route add defaut
  gw 192.168.1.1" returns an error (SIOCADDRT: No such process)

  Ethtools returns:

  Settings for eth0:
  	Supported ports: [ TP MII ]
  	Supported link modes:   10baseT/Half 10baseT/Full 
  	                        100baseT/Half 100baseT/Full 
  	                        1000baseT/Half 1000baseT/Full 
  	Supports auto-negotiation: Yes
  	Advertised link modes:  10baseT/Half 10baseT/Full 
  	                        100baseT/Half 100baseT/Full 
  	                        1000baseT/Half 1000baseT/Full 
  	Advertised pause frame use: Symmetric Receive-only
  	Advertised auto-negotiation: Yes
  	Speed: 10Mb/s
  	Duplex: Half
  	Port: MII
  	PHYAD: 0
  	Transceiver: internal
  	Auto-negotiation: on
  	Supports Wake-on: pumbg
  	Wake-on: g
  	Current message level: 0x00000033 (51)
  			       drv probe ifdown ifup
  	Link detected: no

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/880623/+subscriptions


Follow ups

References