OpenWrt Forum Archive

Topic: Hostapd 802.1x PEAP wired driver

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All!

I can't get start hostapd with 802.1x auth support on wired interface + windows xp!!!
do this:

interface=eth0.17
driver=wired
ssid=test
auth_algs=1
ieee8021x=1
eapol_key_index_workaround=0
eap_server=1
eap_user_file=/etc/hostapd/hostapd.eap_user
ca_cert=/etc/hostapd/cert/ca.pem
server_cert=/etc/hostapd/cert/server.crt
private_key=/etc/hostapd/cert/server.key
private_key_passwd=whatever

log:
db:/netup/utm5# hostapd -ddKt -P /var/run/host.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
1202053482.203788: eapol_version=2
Opening raw packet socket for ifindex 21
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
1202053482.220253: eth0.17: IEEE 802.11 Fetching hardware channel/rate support not supported.
1202053482.220278: Flushing old station entries
1202053482.220288: Deauthenticate all stations
Using interface eth0.17 with hwaddr 00:14:5e:2b:04:1e and ssid 'test'

& nothing all
in xp use in wired ethernet connection with 802.1x & PEAP auth
but in logs nothing cant see

tracing eapol in xp show this!!!

[1412] 13:34:58:071: FSMConnecting entered for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[1412] 13:34:58:071: TIMER: Restart PCB                     Time: 60
[1412] 13:34:58:071: Setting state CONNECTING for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[1412] 13:34:58:071: FSMConnecting completed for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[1412] 13:34:58:071: ElEnumAndOpenInterfaces: CreatePort successful
[1412] 13:34:58:071: ElEnumAndOpenInterfaces: PCB already existed, skipping Interface hash table addition
[1412] 13:34:58:071: ElEnumAndOpenInterfaces: Completed with retcode = 0
[1412] 13:34:58:071: ElProcessEapConfigChange: Finished with error 0
[13260] 13:34:59:713: EAPOLQueryGUIDNCSState: 802.1X Port Inexistant. Returning S_OK
[13100] 13:34:59:723: EAPOLQueryGUIDNCSState: 802.1X Port Inexistant. Returning S_OK
[13204] 13:35:00:544: ElGetInterfaceParams:  SsidLength=<32>, Found EapTypeId=<25>, SSIDLen=<32>
[13204] 13:35:00:544: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<13>, Offset=<52/172>, dwAuthData=<42>
[3560] 13:35:00:544: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<13>, Offset=<52/172>, dwAuthData=<42>
[6564] 13:35:00:544: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<25>, Offset=<52/172>, dwAuthData=<54>
[13204] 13:35:00:554: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<25>, Offset=<52/172>, dwAuthData=<54>
[3560] 13:35:00:554: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<4>, Offset=<52/172>, dwAuthData=<0>
[3560] 13:35:13:893: ElGetInterfaceParams:  SsidLength=<32>, Found EapTypeId=<25>, SSIDLen=<32>
[3560] 13:35:13:893: ElSetCustomAuthData: EapTypeId=<13>, SSIDLength=<32>, InfoLength=<42>
[3560] 13:35:13:893: ElSetCustomAuthData: Set value succeeded, fFound=<1>, dwEapBlob=<172>, dwSizeOfSSID=<32>
[13204] 13:35:13:893: ElSetCustomAuthData: EapTypeId=<25>, SSIDLength=<32>, InfoLength=<62>
[13204] 13:35:13:893: ElSetCustomAuthData: Set value succeeded, fFound=<1>, dwEapBlob=<180>, dwSizeOfSSID=<32>
[6564] 13:35:13:893: ElSetCustomAuthData: EapTypeId=<4>, SSIDLength=<32>, InfoLength=<0>
[6564] 13:35:13:893: ElSetCustomAuthData: Set value succeeded, fFound=<1>, dwEapBlob=<180>, dwSizeOfSSID=<32>
[3560] 13:35:13:893: ElSetInterfaceParams:  EapTypeId=<25> SSIDLen=<32>
[3560] 13:35:13:893: Setting stuff in registry for {87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}
[3560] 13:35:13:893: ElSetInterfaceParams: Succeeded,  EapTypeId=<25> fFound=<1>, SSIDLen=<32>
[3560] 13:35:13:893: ElPostEapConfigChanged: SSIDLength=<32>
[460] 13:35:13:923: ElGetInterfaceParams:  SsidLength=<32>, Found EapTypeId=<25>, SSIDLen=<32>
[460] 13:35:13:923: ElProcessEapConfigChange: PCB ref and enabled, continue check
[460] 13:35:13:923: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<25>, Offset=<52/180>, dwAuthData=<62>
[460] 13:35:13:923: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<25>, Offset=<52/180>, dwAuthData=<62>
[460] 13:35:13:923: ElZeroConfigNotify: Handle=(0), failcount=(0), lastauthtype=(0)
[460] 13:35:13:923: ElZeroConfigNotify: RpcCmdInterface failed with error 2
[460] 13:35:13:923: ElProcessEapConfigChange: ElZeroConfigNotify failed with error 2
[460] 13:35:13:923: ElEnumAndOpenInterfaces: DeviceDesc = , GUID = {87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}
[460] 13:35:13:923: ElNdisuioEnumerateInterfaces: Opening handle
[460] 13:35:13:923: NdisuioEnumerateInterfaces: NDISUIO bound to: (0) \DEVICE\{BB9F7841-DE46-4238-AEBE-3B87A16453C6}
     - Atheros AR5006X Wireless Network Adapter - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚

