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!