[feisty] network-manager chooses wrong cable network

Bug #97315 reported by Michael Kofler
22
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

hardware: K7T266 Pro Mainboard, Athlon 1400 CPU
software: Ubuntu 7.04 Beta 32 Bit DVD

the mainboard supports two network interfaces

(a) standard ethernet (eth0, Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C)
(b) ethernet via usb

the computer is connected to a DHCP server via (a); I have never used (b)

however, after starting the live system, NetworkManager sees two cable networks (a and b) and chooses for whatever reason the not connected interface (b)

> lsmod | grep -i usb
usbnet 19720 1 gl620a
usbcore 134280 4 gl620a,usbnet,uhci_hcd
mii 6528 3 usbnet,8139too,8139cp

> lspci | grep -i ethernet
00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

> lsusb
Bus 002 Device 002: ID 05e3:0502 Genesys Logic, Inc. GL620USB GeneLink USB-USB Bridge
...

> ifconfig eth0
eth0 Protokoll:Ethernet Hardware Adresse 00:02:44:2B:17:FA
          inet Adresse:192.168.0.13 Bcast:192.168.0.255 Maske:255.255.255.0
          inet6 Adresse: fe80::202:44ff:fe2b:17fa/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:908 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:1436430 (1.3 MiB) TX bytes:89825 (87.7 KiB)
          Interrupt:10 Basisadresse:0x8f00

> ifconfig usb0
usb0 Protokoll:Ethernet Hardware Adresse 46:7C:A3:E2:E4:86
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:44 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Revision history for this message
Michael Kofler (michael-kofler) wrote :

as was to expect, the same problems also appear in the installed system; to make the matter worse, NetworkManager seems to be unable to remember which interface is manually set; each time I restart the computer, again the wrong USB interface is choosen and I have no network access until I manually choose the right interface

NetworkManager should send DHCP requests on all cable network and choose an interface which responds!

Revision history for this message
Emonib (emonib) wrote :

I have the same problem on my system.
See https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/102766 for more details.

Revision history for this message
Michael Kofler (michael-kofler) wrote :

just to confirm: this bug also happens in Feisty final; after each reboot I have to manually choose the right cable network

Revision history for this message
Michael Kofler (michael-kofler) wrote :

I got rid of the problem; I disabled the interface by blocking the responsible kernel module

sudo -s
cat > /etc/modprobe.d/blacklist-usb-net-interface
blacklist gl620a
<Strg>+<D>

Revision history for this message
Martin Pitt (pitti) wrote :

Can you please attach /var/log/kern.log and /var/log/daemon.log after a clean boot and (wrong) connection attempt of network-manager?

Changed in network-manager:
status: Unconfirmed → Needs Info
Revision history for this message
Michael Kofler (michael-kofler) wrote :
Revision history for this message
Michael Kofler (michael-kofler) wrote :
Revision history for this message
Michael Kofler (michael-kofler) wrote :
Revision history for this message
Michael Kofler (michael-kofler) wrote :
Revision history for this message
Rafael Gattringer (rafael.gattringer) wrote :

I would like to confirm this annoying bug for the (same) mainboard K7T266 Pro/-R:

Manufacturer MSI
Model MS-6380
Version 1.0A
Chipset Vendor VIA Technologies Inc
Chipset Model VT8366/A,VT8367 Apollo KT266/A,KT333 CPU to PCI Bridge
South Bridge VT8233 PCI to ISA Bridge

The network settings used to work with Ubuntu 6.06 and 6.10.

Workaround: If you disable USB in the BIOS the network manager doesn't find the unknown USB device anymore and connects to the network card as it should be. BIOS > Integrated Periperals > USB Controller: Disabled

Revision history for this message
Rafael Gattringer (rafael.gattringer) wrote :

As expected my description above applies to Ubuntu 7.04 Final.

Revision history for this message
lpirotte (laurent-pirotte) wrote :

I have upgraded my system from Kubuntu Edgy to Feisty and I have the same problem. Network Manager choose to activate the usb1 host-to-host interface instead of the eth0 ethernet interface. To activate the network, I have to manually change the active network interface trough knetworkmanager. Only eth0 is in /etc/network/interface & I don't understand why network-manager choose the usb1 interface or how I can configure it to choose eth0 instead (I expect that interfaces not listed in /etc/network/interface must not be activated at boot-time) :

May 19 18:56:13 babaorum NetworkManager: <information>^IDeactivating device eth0.
May 19 18:56:14 babaorum NetworkManager: <information>^IWill activate wired connection 'eth0' because it now has a link.
May 19 18:56:14 babaorum NetworkManager: <information>^IWill activate wired connection 'usb1' because it now has a link.
May 19 18:56:14 babaorum NetworkManager: <information>^ISWITCH: no current connection, found better connection 'usb1'.
May 19 18:56:14 babaorum NetworkManager: <information>^IWill activate connection 'usb1'.
May 19 18:56:14 babaorum NetworkManager: <information>^IDevice usb1 activation scheduled...

I'm running network-manager 0.6.4-6ubuntu7 & the problem is still there.
You can find detailed info (syslog, /etc/network/interface/, nm-tool, netstat-r, lspci, lsusb) in the attached tar.gz archive

Revision history for this message
Pierre_Dubath (pierre-dubath) wrote :

I have exactly the same problem... anyone found a solution?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager (Ubuntu) because there has been no activity for 60 days.]

Revision history for this message
Alexander Sack (asac) wrote :

This might be fixed in gutsy now ... can you please test?

Changed in network-manager:
status: Invalid → Incomplete
Revision history for this message
Rafael Gattringer (rafael.gattringer) wrote :

Tested with: http://cdimage.ubuntu.com/daily-live/20070923/gutsy-desktop-i386.iso

Result: The ethernet card was chosen as the standard network interface (as expected). USB was active.

There were some problems when shutting down the live cd with the networkmanager and the new detection of the PCI USB card. However this seems to be some other problem and perhaps related to the PCI USB card, perhaps also because of the live cd and the beta status. I don't think the problem is related to this bug.

The bug seems to be corrected. Thanks for fixing it!

Revision history for this message
Rafael Gattringer (rafael.gattringer) wrote :
Revision history for this message
Alexander Sack (asac) wrote :

thanks for confirming the fix.

Changed in network-manager:
status: Incomplete → Fix Released
Revision history for this message
lpirotte (laurent-pirotte) wrote : Re: [Bug 97315] Re: [feisty] network-manager chooses wrong cable network

Hi,

I'have tested the Kubuntu 7.10 beta Desktop CD (without install) and it works
correctly : the Ethernet port is activated by default

Regard

Le Saturday 22 September 2007, Alexander Sack a écrit :
> This might be fixed in gutsy now ... can you please test?
>
> ** Changed in: network-manager (Ubuntu)
> Status: Invalid => Incomplete
>
> --
> [feisty] network-manager chooses wrong cable network
> https://bugs.launchpad.net/bugs/97315
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
_____________________________________________________________________
Laurent Pirotte
<email address hidden>
http://users.skynet.be/pirotte.lenders/laurent/
http://collectif.be (en construction)
_____________________________________________________________________
Essayez l'open source, testez Kubuntu !
http://www.kubuntu-fr.org/
http://www.passeralinux.fr/
_____________________________________________________________________

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.