[460] 13:35:13:923: NdisuioEnumerateInterfaces: NDISUIO bound to: (1) \DEVICE\{87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}
     - Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚

[460] 13:35:13:923: ElNdisuioEnumerateInterfaces: DeviceIoControl IOCTL_NDISUIO_QUERY_BINDING has no more entries
[460] 13:35:13:923: Device: \DEVICE\{BB9F7841-DE46-4238-AEBE-3B87A16453C6}
[460] 13:35:13:923: Description: Atheros AR5006X Wireless Network Adapter - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:35:13:923: Device: \DEVICE\{87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}
[460] 13:35:13:923: Description: Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:35:13:923: ElEnumAndOpenInterfaces: Found interface after enumeration \DEVICE\{87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}
[460] 13:35:13:923: ElEnumAndOpenInterfaces: Found PCB already existing for interface
[460] 13:35:13:923: ElCreatePort: Entered for Handle=(000013BC), GUID=({87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}), Name=(Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚), ZCId=(0), UserData=(00000000) Notification=<3>
[460] 13:35:13:923: ElGetInterfaceNdisStatistics: pwszDeviceInterfaceName = (\Device\{87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5})
[460] 13:35:13:923: ElCreatePort: PCB found for {87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5}
[460] 13:35:13:923: ElReStartPort: Entered: pPCB=<091A5C10>, pZCConnectInfo=<00000000>, Refcnt=<3>, EapFlags=<c0000000>, Notification=<3>
[460] 13:35:13:923: ElGetInterfaceNdisStatistics: pwszDeviceInterfaceName = (\Device\{87D52AD8-8EB7-4A66-BB0D-6B835C7A4AC5})
[460] 13:35:13:933: ElGetInterfaceParams:  SsidLength=<32>, Found EapTypeId=<25>, SSIDLen=<32>
[460] 13:35:13:933: ElReadPerPortRegistryParams: Setting dwEapFlags=<c0000000>
[460] 13:35:13:933: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<25>, Offset=<52/180>, dwAuthData=<62>
[460] 13:35:13:933: ElGetCustomAuthData: SSIDLen=<32>, EapTypeId=<25>, Offset=<52/180>, dwAuthData=<62>
[460] 13:35:13:933: ElReadPerPortRegistryParams: dwTotalMaxAuthFailCount = (3)
[460] 13:35:13:933: FSMConnecting entered for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:35:13:933: TIMER: Restart PCB                     Time: 60
[460] 13:35:13:933: Setting state CONNECTING for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:35:13:933: FSMConnecting completed for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:35:13:933: ElEnumAndOpenInterfaces: CreatePort successful
[460] 13:35:13:933: ElEnumAndOpenInterfaces: PCB already existed, skipping Interface hash table addition
[460] 13:35:13:933: ElEnumAndOpenInterfaces: Completed with retcode = 0
[460] 13:35:13:933: ElProcessEapConfigChange: Finished with error 0
[460] 13:35:30:547: ElMediaEventsHandler entered -- EventType=<8>
[460] 13:35:30:547: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[460] 13:35:30:547: ElMediaSpecificEventHandler: Entered
[460] 13:35:30:547: ElMediaSenseCallbackWorker: Callback for media-specific event
[460] 13:35:30:547: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[460] 13:35:30:547: ElMediaEventsHandler entered -- EventType=<8>
[460] 13:35:30:547: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[460] 13:35:30:547: ElMediaSpecificEventHandler: Entered
[460] 13:35:30:547: ElMediaSenseCallbackWorker: Callback for media-specific event
[460] 13:35:30:547: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[460] 13:35:30:547: ElMediaEventsHandler entered -- EventType=<8>
[460] 13:35:30:547: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[460] 13:35:30:547: ElMediaSpecificEventHandler: Entered
[460] 13:35:30:547: ElMediaSenseCallbackWorker: Callback for media-specific event
[460] 13:35:30:547: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[460] 13:36:13:970: ElTimeoutCallbackRoutine entered
[460] 13:36:13:970: FSMConnecting entered for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:36:13:970: TIMER: Restart PCB                     Time: 60
[460] 13:36:13:970: Setting state CONNECTING for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:36:13:970: FSMConnecting completed for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[460] 13:36:13:970: ElTimeoutCallbackRoutine completed
[1412] 13:37:09:389: ElMediaEventsHandler entered -- EventType=<8>
[1412] 13:37:09:389: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[1412] 13:37:09:389: ElMediaSpecificEventHandler: Entered
[1412] 13:37:09:389: ElMediaSenseCallbackWorker: Callback for media-specific event
[1412] 13:37:09:389: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[1412] 13:37:09:389: ElMediaEventsHandler entered -- EventType=<8>
[1412] 13:37:09:389: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[1412] 13:37:09:389: ElMediaSpecificEventHandler: Entered
[1412] 13:37:09:389: ElMediaSenseCallbackWorker: Callback for media-specific event
[1412] 13:37:09:389: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[1412] 13:37:09:389: ElMediaEventsHandler entered -- EventType=<8>
[1412] 13:37:09:389: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[1412] 13:37:09:389: ElMediaSpecificEventHandler: Entered
[1412] 13:37:09:389: ElMediaSenseCallbackWorker: Callback for media-specific event
[1412] 13:37:09:389: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[10484] 13:37:13:996: ElTimeoutCallbackRoutine entered
[10484] 13:37:13:996: FSMConnecting entered for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:37:13:996: TIMER: Restart PCB                     Time: 60
[10484] 13:37:13:996: Setting state CONNECTING for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:37:13:996: FSMConnecting completed for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:37:13:996: ElTimeoutCallbackRoutine completed
[11628] 13:37:36:628: ElMediaEventsHandler entered -- EventType=<8>
[11628] 13:37:36:628: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[11628] 13:37:36:628: ElMediaSpecificEventHandler: Entered
[11628] 13:37:36:628: ElMediaSenseCallbackWorker: Callback for media-specific event
[11628] 13:37:36:628: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[11628] 13:37:36:628: ElMediaEventsHandler entered -- EventType=<8>
[11628] 13:37:36:628: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[11628] 13:37:36:628: ElMediaSpecificEventHandler: Entered
[11628] 13:37:36:628: ElMediaSenseCallbackWorker: Callback for media-specific event
[11628] 13:37:36:628: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[11628] 13:37:36:628: ElMediaEventsHandler entered -- EventType=<8>
[11628] 13:37:36:628: ElMediaEventsHandler: Calling ElMediaSpecificHandler
[11628] 13:37:36:628: ElMediaSpecificEventHandler: Entered
[11628] 13:37:36:628: ElMediaSenseCallbackWorker: Callback for media-specific event
[11628] 13:37:36:628: ElMediaSpecificEventHandler: Bad StatusType=<2:0>
[10484] 13:38:14:022: ElTimeoutCallbackRoutine entered
[10484] 13:38:14:022: FSMConnecting entered for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:38:14:022: TIMER: Restart PCB                     Time: 2097148
[10484] 13:38:14:022: FSMConnecting: Sent out maxStart with no response, Setting AUTHENTICATED state
[10484] 13:38:14:022: FSMAuthenticated entered for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:38:14:022: ElEapEnd entered
[10484] 13:38:14:022: Setting state AUTHENTICATED for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:38:14:022: FSMAuthenticated completed for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:38:14:022: FSMConnecting completed for port Broadcom 440x 10/100 Integrated Controller - â• ÑˆÑ ÑˆÑ ÑŽÐ Ð„ Ñ Ñ‹Ñ€Ñ ÑˆÐ ÑŽÑ‚âˆ™ÑˆÑŠÑ€ Ñ Ñ€ÑŠÑ…Ð„ÑŽÑ‚
[10484] 13:38:14:022: ElTimeoutCallbackRoutine completed

