Re: Why Networkmanager gets AP need several time?



On Mon, 2009-11-02 at 17:33 +0800, tommy.hong wrote:
> 
> Platform :arm11
> Networkmanager version :networkmanager 0.7.1
> 
> Linux kerne:2.6.24.2
> 
> USB wifi :rtl3070
> 
> Why Networkmanager gets AP need several time?
> 
> 
> 
> root localhost:/# /etc/init.d/NetworkManager restart
> Stopping NetworkManager daemon: NetworkManagersh: you need to specify
> whom to kill
> .
> CTRL-EVENT-TERMINATING - signal 15 received
> ioctl[SIOCSIWAUTH]: Operation not supported
> WEXT auth param 4 value 0x0 - 
> Starting NetworkManager daemon:
> NetworkManagerdbus_bus_request_name[dbus]: Resource temporarily
> unavailable
> Could not request DBus service name: already registered.

This message means that the service is already running; that's either NM
or wpa_supplicant.

> Failed to initialize wpa_supplicant
> .
> root localhost:/# Terminate the task(RtmpMlmeTask) with pid(2131)!
> Terminate the task(RtmpCmdQTask) with pid(2132)!
> Terminate the task(RtmpTimerTask) with pid(2130)!
> ---> RTMPFreeTxRxRingMemory
> <--- RTMPFreeTxRxRingMemory
> ** Message: NM appeared
> \
> > 
> root localhost:/# <-- RTMPAllocTxRxRingMemory, Status=0
> -->RTUSBVenderReset
> <--RTUSBVenderReset
> 
> root localhost:/# 
> root localhost:/# 
> root localhost:/# 
> root localhost:/# Key1Str is Invalid key length(0) or Type(0)
> Key2Str is Invalid key length(0) or Type(0)
> Key3Str is Invalid key length(0) or Type(0)
> Key4Str is Invalid key length(0) or Type(0)
> 1. Phy Mode = 9
> 2. Phy Mode = 9
> 3. Phy Mode = 9
> RTMPSetPhyMode: channel is out of range, use first channel=1 
> MCS Set = ff 00 00 00 01
> 
> RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop
> calibrating<==== rt28xx_init, Status=0
> 0x1300 = 00064300
> 
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> 
> 
> need several minutes to get AP!

This is a driver problem; the driver is not allowing scans at this time,
and thus NM doesn't find the AP.  The driver needs to be fixed.  Given
that you're running the ralink vendor driver, I'm not surprised.  NM
works well with drivers that are included in the Linux kernel, and when
you use a driver that's not, you run into problems like this.
Kernel-included drivers have passed certain quality bars that vendor
drivers like the ralink ones have not.

Dan

> but :
> 
> root localhost:/new3gdriver/image/sbin# ./iwlist ra0 scanning
> ===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 766
> ra0       Scan completed :
>           Cell 01 - Address: 00:14:78:CB:E7:06
>                     Protocol:802.11b/g
>                     ESSID:"XIZIIUK-NJ"
>                     Mode:Managed
>                     Channel:6
>                     Quality:13/100  Signal level:-85 dBm  Noise
> level:-115 dBm
>                     Encryption key:on
>                     Bit Rates:36 Mb/s
>                     IE: WPA Version 1
>                         Group Cipher : TKIP
>                         Pairwise Ciphers (2) : TKIP CCMP
>                         Authentication Suites (1) : PSK
>                     IE: IEEE 802.11i/WPA2 Version 1
>                         Group Cipher : TKIP
>                         Pairwise Ciphers (2) : TKIP CCMP
>                         Authentication Suites (1) : PSK
>                        Preauthentication Supported
>           Cell 02 - Address: 00:23:CD:48:D6:6A
>                     Protocol:802.11b/g
>                     ESSID:"TP-LINK_48D66A"
>                     Mode:Managed
>                     Channel:6
>                     Quality:7/100  Signal level:-87 dBm  Noise
> level:-115 dBm
>                     Encryption key:on
>                     Bit Rates:36 Mb/s
>           Cell 03 - Address: 00:1C:B0:91:6E:8C
>                     Protocol:802.11g
>                     ESSID:"xxxx"
>                     Mode:Managed
>                     Channel:6
>                     Quality:63/100  Signal level:-65 dBm  Noise
> level:-115 dBm
>                     Encryption key:on
>                     Bit Rates:11 Mb/s
>                     IE: WPA Version 1
>                         Group Cipher : TKIP
>                         Pairwise Ciphers (2) : TKIP CCMP
>                         Authentication Suites (1) : PSK
>                     IE: IEEE 802.11i/WPA2 Version 1
>                         Group Cipher : TKIP
>                         Pairwise Ciphers (2) : TKIP CCMP
>                         Authentication Suites (1) : PSK
>           Cell 04 - Address: 00:23:CD:E7:F3:9E
>                     Protocol:802.11b/g
>                     ESSID:"TP-123"
>                     Mode:Managed
>                     Channel:6
>                     Quality:0/100  Signal level:-91 dBm  Noise
> level:-115 dBm
>                     Encryption key:on
>                     Bit Rates:36 Mb/s
>           Cell 05 - Address: 02:80:D1:C8:32:12
>                     Protocol:802.11b
>                     ESSID:"axel"
>                     Mode:Ad-Hoc
>                     Channel:11
>                     Quality:7/100  Signal level:-87 dBm  Noise
> level:-115 dBm
>                     Encryption key:off
>                     Bit Rates:11 Mb/s
>           Cell 06 - Address: 02:1B:77:00:00:C8
>                     Protocol:802.11b/g
>                     ESSID:"LocalGroup"
>                     Mode:Ad-Hoc
>                     Channel:11
>                     Quality:13/100  Signal level:-85 dBm  Noise
> level:-115 dBm
>                     Encryption key:off
>                     Bit Rates:11 Mb/s
> 
> can get AP quickly ?
> 
> 
> I guess it is a driver or H/W issue ?
> 
> Tommy
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
> 09年新晋3D主流网游《天下贰》,网易六年亿资打造
> _______________________________________________
> 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]