Re:Why Networkmanager gets AP need several time?
- From: "tommy.hong" <hongjiujing 126 com>
- To: "tommy.hong" <hongjiujing 126 com>
- Cc: networkmanager-list <networkmanager-list gnome org>
- Subject: Re:Why Networkmanager gets AP need several time?
- Date: Mon, 2 Nov 2009 18:23:50 +0800 (CST)
root localhost:/# NetworkManager --no-daemon
NetworkManager: <info> starting...
NetworkManager: <info> starting...
ifup: interface lo already configured
NetworkManager: <info> (eth0): driver 'dm9000' does not support carrier detection.
You must switch to it manually.
NetworkManager: <info> (eth0): driver 'dm9000' does not support carrier detection.
You must switch to it manually.
NetworkManager: <info> (eth0): new Ethernet device (driver: 'dm9000')
NetworkManager: <info> (eth0): new Ethernet device (driver: 'dm9000')
NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_22_44_66_88_aa
NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_22_44_66_88_aa
NetworkManager: <info> (ra0): driver does not support SSID scans (scan_capa 0x00).
NetworkManager: <info> (ra0): driver does not support SSID scans (scan_capa 0x00).
NetworkManager: <info> (ra0): new 802.11 WiFi device (driver: 'usb')
NetworkManager: <info> (ra0): new 802.11 WiFi device (driver: 'usb')
NetworkManager: <info> (ra0): exported as /org/freedesktop/Hal/devices/net_usb_device_148f_3070_1_0
NetworkManager: <info> (ra0): exported as /org/freedesktop/Hal/devices/net_usb_device_148f_3070_1_0
udi: /org/freedesktop/Hal/devices/platform_s3c_uart_3_serial_unknown_3, origdev_udi: /org/freedesktop/Hal/devices/platform_s3c_uart_3
serial_device: /dev/s3c_serial3, driver: s3c-uart
ttyname: s3c_serial3
sysfs_path get udev proped: /sys/devices/platform/s3c-uart.3/tty/s3c_serial3
libudev: 1, gsm: 0, cdma: 0
hal get : gsm: 0, cdma: 0
NetworkManager: <info> (s3c_serial3): ignoring due to lack of mobile broadband capabilties
NetworkManager: <info> (s3c_serial3): ignoring due to lack of mobile broadband capabilties
udi: /org/freedesktop/Hal/devices/platform_s3c_uart_2_serial_unknown_2, origdev_udi: /org/freedesktop/Hal/devices/platform_s3c_uart_2
serial_device: /dev/s3c_serial2, driver: s3c-uart
ttyname: s3c_serial2
sysfs_path get udev proped: /sys/devices/platform/s3c-uart.2/tty/s3c_serial2
libudev: 1, gsm: 0, cdma: 0
hal get : gsm: 0, cdma: 0
NetworkManager: <info> (s3c_serial2): ignoring due to lack of mobile broadband capabilties
NetworkManager: <info> (s3c_serial2): ignoring due to lack of mobile broadband capabilties
udi: /org/freedesktop/Hal/devices/platform_s3c_uart_1_serial_unknown_1, origdev_udi: /org/freedesktop/Hal/devices/platform_s3c_uart_1
serial_device: /dev/s3c_serial1, driver: s3c-uart
ttyname: s3c_serial1
sysfs_path get udev proped: /sys/devices/platform/s3c-uart.1/tty/s3c_serial1
libudev: 1, gsm: 0, cdma: 0
hal get : gsm: 0, cdma: 0
NetworkManager: <info> (s3c_serial1): ignoring due to lack of mobile broadband capabilties
NetworkManager: <info> (s3c_serial1): ignoring due to lack of mobile broadband capabilties
udi: /org/freedesktop/Hal/devices/platform_s3c_uart_0_serial_unknown_0, origdev_udi: /org/freedesktop/Hal/devices/platform_s3c_uart_0
serial_device: /dev/s3c_serial0, driver: s3c-uart
ttyname: s3c_serial0
sysfs_path get udev proped: /sys/devices/platform/s3c-uart.0/tty/s3c_serial0
libudev: 1, gsm: 0, cdma: 0
hal get : gsm: 0, cdma: 0
NetworkManager: <info> (s3c_serial0): ignoring due to lack of mobile broadband capabilties
NetworkManager: <info> (s3c_serial0): ignoring due to lack of mobile broadband capabilties
NetworkManager: <info> Trying to start the system settings daemon...
NetworkManager: <info> Trying to start the system settings daemon...
** Message: NM appeared
NetworkManager: <info> (eth0): device state change: 1 -> 2
NetworkManager: <info> (eth0): device state change: 1 -> 2
NetworkManager: <info> (eth0): preparing device.
NetworkManager: <info> (eth0): preparing device.
NetworkManager: <info> (eth0): deactivating device (reason: 2).
NetworkManager: <info> (eth0): deactivating device (reason: 2).
NetworkManager: <info> (eth0): device state change: 2 -> 3
NetworkManager: <info> (eth0): device state change: 2 -> 3
NetworkManager: <info> (ra0): device state change: 1 -> 2
NetworkManager: <info> (ra0): device state change: 1 -> 2
NetworkManager: <info> (ra0): bringing up device.
NetworkManager: <info> (ra0): bringing up device.
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
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
<==== rt28xx_init, Status=0
0x1300 = 00064300
NetworkManager: <info> (ra0): preparing device.
NetworkManager: <info> (ra0): preparing device.
NetworkManager: <info> (ra0): deactivating device (reason: 2).
NetworkManager: <info> (ra0): deactivating device (reason: 2).
NetworkManager: <info> (ra0): device state change: 2 -> 3
NetworkManager: <info> (ra0): device state change: 2 -> 3
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - NetworkManager: <info> (ra0): supplicant interface state: starting -> ready
NetworkManager: <info> (ra0): supplicant interface state: starting -> ready
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
power off backlight
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 666
NetworkManager: <info> Activation (ra0) starting connection 'Auto midfun'
NetworkManager: <info> Activation (ra0) starting connection 'Auto midfun'
NetworkManager: <info> (ra0): device state change: 3 -> 4
NetworkManager: <info> (ra0): device state change: 3 -> 4
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> (ra0): device state change: 4 -> 5
NetworkManager: <info> (ra0): device state change: 4 -> 5
NetworkManager: <info> Activation (ra0/wireless): access point 'Auto midfun' has security, but secrets are required.
NetworkManager: <info> Activation (ra0/wireless): access point 'Auto midfun' has security, but secrets are required.
NetworkManager: <info> (ra0): device state change: 5 -> 6
NetworkManager: <info> (ra0): device state change: 5 -> 6
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) complete.
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) complete.
** (nm-applet:1964): WARNING **: <WARN> nm_gconf_get_keyring_items(): key: /system/networking/private-data/229b9125-d1af-40dd-aa4d-8974724d16b0/802-11-wireless-security/psk
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> (ra0): device state change: 6 -> 4
NetworkManager: <info> (ra0): device state change: 6 -> 4
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ra0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> (ra0): device state change: 4 -> 5
NetworkManager: <info> (ra0): device state change: 4 -> 5
NetworkManager: <info> Activation (ra0/wireless): connection 'Auto midfun' has security, and secrets exist. No new secrets needed.
NetworkManager: <info> Activation (ra0/wireless): connection 'Auto midfun' has security, and secrets exist. No new secrets needed.
NetworkManager: <info> Config: added 'ssid' value 'midfun'
NetworkManager: <info> Config: added 'ssid' value 'midfun'
NetworkManager: <info> Config: added 'scan_ssid' value '1'
NetworkManager: <info> Config: added 'scan_ssid' value '1'
NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager: <info> Config: added 'psk' value '<omitted>'
NetworkManager: <info> Config: added 'psk' value '<omitted>'
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) complete.
NetworkManager: <info> Activation (ra0) Stage 2 of 5 (Device Configure) complete.
NetworkManager: <info> Config: set interface ap_scan to 1
NetworkManager: <info> Config: set interface ap_scan to 1
NetworkManager: <info> (ra0): supplicant connection state: scanning -> disconnected
NetworkManager: <info> (ra0): supplicant connection state: scanning -> disconnected
NetworkManager: <info> (ra0): supplicant connection state: disconnected -> scanning
NetworkManager: <info> (ra0): supplicant connection state: disconnected -> scanning
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
===>rt_ioctl_giwscan. 4(4) BSS returned, data->length = 490
==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=1)
Trying to associate with 00:1c:b0:91:6e:8c (SSID='midfun' freq=2437 MHz)
NetworkManager: <info> (ra0): supplicant connection state: scanning -> associating
NetworkManager: <info> (ra0): supplicant connection state: scanning -> associating
Associated with 00:1c:b0:91:6e:8c
NetworkManager: <info> (ra0): supplicant connection state: associating -> associated
NetworkManager: <info> (ra0): supplicant connection state: associating -> associated
NetworkManager: <info> (ra0): supplicant connection state: associated -> 4-way handshake
NetworkManager: <info> (ra0): supplicant connection state: associated -> 4-way handshake
NetworkManager: <info> (ra0): supplicant connection state: 4-way handshake -> group handshake
NetworkManager: <info> (ra0): supplicant connection state: 4-way handshake -> group handshake
WPA: Key negotiation completed with 00:1c:b0:91:6e:8c [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:1c:b0:91:6e:8c completed (auth) [id=0 id_str=]
NetworkManager: <info> (ra0): supplicant connection state: group handshake -> completed
NetworkManager: <info> (ra0): supplicant connection state: group handshake -> completed
NetworkManager: <info> Activation (ra0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'midfun'.
NetworkManager: <info> Activation (ra0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'midfun'.
NetworkManager: <info> Activation (ra0) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager: <info> Activation (ra0) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager: <info> Activation (ra0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager: <info> Activation (ra0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager: <info> (ra0): device state change: 5 -> 7
NetworkManager: <info> (ra0): device state change: 5 -> 7
NetworkManager: <info> Activation (ra0) Beginning DHCP transaction.
NetworkManager: <info> Activation (ra0) Beginning DHCP transaction.
NetworkManager: <info> dhclient started with pid 2044
NetworkManager: <info> dhclient started with pid 2044
NetworkManager: <info> Activation (ra0) Stage 3 of 5 (IP Configure Start) complete.
NetworkManager: <info> Activation (ra0) Stage 3 of 5 (IP Configure Start) complete.
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
can't create /var/lib/dhcp3/dhclient-ra0.lease: No such file or directory
NetworkManager: <info> DHCP: device ra0 state changed (null) -> preinit
NetworkManager: <info> DHCP: device ra0 state changed (null) -> preinit
Listening on LPF/ra0/00:03:19:94:00:4c
Sending on LPF/ra0/00:03:19:94:00:4c
Sending on Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.2
DHCPREQUEST on ra0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.2
NetworkManager: <info> DHCP: device ra0 state changed preinit -> bound
NetworkManager: <info> DHCP: device ra0 state changed preinit -> bound
NetworkManager: <info> Activation (ra0) Stage 4 of 5 (IP Configure Get) scheduled...
NetworkManager: <info> Activation (ra0) Stage 4 of 5 (IP Configure Get) scheduled...
NetworkManager: <info> Activation (ra0) Stage 4 of 5 (IP Configure Get) started...
NetworkManager: <info> Activation (ra0) Stage 4 of 5 (IP Configure Get) started...
NetworkManager: <info> address 192.168.1.114
NetworkManager: <info> address 192.168.1.114
NetworkManager: <info> prefix 24 (255.255.255.0)
NetworkManager: <info> prefix 24 (255.255.255.0)
NetworkManager: <info> gateway 192.168.1.2
NetworkManager: <info> gateway 192.168.1.2
NetworkManager: <info> nameserver '192.168.1.2'
NetworkManager: <info> nameserver '192.168.1.2'
NetworkManager: <info> Activation (ra0) Stage 5 of 5 (IP Configure Commit) scheduled...
NetworkManager: <info> Activation (ra0) Stage 5 of 5 (IP Configure Commit) scheduled...
NetworkManager: <info> Activation (ra0) Stage 4 of 5 (IP Configure Get) complete.
NetworkManager: <info> Activation (ra0) Stage 4 of 5 (IP Configure Get) complete.
can't create /var/lib/dhcp3/dhclient-ra0.lease: No such file or directory
bound to 192.168.1.114 -- renewal in 40639 seconds.
NetworkManager: <info> Activation (ra0) Stage 5 of 5 (IP Configure Commit) started...
NetworkManager: <info> Activation (ra0) Stage 5 of 5 (IP Configure Commit) started...
NetworkManager: <info> (ra0): device state change: 7 -> 8
NetworkManager: <info> (ra0): device state change: 7 -> 8
NetworkManager: <info> Policy set 'Auto midfun' (ra0) as default for routing and DNS.
NetworkManager: <info> Policy set 'Auto midfun' (ra0) as default for routing and DNS.
NetworkManager: <info> Activation (ra0) successful, device activated.
NetworkManager: <info> Activation (ra0) successful, device activated.
NetworkManager: <info> Activation (ra0) Stage 5 of 5 (IP Configure Commit) complete.
NetworkManager: <info> Activation (ra0) Stage 5 of 5 (IP Configure Commit) complete.
NetworkManager: <info> Trying to start the system settings daemon...
NetworkManager: <info> Trying to start the system settings daemon...
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 666
在2009-11-02 17:33:31,"tommy.hong" <hongjiujing 126 com> 写道:
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.
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!
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主流网游《天下贰》,网易六年亿资打造
09年新晋3D主流网游《天下贰》,网易六年亿资打造
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]