may bee anyone know anything?
With my regards, Dmitry!

do it with freeradius

hostapd(0.5.3 и 0.5.9)
Код:
interface=eth0.2
driver=wired
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2

debug=4
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

ssid=test
auth_algs=3

##### IEEE 802.1X-2004 related configuration ##################################
ieee8021x=1
#eapol_version=2
#eap_message=hello
#wep_key_len_broadcast=5
#wep_key_len_unicast=5
#wep_rekey_period=300
#eapol_key_index_workaround=0
#eap_reauth_period=3600
#use_pae_group_addr=1

eap_server=0

# The own IP address of the access point (used as NAS-IP-Address)
own_ip_addr=10.0.1.100
#nas_identifier=localhost1

# RADIUS authentication server
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=secret

# RADIUS accounting server
acct_server_addr=127.0.0.1
acct_server_port=1813
acct_server_shared_secret=secret

radius_retry_primary_interval=600
radius_acct_interim_interval=600

wpa=1
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP
rsn_preauth=1

freeradius Ð¿Ð¸Ñ Ð°Ð»(а):
db:/usr# freeradius -X
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /etc/freeradius/clients.conf
Config: including file: /etc/freeradius/eap.conf
Config: including file: /etc/freeradius/sql.conf
main: prefix = "/usr"
main: localstatedir = "/var"
main: logdir = "/var/log/freeradius"
main: libdir = "/usr/lib/freeradius"
main: radacctdir = "/var/log/freeradius/radacct"
main: hostname_lookups = no
main: bind_address = 127.0.0.1 IP address [127.0.0.1]
main: user = "freerad"
main: group = "freerad"

