cannot authenticate using LEAP
Hammad
hammadnaveed
Tue Mar 28 23:24:56 PST 2006
Hi,
I am using madwifi-ng-r1475 and hostapd 0.4.8. It is working with PSK but with
leap it doesnot complete authentication. below is what i get
Configuration file: myconf.conf
Configure bridge br0 for EAPOL traffic.
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:40:96:a3:8b:8f and ssid 'test'
ath0: RADIUS Authentication server 192.168.0.42:1812
ath0: RADIUS Accounting server 192.168.0.42:1813
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0x2
madwifi_configure_wpa: key management algorithms=0x1
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA= 0x1
madwifi_set_iface_flags: dev_up=1
madwifi_set_privacy: enabled=1
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 38 08 f3 e0 bd 70 16 43 51 ed b2 6f 39 47 49 f8 26 d9 a9
bc cc e4 a2 33 8b 54 ed b7 56 38 2f 55
GTK - hexdump(len=32): 2f 59 5a 4d ad 8b a2 2d 88 cf 0c 17 3d 30 1d 2e a4 21 64
54 09 ee 10 b8 2b 9f cb 68 a3 13 f0 e1
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
ath0: RADIUS Sending RADIUS message to accounting server
RADIUS message: code=4 (Accounting-Request) identifier=0 length=84
Attribute 40 (Acct-Status-Type) length=6
Value: 7
Attribute 45 (Acct-Authentic) length=6
Value: 1
Attribute 4 (NAS-IP-Address) length=6
Value: 192.168.0.224
Attribute 32 (NAS-Identifier) length=16
Value: 'ap.example.com'
Attribute 30 (Called-Station-Id) length=24
Value: '00-40-96-A3-8B-8F:test'
Attribute 49 (Acct-Terminate-Cause) length=6
Value: 11
ath0: RADIUS Next RADIUS client retransmit in 3 seconds
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
Deauthenticate all stations
l2_packet_receive - recvfrom: Network is down
l2_packet_receive - recvfrom: Network is down
ath0: RADIUS Received 20 bytes from RADIUS server
ath0: RADIUS Received RADIUS message
RADIUS message: code=5 (Accounting-Response) identifier=0 length=20
ath0: STA 00:00:00:00:00:00 RADIUS: Received RADIUS packet matched with a pendin
g request, round trip time 0.02 sec
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:11:95:b9:18:03 IEEE 802.11: associated
New STA
No WPA/RSN information element for station!?
ath0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS
GMK - hexdump(len=32): 38 08 f3 e0 bd 70 16 43 51 ed b2 6f 39 47 49 f8 26 d9 a9
bc cc e4 a2 33 8b 54 ed b7 56 38 2f 55
GTK - hexdump(len=32): 43 2e 3b 89 b9 cf 09 ba db ed 5c 7b 27 62 5f 7b 29 12 97
37 a1 f8 c1 c7 89 60 d7 31 7e 8a 1e 80
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=2
Sending disassociation info to STA 00:11:95:b9:18:03
madwifi_sta_disassoc: addr=00:11:95:b9:18:03 reason_code=4
ioctl[unknown???]: Invalid argument
Sending disassociation info to STA 00:11:95:b9:18:03
madwifi_sta_disassoc: addr=00:11:95:b9:18:03 reason_code=4
ioctl[unknown???]: Invalid argument
ath0: STA 00:11:95:b9:18:03 IEEE 802.11: disassociated due to inactivity
Sending deauthentication info to STA 00:11:95:b9:18:03
madwifi_sta_deauth: addr=00:11:95:b9:18:03 reason_code=2
ath0: STA 00:11:95:b9:18:03 IEEE 802.11: deauthenticated due to inactivity
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:11:95:b9:18:03 IEEE 802.11: deassociated
Wireless event: cmd=0x8c03 len=20
my hostapd.conf file is given below :
interface=ath0
bridge=br0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=3
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
auth_algs=1
ieee8021x=1
eapol_key_index_workaround=1
eap_server=0
own_ip_addr=192.168.0.224
nas_identifier=ap.example.com
auth_server_addr=192.168.0.42
auth_server_port=1812
auth_server_shared_secret=testing123
acct_server_addr=192.168.0.42
acct_server_port=1813
acct_server_shared_secret=testing123
wpa=1
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP
wpa_group_rekey=300
wpa_gmk_rekey=640
I cant figure out the problem........
Thanx in advance for your time........
Hammad
More information about the Hostap
mailing list