Re: Wireless driver is being recognized as wired driver



On Tuesday 12 of October 2010 09:04:25 panduranga wrote:
> Hi all,
> 
> We are integrating Wireless LAN driver with Ubuntu GNOME on a customer
> proprietary board.
> 
> The issue we are facing is that our network interface (WLAN) is being
> recognized as wired interface by GNOME network-manager. We are using Ubuntu
> 10.10.
> 
> But iwconfig is recognising xxxwlan0 interface as wireless.
> iwlist scan is scanning the AP's.
> 
> If i stop network-manager and wpa_supplicant and load the drivers and then
> start them, then it is being listed as wireless interface.
> 
> Please find the log below:
> ===================
> 
> Oct  7 18:48:55 ubuntu-desktop modem-manager: (net/xxxwlan0): port's parent
> platform driver is not whitelisted
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]:    SCPlugin-Ifupdown:
> devices added (path: /sys/devices/platform/device_wifi.1/net/xxxwlan0,
> iface: xxxwlan0)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]:    SCPlugin-Ifupdown:
> device added (path: /sys/devices/platform/device_wifi.1/net/xxxwlan0,
> iface: xxxwlan0): no ifupdown configuration found.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <error>
> [1286457535.687011] [nm-device-ethernet.c:729]
> real_update_permanent_hw_address(): (xxxwlan0): unable to read permanent
> MAC address (error 95)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> driver 'device_wifi' does not support carrier detection.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0): new
> Ethernet device (driver: 'device_wifi' ifindex: 3)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> exported as /org/freedesktop/NetworkManager/Devices/1
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0): now
> managed
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> device state change: 1 -> 2 (reason 2)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> bringing up device.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> deactivating device (reason: 2).
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Added default
> wired connection 'Auto xxxwlan0' for
> /sys/devices/platform/device_wifi.1/net/xxxwlan0
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> device state change: 2 -> 3 (reason 0)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) starting connection 'Auto xxxwlan0'
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> device state change: 3 -> 4 (reason 0)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) Stage 1 of 5 (Device Prepare) scheduled...
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) Stage 1 of 5 (Device Prepare) started...
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) Stage 2 of 5 (Device Configure) scheduled...
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) Stage 1 of 5 (Device Prepare) complete.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) Stage 2 of 5 (Device Configure) starting...
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> device state change: 4 -> 5 (reason 0)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> bringing up device.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> device state change: 5 -> 9 (reason 4)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Marking
> connection 'Auto xxxwlan0' invalid.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <warn> Activation
> (xxxwlan0) failed.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> Activation
> (xxxwlan0) Stage 2 of 5 (Device Configure) complete.
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> device state change: 9 -> 3 (reason 0)
> Oct  7 18:48:55 ubuntu-desktop NetworkManager[1634]: <info> (xxxwlan0):
> deactivating device (reason: 0).
> 
> We want to know if we are missing some thing in the wlan driver.If anybody
> has worked on the GNOME-Network Manager earlier or has a clue about this,
> kindly share with us.
> 
> Please let us know if you need more details.
> 
> thanks,
> Pandu.

It's probably a bug of device_wifi driver. What's the driver anyway?

What's the output of 

tree /sys/class/net/xxxwlan0
and
cat /sys/class/net/xxxwlan0/type

Jirka


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