NetworkManager FC5 -- No WEP key
- From: Nathaniel McCallum <npmccallum gentoo org>
- To: NetworkManager-list <networkmanager-list gnome org>
- Subject: NetworkManager FC5 -- No WEP key
- Date: Sat, 25 Mar 2006 17:16:08 -0500
I'm running NM on FC5 with ndiswrapper and when I try to connect to an
AP it won't connect. Doing it manually via iwconfig/dhclient works
fine. Steps to reproduce:
* Select an encrypted AP (I haven't tried unencrypted)
* Get prompted for a WEP Key
* Attempts to connect, but fails
Upon further investigation:
* While monitoring with iwconfig, the essid/etc is set, but not the key
* Setting the key with iwconfig during connection makes connection work
* ... though the key gets unset after a period of time
* setting the key in a loop with a pause allows me to keep connection
* The key *is* saved in the keyring.
It worked under FC4 and Ubuntu, but seems to have broken with NM 0.6.
The log of a failed session is attached.
Nathaniel
NetworkManager: <information> starting...
NetworkManager: <information> wlan0: Device is fully-supported using driver 'ndiswrapper'.
NetworkManager: <information> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <information> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <information> Now managing wireless (802.11) device 'wlan0'.
NetworkManager: <information> Deactivating device wlan0.
NetworkManager: <information> eth0: Device is fully-supported using driver 'tg3'.
NetworkManager: <information> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <information> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <information> Now managing wired Ethernet (802.3) device 'eth0'.
NetworkManager: <information> Deactivating device eth0.
NetworkManager: <information> Updating allowed wireless network lists.
NetworkManager: <WARNING> nm_dbus_get_networks_cb (): nm-dbus-nmi.c:527 (nm_dbus_get_networks_cb): error received: org.freedesktop.NetworkManagerInfo.NoNetworks - There are no wireless networks stored..
NetworkManager: <debug info> [1143320539.372729] nm_device_802_11_wireless_get_activation_ap (): Forcing AP 'Welles'
NetworkManager: <information> User Switch: /org/freedesktop/NetworkManager/Devices/wlan0 / Welles
NetworkManager: <information> Deactivating device wlan0.
NetworkManager: <information> Device wlan0 activation scheduled...
NetworkManager: <information> Activation (wlan0) started...
NetworkManager: <information> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <information> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <information> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <information> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <information> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <information> Activation (wlan0/wireless): access point 'Welles' is encrypted, but NO valid key exists. New key needed.
NetworkManager: <information> Activation (wlan0) New wireless user key requested for network 'Welles'.
NetworkManager: <information> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
NetworkManager: <information> Activation (wlan0) New wireless user key for network 'Welles' received.
NetworkManager: <information> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <information> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <information> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <information> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <information> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <information> Activation (wlan0/wireless): access point 'Welles' is encrypted, and a key exists. No new key needed.
NetworkManager: <information> SUP: sending command 'INTERFACE_ADD wlan0 wext /var/run/wpa_supplicant '
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> SUP: sending command 'AP_SCAN 1'
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> SUP: sending command 'ADD_NETWORK'
NetworkManager: <information> SUP: response was '0'
NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 ssid 57656c6c6573'
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 key_mgmt NONE'
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 wep_key0 <key>'
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 wep_tx_keyidx 0'
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> SUP: sending command 'ENABLE_NETWORK 0'
NetworkManager: <information> SUP: response was 'OK'
NetworkManager: <information> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
NetworkManager: <information> wpa_supplicant(5159): Global control interface '/var/run/wpa_supplicant-global'
NetworkManager: <information> wpa_supplicant(5159): RX global ctrl_iface - hexdump_ascii(len=50):
NetworkManager: <information> wpa_supplicant(5159): 49 4e 54 45 52 46 41 43 45 5f 41 44 44 20 77 6c INTERFACE_ADD wl
NetworkManager: <information> wpa_supplicant(5159): 61 6e 30 09 09 77 65 78 74 09 2f 76 61 72 2f 72 an0__wext_/var/r
NetworkManager: <information> wpa_supplicant(5159): 75 6e 2f 77 70 61 5f 73 75 70 70 6c 69 63 61 6e un/wpa_supplican
NetworkManager: <information> wpa_supplicant(5159): 74 09 t_
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE GLOBAL INTERFACE_ADD 'wlan0 wext /var/run/wpa_supplicant '
NetworkManager: <information> wpa_supplicant(5159): Initializing interface 'wlan0' conf 'N/A' driver 'wext' ctrl_interface '/var/run/wpa_supplicant'
NetworkManager: <information> wpa_supplicant(5159): Initializing interface (2) 'wlan0'
NetworkManager: <information> wpa_supplicant(5159): EAPOL: SUPP_PAE entering state DISCONNECTED
NetworkManager: <information> wpa_supplicant(5159): EAPOL: KEY_RX entering state NO_KEY_RECEIVE
NetworkManager: <information> wpa_supplicant(5159): EAPOL: SUPP_BE entering state INITIALIZE
NetworkManager: <information> wpa_supplicant(5159): EAP: EAP entering state DISABLED
NetworkManager: <information> wpa_supplicant(5159): EAPOL: External notification - portEnabled=0
NetworkManager: <information> wpa_supplicant(5159): EAPOL: External notification - portValid=0
NetworkManager: <information> wpa_supplicant(5159): SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xf
NetworkManager: <information> wpa_supplicant(5159): capabilities: key_mgmt 0xf enc 0xf
NetworkManager: <information> wpa_supplicant(5159): Own MAC address: 00:14:a5:36:7c:21
NetworkManager: <information> wpa_supplicant(5159): wpa_driver_wext_set_wpa
NetworkManager: <information> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to access point 'Welles'.
NetworkManager: <information> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager: <information> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager: <information> Activation (wlan0) Beginning DHCP transaction.
NetworkManager: <information> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
NetworkManager: <information> wpa_supplicant(5159): alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
NetworkManager: <information> wpa_supplicant(5159): wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
NetworkManager: <information> wpa_supplicant(5159): wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
NetworkManager: <information> wpa_supplicant(5159): wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
NetworkManager: <information> wpa_supplicant(5159): wpa_driver_wext_set_countermeasures
NetworkManager: <information> wpa_supplicant(5159): wpa_driver_wext_set_drop_unencrypted
NetworkManager: <information> wpa_supplicant(5159): Setting scan request: 0 sec 100000 usec
NetworkManager: <information> wpa_supplicant(5159): Added interface wlan0
NetworkManager: <information> wpa_supplicant(5159): Wireless event: cmd=0x8b06 len=8
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=9):
NetworkManager: <information> wpa_supplicant(5159): 41 50 5f 53 43 41 4e 20 31 AP_SCAN 1
NetworkManager: <information> DHCP daemon state now 12 for interface wlan0
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=11):
NetworkManager: <information> wpa_supplicant(5159): 41 44 44 5f 4e 45 54 57 4f 52 4b ADD_NETWORK
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE: ADD_NETWORK
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=31):
NetworkManager: <information> wpa_supplicant(5159): 53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 73 73 SET_NETWORK 0 ss
NetworkManager: <information> wpa_supplicant(5159): 69 64 20 35 37 36 35 36 63 36 63 36 35 37 33 id 57656c6c6573
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE: SET_NETWORK id=0 name='ssid' value='57656c6c6573'
NetworkManager: <information> wpa_supplicant(5159): ssid - hexdump_ascii(len=6):
NetworkManager: <information> wpa_supplicant(5159): 57 65 6c 6c 65 73 Welles
NetworkManager: <information> wpa_supplicant(5159): face - hexdump_ascii(len=27):
NetworkManager: <information> wpa_supplicant(5159): 53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 6b 65 SET_NETWORK 0 ke
NetworkManager: <information> wpa_supplicant(5159): 79 5f 6d 67 6d 74 20 4e 4f 4e 45 y_mgmt NONE
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE: SET_NETWORK id=0 name='key_mgmt' value='NONE'
NetworkManager: <information> wpa_supplicant(5159): key_mgmt: 0x4
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=49): [REMOVED]
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE: SET_NETWORK id=0 name='wep_key0' value='[REMOVED]'
NetworkManager: <information> wpa_supplicant(5159): wep_key0 - hexdump(len=13): [REMOVED]
NetworkManager: <information> wpa_supplicant(5159): State: DISCONNECTED -> SCANNING
NetworkManager: <information> wpa_supplicant(5159): Starting AP scan (broadcast SSID)
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=29):
NetworkManager: <information> wpa_supplicant(5159): 53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 77 65 SET_NETWORK 0 we
NetworkManager: <information> wpa_supplicant(5159): 70 5f 74 78 5f 6b 65 79 69 64 78 20 30 p_tx_keyidx 0
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE: SET_NETWORK id=0 name='wep_tx_keyidx' value='0'
NetworkManager: <information> wpa_supplicant(5159): wep_tx_keyidx=0 (0x0)
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=16):
NetworkManager: <information> wpa_supplicant(5159): 45 4e 41 42 4c 45 5f 4e 45 54 57 4f 52 4b 20 30 ENABLE_NETWORK 0
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE: ENABLE_NETWORK id=0
NetworkManager: <information> wpa_supplicant(5159): Setting scan request: 0 sec 0 usec
NetworkManager: <information> wpa_supplicant(5159): Starting AP scan (broadcast SSID)
NetworkManager: <information> wpa_supplicant(5159): RX ctrl_iface - hexdump_ascii(len=6):
NetworkManager: <information> wpa_supplicant(5159): ATTACH
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE monitor attached - hexdump(len=42): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 77 6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 35 31 34 35 2d 31 00 30 00
NetworkManager: <information> wpa_supplicant(5159): Scan timeout - try to get results
NetworkManager: <information> wpa_supplicant(5159): Scan results: -1
NetworkManager: <information> wpa_supplicant(5159): Failed to get scan results
NetworkManager: <information> wpa_supplicant(5159): Failed to get scan results - try scanning again
NetworkManager: <information> wpa_supplicant(5159): Setting scan request: 1 sec 0 usec
NetworkManager: <information> wpa_supplicant(5159): Scan timeout - try to get results
NetworkManager: <information> wpa_supplicant(5159): Received 445 bytes of scan results (2 BSSes)
NetworkManager: <information> wpa_supplicant(5159): Scan results: 2
NetworkManager: <information> wpa_supplicant(5159): Selecting BSS from priority group 0
NetworkManager: <information> wpa_supplicant(5159): 0: 00:0f:66:2c:3d:52 ssid='Welles' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
NetworkManager: <information> wpa_supplicant(5159): skip - no WPA/RSN IE
NetworkManager: <information> wpa_supplicant(5159): 1: 00:0f:b5:e7:7c:ea ssid='santa' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
NetworkManager: <information> wpa_supplicant(5159): skip - no WPA/RSN IE
NetworkManager: <information> wpa_supplicant(5159): selected non-WPA AP 00:0f:66:2c:3d:52 ssid='Welles'
NetworkManager: <information> wpa_supplicant(5159): Trying to associate with 00:0f:66:2c:3d:52 (SSID='Welles' freq=2437 MHz)
NetworkManager: <information> wpa_supplicant(5159): CTRL_IFACE monitor send - hexdump(len=42): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 77 6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 35 31 34 35 2d 31 00 30 00
NetworkManager: <information> wpa_supplicant(5159): Cancelling scan request
NetworkManager: <information> DHCP daemon state now 1 for interface wlan0
NetworkManager: <information> Device 'wlan0' DHCP transaction took too long (>25s), stopping it.
NetworkManager: <information> Activation (wlan0) Stage 4 of 5 (IP Configure Timeout) scheduled...
NetworkManager: <information> DHCP daemon state now 14 for interface wlan0
NetworkManager: <information> DHCP daemon state now 14 for interface wlan0
NetworkManager: <information> Activation (wlan0) Stage 4 of 5 (IP Configure Timeout) started...
NetworkManager: <debug info> [1143320593.231285] real_act_stage4_ip_config_timeout (): Activation (wlan0/wireless): could not get IP configuration info for 'Welles', asking for new key.
NetworkManager: <information> Activation (wlan0) New wireless user key requested for network 'Welles'.
NetworkManager: <information> Activation (wlan0) Stage 4 of 5 (IP Configure Timeout) complete.
NetworkManager: <information> Activation (wlan0) New wireless user key request for network 'Welles' was canceled.
NetworkManager: <information> Deactivating device wlan0.
NetworkManager: <information> Activation (wlan0): cancelling...
NetworkManager: <information> Activation (wlan0): cancelled.
sendmsg(CTRL_IFACE monitor): No such file or directory
NetworkManager: <WARNING> nm_signal_handler (): Caught signal 2, shutting down normally.
NetworkManager: <information> Caught terminiation signal
NetworkManager: <debug info> [1143320607.413787] nm_print_open_socks (): Open Sockets List:
NetworkManager: <debug info> [1143320607.413858] nm_print_open_socks (): Open Sockets List Done.
NetworkManager: <information> Deactivating device wlan0.
NetworkManager: <information> Deactivating device eth0.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]