RADIUS Server initialization failed

Mr. Maloomnahi maloomnahi at indiatimes.com
Mon Oct 15 23:49:41 EDT 2007


Hi Bryan,

Thanks for the inputs. I rewrote the file without spaces and the error I had mentioned last time vanished. But still the failure "Connection Refused" persists. The dump is as follows: 

====================== DUMP ==========================
[root at localhost hostapd-0.5.8]# hostapd -Kt -ddddd hostapd_EAP.conf
Configuration file: hostapd_EAP.conf
1192506268.233043: ctrl_interface_group=0
1192506268.233317: eapol_version=1
1192506268.236393: TLS: Trusted root certificate(s) loaded
Configure bridge br0 for EAPOL traffic.
1192506268.277257: madwifi_set_iface_flags: dev_up=0
madwifi_set_privacy: enabled=0
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
1192506268.279127: SIOCGIWRANGE: WE(compiled)=20 WE(source)=13 enc_capa=0xf
1192506268.279194: eth1: IEEE 802.11 Fetching hardware channel/rate support not supported.
1192506268.279215: Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
1192506268.279286: madwifi_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 3)
Could not connect to kernel driver.
1192506268.279413: Deauthenticate all stations
madwifi_set_privacy: enabled=0
Mode: IEEE 802.11g  Channel: 11  Frequency: 0 MHz
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=1
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3
madwifi_set_key: alg=WEP addr=00:00:00:00:00:00 key_idx=0
madwifi_set_privacy: enabled=1
Using interface eth1 with hwaddr 00:14:78:8f:5e:49 and ssid 'SEMCO_AP'
1192506268.279618: SSID - hexdump_ascii(len=8):
     53 45 4d 43 4f 5f 41 50                           SEMCO_AP
1192506268.279643: PSK (ASCII passphrase) - hexdump_ascii(len=12):
     44 45 41 44 2d 42 45 45 46 2d 41 41               DEAD-BEEF-AA
1192506268.290932: PSK (from passphrase) - hexdump(len=32): 3a 3e 07 89 3a 02 ef 41 71 0a 12 bd f3 ac 21 4f 83 bb 70 8c 33 75 77 51 68 a7 9c fd 66 e4 e1 35
1192506268.291007: eth1: RADIUS Authentication server 192.168.1.151:1812
1192506268.291521: eth1: RADIUS Accounting server 192.168.1.151: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
1192506268.294261: WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
1192506268.294285: GMK - hexdump(len=32): 09 3a 68 0f 29 b2 c9 9a 12 ec 1d d3 87 8e a9 cb 84 81 78 89 c9 bf 84 1a c5 e0 bf 76 a1 58 de 81
1192506268.294307: GTK - hexdump(len=32): 38 9f 2b b7 40 d2 80 dd 59 28 f2 33 ce 35 fa e4 d2 ce dd 86 85 b9 35 24 fb 7e 3e 11 b2 60 05 50
1192506268.294329: WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
madwifi_set_privacy: enabled=1
1192506268.294439: eth1: RADIUS Sending RADIUS message to accounting server
RADIUS message: code=4 (Accounting-Request) identifier=0 length=72
   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.1.151
   Attribute 30 (Called-Station-Id) length=28
      Value: '00-14-78-8F-5E-49:SEMCO_AP'
   Attribute 49 (Acct-Terminate-Cause) length=6
      Value: 11
1192506268.294808: eth1: RADIUS Next RADIUS client retransmit in 3 seconds

1192506268.295749: madwifi_set_iface_flags: dev_up=1
1192506268.304721: eth1: Setup of interface done.
l2_packet_receive - recvfrom: Network is down
l2_packet_receive - recvfrom: Network is down
recv[RADIUS]: Connection refused
1192506271.297424: eth1: STA 00:00:00:00:00:00 RADIUS: Resending RADIUS message (id=0)
1192506271.297544: eth1: RADIUS Next RADIUS client retransmit in 6 seconds
recv[RADIUS]: Connection refused
1192506277.301438: eth1: STA 00:00:00:00:00:00 RADIUS: Resending RADIUS message (id=0)
1192506277.301545: eth1: RADIUS Next RADIUS client retransmit in 12 seconds
recv[RADIUS]: Connection refused
1192506289.305300: eth1: STA 00:00:00:00:00:00 RADIUS: Resending RADIUS message (id=0)
1192506289.305414: eth1: RADIUS Next RADIUS client retransmit in 24 seconds
recv[RADIUS]: Connection refused
1192506313.309064: eth1: STA 00:00:00:00:00:00 RADIUS: Resending RADIUS message (id=0)
1192506313.309205: eth1: RADIUS Next RADIUS client retransmit in 48 seconds
recv[RADIUS]: Connection refused
1192506361.312566: eth1: STA 00:00:00:00:00:00 RADIUS: Resending RADIUS message (id=0)
1192506361.312681: eth1: RADIUS Next RADIUS client retransmit in 96 seconds
recv[RADIUS]: Connection refused
1192506457.315527: eth1: STA 00:00:00:00:00:00 RADIUS: Resending RADIUS message (id=0)
1192506457.315644: eth1: RADIUS Next RADIUS client retransmit in 120 seconds
recv[RADIUS]: Connection refused
======================================================

Looking forward to your inputs.

Thanks
PPN

--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!


More information about the HostAP mailing list