read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
read_config_files: reading realms
radiusd: entering modules setup
Module: Library search path is /usr/lib/freeradius
Module: Loaded MS-CHAP
mschap: use_mppe = yes
mschap: require_encryption = yes
mschap: require_strong = yes
mschap: with_ntdomain_hack = yes
mschap: passwd = "(null)"
mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap)
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 100
eap: ignore_unknown_eap_types = no
eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
mschapv2: with_ntdomain_hack = no
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded SQL
sql: driver = "rlm_sql_mysql"
sql: server = "localhost"
sql: port = ""
sql: nas_table = "nas_info"
sql: sqltrace = no
sql: sqltracefile = "/var/log/freeradius/sqltrace.sql"
sql: readclients = yes
sql: deletestalesessions = yes
sql: num_sql_socks = 1
sql: sql_user_name = "%{User-Name}"
sql: default_user_profile = ""
sql: query_on_not_found = no
sql: authorize_check_query = ...............................
sql: authorize_group_check_query = ""
sql: authorize_group_reply_query = ""
sql: accounting_onoff_query = ""
sql: accounting_update_query = ""
sql: accounting_update_query_alt = ""
sql: accounting_start_query = ""
sql: accounting_start_query_alt = ""
sql: accounting_stop_query =.....................
sql: accounting_stop_query_alt = ""
sql: group_membership_query = ""
sql: connect_failure_retry_delay = 60
sql: simul_count_query = ""
sql: simul_verify_query = ""
sql: postauth_query = ""
........................
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to root@localhost:/billing
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): - generate_sql_clients
rlm_sql (sql): Query: SELECT * FROM nas_info
rlm_sql (sql): Reserving sql socket id: 0
rlm_sql (sql): Read entry nasname=127.0.0.1,shortname=secret,secret=0
rlm_sql (sql): Adding client 127.0.0.1 (secret) to clients list
rlm_sql (sql): Read entry nasname=localhost,shortname=secret,secret=0
rlm_sql (sql): Adding client 127.0.0.1 (secret) to clients list
rlm_sql (sql): Released sql socket id: 0
Module: Instantiated sql (sql)
Listening on authentication 127.0.0.1:1812
Listening on accounting 127.0.0.1:1813
Ready to process requests.
rad_recv: Accounting-Request packet from host 127.0.0.1:32858, id=0, length=79
Acct-Status-Type = Accounting-On
Acct-Authentic = RADIUS
NAS-IP-Address = 127.0.0.1
NAS-Identifier = "localhost"
Called-Station-Id = "00-14-5E-2B-04-1E:test"
Acct-Terminate-Cause = NAS-Reboot
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 0
rlm_sql (sql): received Acct On/Off packet
radius_xlat: ''
rlm_sql (sql): Reserving sql socket id: 0
rlm_sql (sql): Released sql socket id: 0
modcall[accounting]: module "sql" returns ok for request 0
modcall: leaving group accounting (returns ok) for request 0
Sending Accounting-Response of id 0 to 127.0.0.1 port 32858
Finished request 0
Going to the next request
--- Walking the entire request list ---
Cleaning up request 0 ID 0 with timestamp 47a5e0e8
Nothing to do. Sleeping until we see a request.



