realtek 8172 does not work with networkmanager and wpa on ubuntu 9.10



Dear list,

I have recently bought a thinkpad edge 64 bits with a realtek 8192.

lspci reports
Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)

I have installed ubuntu 9.10 amd64 but Linux does not come with the
driver for this card. The driver is available from

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true#2281

The driver compiles without problem but I can not connect to my access
point when network manager is running. If I disable it, I can manually
connect to the access point using the  following wpa.conf


network={
                        ssid="doubidou-net"
                        proto=WPA WPA2
                        key_mgmt=WPA-PSK
                        pairwise=CCMP TKIP
                        group=CCMP TKIP
                        psk= "my_secret"
                        priority=2
         }

The following command is used to run wpa_supplicant

	wpa_supplicant -D wext -c wpa.conf -i $interface

I have followed the instructions in http://darrenalbers.com/networkmanager/

 sudo ./nm-supplicant-test wlan0 path_to/wpa.conf > nm-supplicant-test.txt

The output is attached to this mail. The command ends with the error

ioctl[SIOCSIWMLME]: Link has been severed

Could you tell me if I can use this card with network manager?

thanks,
Key: ssid, Value: "doubidou-net"
Key: proto, Value: WPA WPA2
Key: key_mgmt, Value: WPA-PSK
Key: pairwise, Value: CCMP TKIP
Key: group, Value: CCMP TKIP
Key: psk, Value: "my_secret"
Key: priority, Value: 2
SUP: sending command 'INTERFACE_ADD wlan0		wext	/var/run/wpa_supplicant	'
SUP: response was 'OK'
SUP: sending command 'AP_SCAN 2'
SUP: response was 'OK'
SUP: sending command 'ADD_NETWORK'
SUP: response was '0'
SUP: sending command 'SET_NETWORK 0 ssid "doubidou-net"'
SUP: response was 'OK'
SUP: sending command 'SET_NETWORK 0 proto WPA WPA2'
SUP: response was 'OK'
SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-PSK'
SUP: response was 'OK'
SUP: sending command 'SET_NETWORK 0 pairwise CCMP TKIP'
SUP: response was 'OK'
SUP: sending command 'SET_NETWORK 0 group CCMP TKIP'
SUP: response was 'OK'
SUP: sending command 'SET_NETWORK 0 psk "my_secret"'
SUP: response was 'OK'
SUP: sending command 'SET_NETWORK 0 priority 2'
SUP: response was 'OK'
SUP: sending command 'ENABLE_NETWORK 0'
SUP: response was 'OK'
wpa_supplicant(6330): Global control interface '/var/run/wpa_supplicant-global'
wpa_supplicant(6330): RX global ctrl_iface - hexdump_ascii(len=50):
wpa_supplicant(6330):      49 4e 54 45 52 46 41 43 45 5f 41 44 44 20 77 6c   INTERFACE_ADD wl
wpa_supplicant(6330):      61 6e 30 09 09 77 65 78 74 09 2f 76 61 72 2f 72   an0__wext_/var/r
wpa_supplicant(6330):      75 6e 2f 77 70 61 5f 73 75 70 70 6c 69 63 61 6e   un/wpa_supplican
wpa_supplicant(6330):      74 09                                             t_              
wpa_supplicant(6330): CTRL_IFACE GLOBAL INTERFACE_ADD 'wlan0		wext	/var/run/wpa_supplicant	'
wpa_supplicant(6330): Initializing interface 'wlan0' conf 'N/A' driver 'wext' ctrl_interface '/var/run/wpa_supplicant' bridge 'N/A'
wpa_supplicant(6330): Interface wlan0 set UP - waiting a second for the driver to complete initialization
wpa_supplicant(6330): SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
wpa_supplicant(6330):   capabilities: key_mgmt 0xf enc 0xf flags 0x0
wpa_supplicant(6330): WEXT: Operstate: linkmode=1, operstate=5
wpa_supplicant(6330): Own MAC address: 70:1a:04:8e:23:86
wpa_supplicant(6330): wpa_driver_wext_set_wpa
wpa_supplicant(6330): wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_supplicant(6330): wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_supplicant(6330): y: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_supplicant(6330): wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_supplicant(6330): wpa_driver_wext_set_countermeasures
wpa_supplicant(6330): wpa_driver_wext_set_drop_unencrypted
wpa_supplicant(6330): RSN: flushing PMKID list in the driver
wpa_supplicant(6330): Setting scan request: 0 sec 100000 usec
wpa_supplicant(6330): WPS: UUID based on MAC address - hexdump(len=16): 5e ab 3f 6b b7 44 5a cf 9f da cc 81 eb 14 52 31
wpa_supplicant(6330): WPS: Build Beacon and Probe Response IEs
wpa_supplicant(6330): WPS:  * Version
wpa_supplicant(6330): WPS:  * Wi-Fi Protected Setup State (0)
wpa_supplicant(6330): WPS:  * Version
wpa_supplicant(6330): WPS:  * Wi-Fi Protected Setup State (0)
wpa_supplicant(6330): WPS:  * Response Type (2)
wpa_supplicant(6330): WPS:  * UUID-E
wpa_supplicant(6330): WPS:  * Manufacturer
wpa_supplicant(6330): WPS:  * Model Name
wpa_supplicant(6330): WPS:  * Model Number
wpa_supplicant(6330): WPS:  * Serial Number
wpa_supplicant(6330): WPS:  * Primary Device Type
wpa_supplicant(6330): WPS:  * Device Name
wpa_supplicant(6330): WPS:  * Config Methods (0)
wpa_supplicant(6330): WPS:  * RF Bands (3)
wpa_supplicant(6330): EAPOL: SUPP_PAE entering state DISCONNECTED
wpa_supplicant(6330): EAPOL: KEY_RX entering state NO_KEY_RECEIVE
wpa_supplicant(6330): EAPOL: SUPP_BE entering state INITIALIZE
wpa_supplicant(6330): EAP: EAP entering state DISABLED
wpa_supplicant(6330): Added interface wlan0
wpa_supplicant(6330): RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
wpa_supplicant(6330): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
wpa_supplicant(6330): _NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
wpa_supplicant(6330): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
wpa_supplicant(6330): RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
wpa_supplicant(6330): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
wpa_supplicant(6330): Wireless event: cmd=0x8b06 len=12
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=9):
wpa_supplicant(6330):      41 50 5f 53 43 41 4e 20 32                        AP_SCAN 2       
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=11):
wpa_supplicant(6330):      41 44 44 5f 4e 45 54 57 4f 52 4b                  ADD_NETWORK     
wpa_supplicant(6330): CTRL_IFACE: ADD_NETWORK
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=33): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='ssid'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=14): [REMOVED]
wpa_supplicant(6330): ssid - hexdump_ascii(len=12):
wpa_supplicant(6330):      64 6f 75 62 69 64 6f 75 2d 6e 65 74               doubidou-net    
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=28): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='proto'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=8): [REMOVED]
wpa_supplicant(6330): proto: 0x3
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=30): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='key_mgmt'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=7): [REMOVED]
wpa_supplicant(6330): mgmt: 0x2
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=32): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='pairwise'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=9): [REMOVED]
wpa_supplicant(6330): pairwise: 0x18
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=29): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='group'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=9): [REMOVED]
wpa_supplicant(6330): group: 0x18
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=33): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='psk'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=15): [REMOVED]
wpa_supplicant(6330): PSK (ASCII passphrase) - hexdump_ascii(len=13): [REMOVED]
wpa_supplicant(6330): PSK (from passphrase) - hexdump(len=32): [REMOVED]
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=24): [REMOVED]
wpa_supplicant(6330): CTRL_IFACE: SET_NETWORK id=0 name='priority'
wpa_supplicant(6330): CTRL_IFACE: value - hexdump_ascii(len=1): [REMOVED]
wpa_supplicant(6330): priority=2 (0x2)
wpa_supplicant(6330): RX ctrl_iface - hexdump_ascii(len=16):
wpa_supplicant(6330):      45 4e 41 42 4c 45 5f 4e 45 54 57 4f 52 4b 20 30   ENABLE_NETWORK 0
wpa_supplicant(6330): CTRL_IFACE: ENABLE_NETWORK id=0
wpa_supplicant(6330): Setting scan request: 0 sec 0 usec
wpa_supplicant(6330): State: DISCONNECTED -> SCANNING
wpa_supplicant(6330): Trying to associate with SSID 'doubidou-net'
wpa_supplicant(6330): Cancelling scan request
wpa_supplicant(6330):  clearing own WPA/RSN IE
wpa_supplicant(6330): Automatic auth_alg selection: 0x1
wpa_supplicant(6330): WPA: No WPA/RSN IE available from association info
wpa_supplicant(6330): WPA: Set cipher suites based on configuration
wpa_supplicant(6330): WPA: Selected cipher suites: group 24 pairwise 24 key_mgmt 2 proto 2
wpa_supplicant(6330): WPA: clearing AP WPA IE
wpa_supplicant(6330): WPA: clearing AP RSN IE
wpa_supplicant(6330): WPA: using GTK CCMP
wpa_supplicant(6330): WPA: using PTK CCMP
wpa_supplicant(6330): WPA: using KEY_MGMT WPA-PSK
wpa_supplicant(6330): WPA: not using MGMT group cipher
wpa_supplicant(6330): WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wpa_supplicant(6330): No keys have been configured - skip key clearing
wpa_supplicant(6330): wpa_driver_wext_set_drop_unencrypted
wpa_supplicant(6330): State: SCANNING -> ASSOCIATING
wpa_supplicant(6330): wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
wpa_supplicant(6330): WEXT: Operstate: linkmode=-1, operstate=5
wpa_supplicant(6330): wpa_driver_wext_associate
wpa_supplicant(6330): wpa_driver_wext_set_psk
wpa_supplicant(6330): Association request to the driver failed
wpa_supplicant(6330): Setting authentication timeout: 5 sec 0 usec
wpa_supplicant(6330): EAPOL: External notification - EAP success=0
wpa_supplicant(6330): EAPOL: External notification - EAP fail=0
wpa_supplicant(6330): EAPOL: External notification - portControl=Auto
wpa_supplicant(6330): RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
wpa_supplicant(6330): TM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
wpa_supplicant(6330): Wireless event: cmd=0x8b06 len=12
wpa_supplicant(6330): CTRL_IFACE monitor attached - hexdump(len=17): 2f 77 70 61 5f 63 74 72 6c 5f 36 33 32 38 2d 31 00
wpa_supplicant(6330): EAPOL: disable timer tick
wpa_supplicant(6330): Authentication with 00:00:00:00:00:00 timed out.
wpa_supplicant(6330): CTRL_IFACE monitor send - hexdump(len=17): 2f 77 70 61 5f 63 74 72 6c 5f 36 33 32 38 2d 31 00
wpa_supplicant(6330): Added BSSID 00:00:00:00:00:00 into blacklist
wpa_supplicant(6330): No keys have been configured - skip key clearing
wpa_supplicant(6330): State: ASSOCIATING -> DISCONNECTED
wpa_supplicant(6330): wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
wpa_supplicant(6330): WEXT: Operstate: linkmode=-1, operstate=5
wpa_supplicant(6330): EAPOL: External notification - portEnabled=0
wpa_supplicant(6330): EAPOL: External notification - portValid=0
wpa_supplicant(6330): EAPOL: External notification - EAP success=0
wpa_supplicant(6330): Setting scan request: 0 sec 0 usec
wpa_supplicant(6330): State: DISCONNECTED -> SCANNING
wpa_supplicant(6330): Trying to associate with SSID 'doubidou-net'
wpa_supplicant(6330): CTRL_IFACE monitor send - hexdump(len=17): 2f 77 70 61 5f 63 74 72 6c 5f 36 33 32 38 2d 31 00
wpa_supplicant(6330): Cancelling scan request
wpa_supplicant(6330): WPA: clearing own WPA/RSN IE
wpa_supplicant(6330): Automatic auth_alg selection: 0x1
wpa_supplicant(6330): vailable from association info
wpa_supplicant(6330): WPA: Set cipher suites based on configuration
wpa_supplicant(6330): WPA: Selected cipher suites: group 24 pairwise 24 key_mgmt 2 proto 2
wpa_supplicant(6330): WPA: clearing AP WPA IE
wpa_supplicant(6330): WPA: clearing AP RSN IE
wpa_supplicant(6330): WPA: using GTK CCMP
wpa_supplicant(6330): WPA: using PTK CCMP
wpa_supplicant(6330): WPA: using KEY_MGMT WPA-PSK
wpa_supplicant(6330): WPA: not using MGMT group cipher
wpa_supplicant(6330): WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wpa_supplicant(6330): No keys have been configured - skip key clearing
wpa_supplicant(6330): wpa_driver_wext_set_drop_unencrypted
wpa_supplicant(6330): State: SCANNING -> ASSOCIATING
wpa_supplicant(6330): wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
wpa_supplicant(6330): WEXT: Operstate: linkmode=-1, operstate=5
wpa_supplicant(6330): wpa_driver_wext_associate
wpa_supplicant(6330): wpa_driver_wext_set_psk
wpa_supplicant(6330): Association request to the driver failed
wpa_supplicant(6330): CTRL_IFACE monitor send - hexdump(len=17): 2f 77 70 61 5f 63 74 72 6c 5f 36 33 32 38 2d 31 00
wpa_supplicant(6330): Setting authentication timeout: 5 sec 0 usec
wpa_supplicant(6330): EAPOL: External notification - EAP success=0
wpa_supplicant(6330): EAPOL: External notification - EAP fail=0
wpa_supplicant(6330): EAPOL: External notification - portControl=Auto
wpa_supplicant(6330): 0x1003 ([UP])
wpa_supplicant(6330): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
wpa_supplicant(6330): Wireless event: cmd=0x8b06 len=12
wpa_supplicant(6330): Authentication with 00:00:00:00:00:00 timed out.
wpa_supplicant(6330): CTRL_IFACE monitor send - hexdump(len=17): 2f 77 70 61 5f 63 74 72 6c 5f 36 33 32 38 2d 31 00
wpa_supplicant(6330): BSSID 00:00:00:00:00:00 blacklist count incremented to 2
wpa_supplicant(6330): No keys have been configured - skip key clearing
wpa_supplicant(6330): State: ASSOCIATING -> DISCONNECTED
wpa_supplicant(6330): wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
wpa_supplicant(6330): WEXT: Operstate: linkmode=-1, operstate=5
wpa_supplicant(6330): EAPOL: External notification - portEnabled=0
wpa_supplicant(6330): EAPOL: External notification - portValid=0
wpa_supplicant(6330): EAPOL: External notification - EAP success=0
wpa_supplicant(6330): Setting scan request: 0 sec 0 usec
wpa_supplicant(6330): State: DISCONNECTED -> SCANNING
wpa_supplicant(6330): Trying to associate with SSID 'doubidou-net'
wpa_supplicant(6330): CTRL_IFACE monitor send - hexdump(len=17): 2f 77 70 61 5f 63 74 72 6c 5f 36 33 32 38 2d 31 00
wpa_supplicant(6330): Cancelling scan request
wpa_supplicant(6330): WPA: clearing own WPA/RSN IE
wpa_supplicant(6330): Automatic auth_alg selection: 0x1
wpa_supplicant(6330): WPA: No WPA/RSN IE available from association info
wpa_supplicant(6330): WPA: Set cipher suites based on configuration
Activation (wlan0/wireless): association took too long (>20s), failing activation.


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