Re: USB WLAN device does not show up



On Tue, 2007-12-25 at 00:48 +0100, Philipp Hagemeister wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> [Resend because I forgot to confirm subscription]
> 
> Hi there,
> 
> when I attach my USB WLAN stick (Netgear WG111v2), I can see it with the
> commands iwconfig/ifconfig, but not in NetworkManager.

I believe this is an rtl8187 device.  What's the output of
'/sbin/iwconfig' ?  Does the device show up there?

Also make sure you've removed that interface
from /etc/network/interfaces because having it there makes it invisible
to NetworkManager on Ubuntu platforms.

Dan

> I am using NetworkManager 0.6.5 as bundled in Ubuntu.
> 
> I attached a few debugging information files:
> 
> * nm-tool: Output of nm-tool, just to illustrate wlan0 is missing.
> * NetworkManager: partial output of sudo NetworkManager --no-daemon when
> connecting and disconnecting the stick
> * hal-device-diff: A diff of hal-device with stick attached and off
> 
> The strange thing is, I could have sworn it worked perfectly before I
> rebooted the machine and reconnected the USB WLAN stick. Furthermore, in
> the manual settings configuration of knetworkmanager, the stick *does*
> show up (Does anyone know why?). I attached a log of its debugging
> information (knetworkmanager).
> 
> Any ideas? How can I completely reset every setting of NetworkManager?
> (I tried apt-get purge network-manager) Did I miss a more useful
> debugging tool?
> 
> Thanks in advance,
> 
> Philipp Hagemeister
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.7 (GNU/Linux)
> 
> iD8DBQFHcEVj9eq1gvr7CFwRCkG4AJ43Pk3WaANBj5RPgtdEGjJXLGYdngCgrYxJ
> +C/duvHDTn5TTV81SKrqnLw=
> =JdzT
> -----END PGP SIGNATURE-----
> plain text document attachment (nm-tool)
> NetworkManager Tool
> 
> State: connected
> 
> - Device: eth0 ----------------------------------------------------------------
>   NM Path:           /org/freedesktop/NetworkManager/Devices/eth0
>   Type:              Wired
>   Driver:            forcedeth
>   Active:            yes
>   HW Address:        00:1D:92:00:A5:C2
> 
>   Capabilities:
>     Supported:       yes
>     Carrier Detect:  yes
>     Speed:           100 Mb/s
> 
>   Wired Settings
>     Hardware Link:   yes
> 
>   IP Settings:
>     IP Address:      192.168.0.151
>     Subnet Mask:     255.255.255.0
>     Broadcast:       192.168.0.255
>     Gateway:         192.168.0.100
>     Primary DNS:     192.168.0.100
>     Secondary DNS:   0.0.0.0
> 
> 
> 
> plain text document attachment (NetworkManager)
> NetworkManager: <debug> [1198537840.267460] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000').
> NetworkManager: <debug> [1198537840.366612] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial').
> NetworkManager: <debug> [1198537840.740842] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c').
> NetworkManager: <debug> [1198537840.745545] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c_0').
> 
> (NetworkManager:8978): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `handler_id > 0' failed
> NetworkManager: <debug> [1198537840.776236] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000_usbraw').
> 
> 
> (Removing the adapter)
> 
> NetworkManager: <debug> [1198537858.894226] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c_0').
> NetworkManager: <debug> [1198537858.922817] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c').
> NetworkManager: <debug> [1198537858.945460] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial').
> NetworkManager: <debug> [1198537858.948899] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000').
> NetworkManager: <debug> [1198537858.953607] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000_usbraw').
> 
> plain text document attachment (hal-device-diff)
> --- hal-device-before   2007-12-25 00:11:52.624269962 +0100
> +++ hal-device-after    2007-12-25 00:12:04.618953841 +0100
> @@ -1,4 +1,119 @@
> -0: udi = '/org/freedesktop/Hal/devices/acpi_P001'
> +0: udi = '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000_usbraw'
> +  linux.device_file = '/dev/bus/usb/002/021'  (string)
> +  usbraw.device = '/dev/bus/usb/002/021'  (string)
> +  info.capabilities = { 'usbraw' } (string list)
> +  info.udi = '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000_usbraw'  (string)
> +  linux.subsystem = 'usb_device'  (string)
> +  info.product = 'USB Raw Device Access'  (string)
> +  linux.hotplug_type = 2  (0x2)  (int)
> +  linux.sysfs_path = '/sys/class/usb_device/usbdev2.21'  (string)
> +  info.category = 'usbraw'  (string)
> +  info.parent = '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000'  (string)
> +
> +1: udi = '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c_0'
> +  net.arp_proto_hw_id = 801  (0x321)  (int)
> +  net.physical_device = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  net.address = '00:09:5b:b9:96:8c'  (string)
> +  info.capabilities = { 'net', 'net.80211control' } (string list)
> +  info.udi = '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c_0'  (string)
> +  linux.subsystem = 'net'  (string)
> +  net.originating_device = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  net.linux.ifindex = 33  (0x21)  (int)
> +  info.product = 'Networking Wireless Control Interface'  (string)
> +  linux.hotplug_type = 2  (0x2)  (int)
> +  linux.sysfs_path = '/sys/class/net/wmaster0'  (string)
> +  info.category = 'net.80211control'  (string)
> +  info.parent = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  net.interface = 'wmaster0'  (string)
> +
> +2: udi = '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c'
> +  net.arp_proto_hw_id = 1  (0x1)  (int)
> +  net.physical_device = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  net.address = '00:09:5b:b9:96:8c'  (string)
> +  info.capabilities = { 'net', 'net.80211' } (string list)
> +  net.80211.mac_address = 40193595020  (0x95bb9968c)  (uint64)
> +  info.udi = '/org/freedesktop/Hal/devices/net_00_09_5b_b9_96_8c'  (string)
> +  linux.subsystem = 'net'  (string)
> +  net.originating_device = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  net.linux.ifindex = 34  (0x22)  (int)
> +  info.product = 'WLAN Interface'  (string)
> +  linux.hotplug_type = 2  (0x2)  (int)
> +  linux.sysfs_path = '/sys/class/net/wlan0'  (string)
> +  info.category = 'net.80211'  (string)
> +  info.parent = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  net.interface = 'wlan0'  (string)
> +
> +3: udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'
> +  usb.vendor = 'GlobespanVirata'  (string)
> +  usb.bus_number = 2  (0x2)  (int)
> +  usb.linux.device_number = 21  (0x15)  (int)
> +  info.bus = 'usb'  (string)
> +  usb.device_subclass = 0  (0x0)  (int)
> +  usb.is_self_powered = false  (bool)
> +  info.udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'  (string)
> +  usb.speed = 480  (double)
> +  linux.subsystem = 'usb'  (string)
> +  usb.device_class = 0  (0x0)  (int)
> +  usb.device_protocol = 0  (0x0)  (int)
> +  usb.version_bcd = 512  (0x200)  (int)
> +  info.subsystem = 'usb'  (string)
> +  usb.max_power = 500  (0x1f4)  (int)
> +  info.product = 'USB Interface'  (string)
> +  linux.hotplug_type = 2  (0x2)  (int)
> +  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-5/2-5:1.0'  (string)
> +  usb.device_revision_bcd = 4128  (0x1020)  (int)
> +  usb.product_id = 16960  (0x4240)  (int)
> +  usb.serial = '3887-0000'  (string)
> +  usb.version = 2  (double)
> +  usb.speed_bcd = 294912  (0x48000)  (int)
> +  usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-5/2-5:1.0'  (string)
> +  usb.configuration_value = 1  (0x1)  (int)
> +  usb.vendor_id = 2118  (0x846)  (int)
> +  usb.num_ports = 0  (0x0)  (int)
> +  info.parent = '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000'  (string)
> +  usb.product = 'USB Interface'  (string)
> +  usb.can_wake_up = false  (bool)
> +  usb.num_interfaces = 1  (0x1)  (int)
> +  usb.num_configurations = 1  (0x1)  (int)
> +  info.linux.driver = 'prism54usb'  (string)
> +
> +4: udi = '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000'
> +  linux.subsystem = 'usb'  (string)
> +  info.product = 'Cohiba 3887 rev0'  (string)
> +  usb_device.device_revision_bcd = 4128  (0x1020)  (int)
> +  usb_device.product = 'Cohiba 3887 rev0'  (string)
> +  usb_device.product_id = 16960  (0x4240)  (int)
> +  usb_device.speed = 480  (double)
> +  usb_device.vendor = 'GlobespanVirata'  (string)
> +  usb_device.can_wake_up = false  (bool)
> +  usb_device.configuration_value = 1  (0x1)  (int)
> +  usb_device.linux.device_number = 21  (0x15)  (int)
> +  info.linux.driver = 'usb'  (string)
> +  usb_device.serial = '3887-0000'  (string)
> +  usb_device.device_class = 0  (0x0)  (int)
> +  info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_02_1'  (string)
> +  usb_device.bus_number = 2  (0x2)  (int)
> +  usb_device.device_protocol = 0  (0x0)  (int)
> +  usb_device.is_self_powered = false  (bool)
> +  info.subsystem = 'usb_device'  (string)
> +  info.vendor = 'GlobespanVirata'  (string)
> +  usb_device.version = 2  (double)
> +  usb_device.num_interfaces = 1  (0x1)  (int)
> +  usb_device.vendor_id = 2118  (0x846)  (int)
> +  usb_device.speed_bcd = 294912  (0x48000)  (int)
> +  usb_device.version_bcd = 512  (0x200)  (int)
> +  info.udi = '/org/freedesktop/Hal/devices/usb_device_846_4240_3887_0000'  (string)
> +  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-5'  (string)
> +  usb_device.num_configurations = 1  (0x1)  (int)
> +  info.bus = 'usb_device'  (string)
> +  linux.device_file = '/dev/2-5'  (string)
> +  usb_device.num_ports = 0  (0x0)  (int)
> +  usb_device.max_power = 500  (0x1f4)  (int)
> +  linux.hotplug_type = 2  (0x2)  (int)
> +  usb_device.device_subclass = 0  (0x0)  (int)
> +  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-5'  (string)
> +
> 
> 
> plain text document attachment (knetworkmanager)
> kbuildsycoca running...
> 
> kdecore (KProcess): WARNING: _attachPty() 11
> 
> --get XML:
> <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
> <!DOCTYPE network []>
> 
> <network>
> 
>   <dialinstalled>1</dialinstalled>
>   <gateway>192.168.0.100</gateway>
>   <gatewaydev>eth0</gatewaydev>
>   <hostmatch>0</hostmatch>
>   <hostname>papa</hostname>
>   <smartdhcpcd>0</smartdhcpcd>
>   <smbinstalled>0</smbinstalled>
>   <smbuse>0</smbuse>
> 
>   <nameserver>192.168.0.100</nameserver>
> 
>   <statichost>
>     <ip>ff00::0</ip>
>     <alias>ip6-mcastprefix</alias>
>   </statichost>
>   <statichost>
>     <ip>127.0.0.1</ip>
>     <alias>localhost</alias>
>   </statichost>
>   <statichost>
>     <ip>fe00::0</ip>
>     <alias>ip6-localnet</alias>
>   </statichost>
>   <statichost>
>     <ip>ff02::2</ip>
>     <alias>ip6-allrouters</alias>
>   </statichost>
>   <statichost>
>     <ip>ff02::1</ip>
>     <alias>ip6-allnodes</alias>
>   </statichost>
>   <statichost>
>     <ip>::1</ip>
>     <alias>ip6-localhost</alias>
>     <alias>ip6-loopback</alias>
>   </statichost>
>   <statichost>
>     <ip>127.0.1.1</ip>
>     <alias>papa</alias>
>   </statichost>
>   <statichost>
>     <ip>
> ff02::3</ip>
>     <alias>ip6-allhosts</alias>
>   </statichost>
> 
>   <interface type='modem'>
> 
>     <dev>ppp0</dev>
>     <enabled>0</enabled>
>   </interface>
> 
>   <interface type='loopback'>
> 
>     <configuration>
>       <address>127.0.0.1</address>
>       <auto>1</auto>
>       <bootproto>none</bootproto>
>       <broadcast>127.255.255.255</broadcast>
>       <file>lo</file>
>       <netmask>255.0.0.0</netmask>
>       <network>127.0.0.0</network>
>     </configuration>
>     <dev>lo</dev>
>     <enabled>1</enabled>
>   </interface>
> 
>   <interface type='wireless'>
> 
>     <configuration>
>       <auto>1</auto>
>       <bootproto>dhcp</bootproto>
>       <file>wlan0</file>
>     </configuration>
>     <dev>wlan0</dev>
>     <enabled>1</enabled>
>     <hwaddr>00:09:5B:B9:96:8C</hwaddr>
>   </interface>
> 
>   <interface type='ethernet'>
> 
>     <dev>eth0</dev>
>     <enabled>1</enabled>
>     <hwaddr>00:1D:92:00:A5:C2</hwaddr>
>   </interface>
> 
>   <profiledb>
>   </profiledb>
> 
> </network>
> 
> <!-- GST: end of request -->
> 
> XML -d list_ifaces: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
> <!DOCTYPE network-ifaces []>
> 
> <network-ifaces>
> 
>   <interface>
>     <addr>127.0.0.1</addr>
>     <dev>lo</dev>
>     <enabled>1</enabled>
>     <mask>255.0.0.0</mask>
>     <type>loopback</type>
>   </interface>
> 
>   <interface>
>     <dev>wlan0</dev>
>     <enabled>1</enabled>
>     <hwaddr>00:09:5B:B9:96:8C</hwaddr>
>     <type>wireless</type>
>   </interface>
> 
>   <interface>
>     <addr>192.168.0.151</addr>
>     <bcast>192.168.0.255</bcast>
>     <dev>eth0</dev>
>     <enabled>1</enabled>
>     <hwaddr>00:1D:92:00:A5:C2</hwaddr>
>     <mask>255.255.255.0</mask>
>     <type>ethernet</type>
>   </interface>
> 
> </network-ifaces>
> 
> <!-- GST: end of request -->
> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]