hostapd Ð¿Ð¸Ñ Ð°Ð»(а):
db:/netup/utm5# hostapd -ddKt -P /var/run/host.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
1202053482.203788: eapol_version=2
Opening raw packet socket for ifindex 21
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
1202053482.220253: eth0.17: IEEE 802.11 Fetching hardware channel/rate support not supported.
1202053482.220278: Flushing old station entries
1202053482.220288: Deauthenticate all stations
Using interface eth0.17 with hwaddr 00:14:5e:2b:04:1e and ssid 'test'
1202053482.220347: eth0.17: RADIUS Authentication server 127.0.0.1:1812
1202053482.220506: eth0.17: RADIUS Accounting server 127.0.0.1:1813
1202053482.220613: eth0.17: RADIUS Sending RADIUS message to accounting server
1202053482.221222: eth0.17: RADIUS Next RADIUS client retransmit in 3 seconds

1202053482.221318: eth0.17: Setup of interface done.
1202053482.221372: eth0.17: RADIUS Received 20 bytes from RADIUS server
1202053482.221404: eth0.17: RADIUS Received RADIUS message
1202053482.221450: eth0.17: STA 00:00:00:00:00:00 RADIUS: Received RADIUS packet matched with a pending request, round trip time 0.00 sec

& nothing got too!!!

For windows xp:

Modify the client’s Registry:
Run regedit.exe from the Run box.
Navigate to HEY_LocalMachine\Software\Microsoft\EAPOL\Parameters\General\Global.
Right click on Global and select New and the DWORD value.
Name it SupplicantMode.
After it is created, double-click it and set its value to a 3.
You must reboot the PC before the new registry value takes effect.

The discussion might have continued from here.