Senao NL-2511CD+ doesn't work with WPA-EAP

Ruzsinszky Attila ruzsinszky.attila at gmail.com
Mon May 7 12:31:25 EDT 2007


Hi,

SuSE 10.1, kernel 2.6.16.27-0.9-default. wpa_supplicant-0.4.8 from
default SuSE rpm.
Kernel loads the next modules automatically:
hermes
orinoco
orinoco_cs
ieee80211_crypt
hostap
hostap_cs

If I renamed the hermes.ko to x-hermes.ko everything seems
all right except there aren't any EAP RX or TX! Pcmcia card
can see packets from the air because it is associated with the
AP (Ovislink).

I can't see traffic on eth1 or wifi0 (eth1 = wlan0).
Kismet is working.

With the same wpa_supplicant config an Atheros based
SMC card is working perfectly.
I use WPA-EAP-TLS.

wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=2

network={
        ssid="mySSID"
        scan_ssid=0
        key_mgmt=WPA-EAP
        pairwise=TKIP
        group=TKIP
        eap=TLS
        identity="myID"
        password="mypasswd"
        ca_cert="myCAcert.pem"
        client_cert="mycert.pem"
        private_key="mycert-key.pem"
        private_key_passwd="my-privatekey-passwd"
}

The log:
Initializing interface 'wifi0' conf 'wpa_supplicant.conf' driver
'wext' ctrl_interface 'N/A'
Configuration file 'wpa_supplicant.conf' -> '/home/rattila/wpa_supplicant.conf'
Reading configuration file '/home/rattila/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=10 (from group name 'wheel')
ap_scan=1
Line: 42 - start of a new network block
ssid - hexdump_ascii(len=11):
     ...                                               mySSID
scan_ssid=1 (0x1)
key_mgmt: 0x1
pairwise: 0x8
group: 0x8
eap methods - hexdump(len=2): 0d 00
identity - hexdump_ascii(len=21):
     ...                                               myID
password - hexdump_ascii(len=9): [REMOVED]
ca_cert - hexdump_ascii(len=24):
     ...                                               mycacert.pem
client_cert - hexdump_ascii(len=36):
     ...                                               mycert.pem
private_key - hexdump_ascii(len=35):
     ...                                               mykey.pem
private_key_passwd - hexdump_ascii(len=19): [REMOVED]
Priority group 0
   id=0 ssid='mySSID'
Initializing interface (2) 'wifi0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:02:6f:aa:bb:cc
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface wifi0
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=11):
     ...                                                  mySSID
Wireless event: cmd=0x8b19 len=8
Received 428 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:4f:62:aa:bb:cc ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:4f:62:aa:bb:cc ssid='mySSID' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:4f:62:aa:bb:cc (SSID='mySSID' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2
02 01 00 00 50 f2 02 01 00 00 50 f2 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00
00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 01
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b04 len=12
Wireless event: cmd=0x8b1a len=20
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:4f:62:aa:bb:cc
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:4f:62:aa:bb:cc
No keys have been configured - skip key clearing
Associated with 00:4f:62:aa:bb:cc
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
Ignore event for foreign ifindex 17
EAPOL: startWhen --> 0
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
TX EAPOL - hexdump(len=4): 01 01 00 00
Wireless event: cmd=0x8b19 len=8
Received 198 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:4f:62:aa:bb:cc ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:4f:62:aa:bb:cc ssid='mySSID' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Already associated with the selected AP.
Authentication with 00:4f:62:aa:bb:cc timed out.
Added BSSID 00:4f:62:aa:bb:cc into blacklist
State: ASSOCIATED -> DISCONNECTED
wpa_driver_wext_disassociate
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=8
Received 198 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:4f:62:aa:bb:cc ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:4f:62:aa:bb:cc ssid='mySSID' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:4f:62:aa:bb:cc (SSID='mySSID' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2
02 01 00 00 50 f2 02 01 00 00 50 f2 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00
00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 01
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
Ignore event for foreign ifindex 17
Wireless event: cmd=0x8b1a len=20
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:4f:62:aa:bb:cc
State: DISCONNECTED -> ASSOCIATED
Associated to a new BSS: BSSID=00:4f:62:aa:bb:cc
No keys have been configured - skip key clearing
Associated with 00:4f:62:aa:bb:cc
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
Ignore event for foreign ifindex 17
EAPOL: startWhen --> 0
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
TX EAPOL - hexdump(len=4): 01 01 00 00
Authentication with 00:4f:62:aa:bb:cc timed out.
BSSID 00:4f:62:aa:bb:cc blacklist count incremented to 2
State: ASSOCIATED -> DISCONNECTED
wpa_driver_wext_disassociate
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=11):
     ...                                                mySSID
Wireless event: cmd=0x8b19 len=8
Received 428 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:4f:62:aa:bb:cc ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   skip - blacklisted
1: 00:4f:62:aa:bb:cc ssid='mySSID' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   skip - blacklisted
No APs found - clear blacklist and try again
Removed BSSID 00:00:00:00:00:00 from blacklist (clear)
Removed BSSID 00:4f:62:aa:bb:cc from blacklist (clear)
Selecting BSS from priority group 0
0: 00:4f:62:aa:bb:cc ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:4f:62:aa:bb:cc ssid='mySSID' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:4f:62:aa:bb:cc (SSID='mySSID' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2
02 01 00 00 50 f2 02 01 00 00 50 f2 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00
00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 01
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
Ignore event for foreign ifindex 17
Wireless event: cmd=0x8b1a len=20
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:4f:62:aa:bb:cc
State: DISCONNECTED -> ASSOCIATED
Associated to a new BSS: BSSID=00:4f:62:aa:bb:cc
No keys have been configured - skip key clearing
Associated with 00:4f:62:aa:bb:cc
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
Ignore event for foreign ifindex 17
EAPOL: startWhen --> 0
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
TX EAPOL - hexdump(len=4): 01 01 00 00
Wireless event: cmd=0x8b19 len=8
Received 198 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
...

With interface eth1 the situation is the same!

Kernel messages: (with renamed hermes.ko!)
...
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
orinoco: Unknown symbol hermes_read_ltv
orinoco: Unknown symbol hermes_init
orinoco: Unknown symbol hermes_bap_pwrite
orinoco: Unknown symbol hermes_write_ltv
orinoco: Unknown symbol hermes_docmd_wait
orinoco: Unknown symbol hermes_allocate
orinoco: Unknown symbol hermes_bap_pwrite_pad
orinoco: Unknown symbol hermes_bap_pread
orinoco_cs: Unknown symbol free_orinocodev
orinoco_cs: Unknown symbol orinoco_reinit_firmware
orinoco_cs: Unknown symbol hermes_struct_init
orinoco_cs: Unknown symbol orinoco_interrupt
orinoco_cs: Unknown symbol __orinoco_up
orinoco_cs: Unknown symbol __orinoco_down
orinoco_cs: Unknown symbol alloc_orinocodev
ieee80211_crypt: module not supported by Novell, setting U taint flag.
ieee80211_crypt: registered algorithm 'NULL'
hostap: module not supported by Novell, setting U taint flag.
hostap_cs: module not supported by Novell, setting U taint flag.
hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f

TIA,
Ruzsi



More information about the HostAP mailing list