[Pkg-utopia-maintainers] Bug#444043: Bug#444043: network-manager: Unconnected USB ethernet device is made to take priority over connected wireless!
Reuben Thomas
rrt at sc3d.org
Wed Sep 26 23:49:37 UTC 2007
On Tue, 25 Sep 2007, Michael Biebl wrote:
> network-manager only switches to the ethernet connection, when the
> driver says it has a link. Can you please post the output of nm-tool
> when the usb eth. card is attached.
It seems to me from the below that the something is incorrectly reporting a
link, so it's a driver problem. Would that be your diagnosis?
$ sudo nm-tool
NetworkManager Tool
State: connecting
- Device: eth2
----------------------------------------------------------------
NM Path: /org/freedesktop/NetworkManager/Devices/eth2
Type: Wired
Driver: e100
Active: no
HW Address: 00:80:88:03:95:93
Capabilities:
Supported: yes
Carrier Detect: yes
Speed: 10 Mb/s
Wired Settings
Hardware Link: no
- Device: usb0
----------------------------------------------------------------
NM Path: /org/freedesktop/NetworkManager/Devices/usb0
Type: Wired
Driver: plusb
Active: yes
HW Address: 32:CA:00:01:25:6A
Capabilities:
Supported: yes
Carrier Detect: yes
Wired Settings
Hardware Link: yes
IP Settings:
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Broadcast: 0.0.0.0
Gateway: 0.0.0.0
Primary DNS: 0.0.0.0
Secondary DNS: 0.0.0.0
> A log of NetworkManager would help, too. You can do that by running
> NetworkManager with NetworkManager --no-daemon
$ sudo NetworkManager --no-daemon
NetworkManager: <info> starting...
(NetworkManager:20392): GLib-GObject-CRITICAL **:
g_signal_handler_disconnect: assertion `handler_id > 0' failed
NetworkManager: <info> eth2: Device is fully-supported using driver 'e100'.
NetworkManager: <info> nm_device_init(): waiting for device's worker thread
to start
NetworkManager: <info> nm_device_init(): device's worker thread started,
continuing.
NetworkManager: <info> Now managing wired Ethernet (802.3) device 'eth2'.
NetworkManager: <info> Deactivating device eth2.
NetworkManager: <info> Found dial up configuration for tiscali via Modem:
tiscali
NetworkManager: <info> Found dial up configuration for tiscali-gramps via
Modem: tiscali-gramps
NetworkManager: <debug> [1190812224.676758] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_409_58_noserial').
NetworkManager: <debug> [1190812224.834608] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_409_58_noserial_if0').
NetworkManager: <debug> [1190812224.874371] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_409_58_noserial_usbraw').
NetworkManager: <debug> [1190812225.119151] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_4f1_3008_01').
NetworkManager: <debug> [1190812225.279883] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial').
NetworkManager: <debug> [1190812225.311731] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/net_00_80_88_13_10_9a').
NetworkManager: <debug> [1190812225.355819] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_4f1_3008_01_usbraw').
NetworkManager: <debug> [1190812225.493043] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_5e3_604_noserial').
NetworkManager: <debug> [1190812225.644773] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_5e3_604_noserial_if0').
NetworkManager: <debug> [1190812225.688086] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_5e3_604_noserial_usbraw').
NetworkManager: <debug> [1190812225.932996] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1267_103_noserial').
NetworkManager: <debug> [1190812226.094334] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1267_103_noserial_if0').
NetworkManager: <debug> [1190812226.241851] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1267_103_noserial_if1').
NetworkManager: <debug> [1190812226.301332] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1267_103_noserial_usbraw').
NetworkManager: <debug> [1190812226.316398] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_2821_5001_1000E00000001EAB').
NetworkManager: <debug> [1190812226.457473] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1267_103_noserial_if0_logicaldev_input').
NetworkManager: <debug> [1190812226.486850] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1267_103_noserial_if1_logicaldev_input').
NetworkManager: <debug> [1190812226.596305] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_2821_5001_1000E00000001EAB_if0').
NetworkManager: <debug> [1190812226.643715] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_2821_5001_1000E00000001EAB_usbraw').
NetworkManager: <debug> [1190812226.658044] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_0_noserial').
NetworkManager: <debug> [1190812226.772353] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_0_noserial_if0').
NetworkManager: <debug> [1190812226.809734] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/net_32_ca_00_01_25_6a').
NetworkManager: <info> usb0: Device is fully-supported using driver
'plusb'.
NetworkManager: <info> nm_device_init(): waiting for device's worker thread
to start
NetworkManager: <info> nm_device_init(): device's worker thread started,
continuing.
NetworkManager: <info> Now managing wired Ethernet (802.3) device 'usb0'.
NetworkManager: <info> Deactivating device usb0.
NetworkManager: <debug> [1190812226.878164] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_0_noserial_usbraw').
NetworkManager: <info> Will activate wired connection 'usb0' because it now
has a link.
NetworkManager: <info> SWITCH: no current connection, found better
connection 'usb0'.
NetworkManager: <info> Will activate connection 'usb0'.
NetworkManager: <info> Device usb0 activation scheduled...
NetworkManager: <debug> [1190812227.171205] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_2303_noserial').
NetworkManager: <debug> [1190812227.185592] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_2303_noserial_if0').
NetworkManager: <debug> [1190812227.187304] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_2303_noserial_if0_serial_usb_0').
NetworkManager: <debug> [1190812227.188738] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_2303_noserial_usbraw').
NetworkManager: <info> Activation (usb0) started...
NetworkManager: <info> Activation (usb0) Stage 1 of 5 (Device Prepare)
scheduled...
NetworkManager: <info> Activation (usb0) Stage 1 of 5 (Device Prepare)
started...
NetworkManager: <info> Activation (usb0) Stage 2 of 5 (Device Configure)
scheduled...
NetworkManager: <info> Activation (usb0) Stage 1 of 5 (Device Prepare)
complete.
NetworkManager: <info> Activation (usb0) Stage 2 of 5 (Device Configure)
starting...
NetworkManager: <info> Activation (usb0) Stage 2 of 5 (Device Configure)
successful.
NetworkManager: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start)
scheduled.
NetworkManager: <info> Activation (usb0) Stage 2 of 5 (Device Configure)
complete.
NetworkManager: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start)
started...
NetworkManager: <debug> [1190812227.256214] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1631_1c3_noserial').
NetworkManager: <debug> [1190812227.468197] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1631_1c3_noserial_if1').
NetworkManager: <debug> [1190812227.503498] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1631_1c3_noserial_if0').
NetworkManager: <debug> [1190812227.595292] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_2305_noserial').
NetworkManager: <debug> [1190812227.738563] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1631_1c3_noserial_usbraw').
NetworkManager: <debug> [1190812227.769544] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1631_1c3_noserial_if0_logicaldev_input').
NetworkManager: <debug> [1190812227.918368] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_0').
NetworkManager: <debug> [1190812227.928764] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_1631_1c3_noserial_if1_logicaldev_input').
NetworkManager: <debug> [1190812227.955598] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_0_printer_noserial').
NetworkManager: <debug> [1190812227.998080] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_67b_2305_noserial_usbraw').
NetworkManager: <info> Activation (usb0) Beginning DHCP transaction.
NetworkManager: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start)
complete.
NetworkManager: <info> DHCP daemon state is now 12 (successfully started)
for interface usb0
NetworkManager: <debug> [1190812231.412765] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_2821_5001_1000E00000001EAB_if0_scsi_host').
NetworkManager: <debug> [1190812231.427730] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_2821_5001_1000E00000001EAB_if0_scsi_host_scsi_device_lun0').
NetworkManager: <debug> [1190812231.447936] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_2821_5001_1000E00000001EAB_if0_scsi_host_scsi_device_lun0_scsi_generic').
NetworkManager: <debug> [1190812231.726561] nm_hal_device_added(): New
device added (hal udi is
'/org/freedesktop/Hal/devices/storage_serial_ASUSTek_Design_SCB_2408_1000E00000001EAB_0_0').
NetworkManager: <info> DHCP daemon state is now 1 (starting) for interface
usb0
NetworkManager: <info> Device 'usb0' DHCP transaction took too long (>45s),
stopping it.
NetworkManager: <info> Activation (usb0) Stage 4 of 5 (IP Configure
Timeout) scheduled...
NetworkManager: <info> DHCP daemon state is now 14 (normal exit) for
interface usb0
NetworkManager: <info> DHCP daemon state is now 14 (normal exit) for
interface usb0
NetworkManager: <info> Activation (usb0) Stage 4 of 5 (IP Configure
Timeout) started...
NetworkManager: <info> No DHCP reply received. Automatically obtaining IP
via Zeroconf.
NetworkManager: <info> autoip: Sending probe #0 for IP address
169.254.3.90.
NetworkManager: <info> autoip: Waiting for reply...
NetworkManager: <info> autoip: Sending probe #1 for IP address
169.254.3.90.
NetworkManager: <info> autoip: Waiting for reply...
NetworkManager: <info> autoip: Sending probe #2 for IP address
169.254.3.90.
NetworkManager: <info> autoip: Waiting for reply...
NetworkManager: <info> autoip: Sending announce #0 for IP address
169.254.3.90.
NetworkManager: <info> autoip: Waiting for reply...
NetworkManager: <info> autoip: Sending announce #1 for IP address
169.254.3.90.
NetworkManager: <info> autoip: Waiting for reply...
NetworkManager: <info> autoip: Sending announce #2 for IP address
169.254.3.90.
NetworkManager: <info> autoip: Waiting for reply...
NetworkManager: <info> Activation (usb0) Stage 5 of 5 (IP Configure Commit)
scheduled...
NetworkManager: <info> Activation (usb0) Stage 4 of 5 (IP Configure
Timeout) complete.
NetworkManager: <info> Activation (usb0) Stage 5 of 5 (IP Configure Commit)
started...
NetworkManager: <info> DHCP returned name servers but system has disabled
dynamic modification!
NetworkManager: <info> Activation (usb0) successful, device activated.
NetworkManager: <info> Activation (usb0) Finish handler scheduled.
NetworkManager: <info> Activation (usb0) Stage 5 of 5 (IP Configure Commit)
complete.
More information about the Pkg-utopia-maintainers
mailing list