HostAP & Intel Proset

Lawrence Wong lawrencewong72
Fri Dec 17 22:36:49 PST 2004


--- Jouni Malinen <jkmaline at cc.hut.fi> wrote:

> > On my server, I am using hostapd-0.3.1 with
> > hostap-driver-0.3.0. On the client laptop I am
> using
> > Intel ProSet 7.1.3.0 to control the Intel Centrino
> > 2100 wireless.
> 
> Which supplicant implementation are you using on the
> client? Can you get
> debug log from it?

The suuplicant I am using comes built-in into Intel
ProSet. I am using it to manage my wireless
connections on my WinXP laptop.

It does not have any debug logs, the closest I can get
is a log file showing the signal strength and
transmission/receive speeds/statistics.

> > The following is the configuration file that I
> used on
> > the server:
> 
> Could you please send a debug log with more verbose
> debugging (e.g.,
> debug=2) and a configuration file that matches with
> the debug log (this
> one had daemonize=1 which would not have produced
> this kind of debug
> log).

The config file that was shown earlier is indeed the
exact config file that I used. The daemonize parameter
doesn't seem to have any effect on my Fedora Core 3
box:

(daemonize=1)

# hostapd test.conf 
Configuration file: test.conf
Using interface wlan0 with hwaddr 00:06:05:11:25:a8
and ssid 'TEST'
Flushing old station entries
Deauthenticate all stations


(daemonize=0)

# hostapd test.conf 
Configuration file: test.conf
Using interface wlan0 with hwaddr 00:06:05:11:25:a8
and ssid 'TEST'
Flushing old station entries
Deauthenticate all stations


The description in the hostapd.conf says "daemonize"
is used to determine forking into the background.
Could it be a bug as it does not fork?

To make it fork, I had to use: hostapd -b

The following is the output with debug=2 :

# hostapd test.conf 

Configuration file: test.conf
Opening raw packet socket for ifindex 78
Using interface wlan0 with hwaddr 00:06:05:11:25:a8
and ssid 'TEST'
Flushing old station entries
Deauthenticate all stations
Received 30 bytes management frame
MGMT
mgmt::auth
authentication: STA=00:0c:d7:94:f1:3b auth_alg=0
auth_transaction=1 status_code=0 wep=0
  New STA
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.11:
authentication OK (open system)
wlan0: STA 00:0c:d7:94:f1:3b WPA: event 0 notification
authentication reply: STA=00:0c:d7:94:f1:3b auth_alg=0
auth_transaction=2 resp=0
Received 30 bytes management frame
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.11:
authenticated
Received 46 bytes management frame
MGMT
mgmt::assoc_req
association request: STA=00:0c:d7:94:f1:3b
capab_info=0x01 listen_interval=10
  new AID 1
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.11: association
OK (aid 1)
Received 36 bytes management frame
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.11: associated
(aid 1, accounting session 41C3CDB4-00000000)
wlan0: STA 00:0c:d7:94:f1:3b WPA: event 1 notification
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.1X: start
authentication
EAP: State machine created
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
INITIALIZE
Wireless event: cmd=0x8c03 len=20
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
DISCONNECTED
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.1X:
unauthorizing port
IEEE 802.1X: 00:0c:d7:94:f1:3b BE_AUTH entering state
IDLE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b CTRL_DIR entering state
FORCE_BOTH
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
RESTART
IEEE 802.1X: Integrated EAP Authenticator in use - do
not generate EAP-Request/Identity
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state SELECT_ACTION
EAP: getDecision: no identity known yet -> CONTINUE
EAP: EAP entering state PROPOSE_METHOD
EAP: getNextMethod: type 1
EAP: EAP entering state METHOD_REQUEST
EAP: building EAP-Request: Identifier 103
EAP: EAP entering state SEND_REQUEST
EAP: eapReqData -> EAPOL - hexdump(len=5): 01 67 00 05
01
EAP: EAP entering state IDLE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
CONNECTING
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
AUTHENTICATING
IEEE 802.1X: 00:0c:d7:94:f1:3b BE_AUTH entering state
REQUEST
IEEE 802.1X: Sending EAP Packet to 00:0c:d7:94:f1:3b
(identifier 103)
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
Received 41 bytes management frame
DATA (TX callback) ACK
IEEE 802.1X: 00:0c:d7:94:f1:3b TX status - version=2
type=0 length=5 - ack=1
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
Received 78 bytes management frame
DATA
IEEE 802.1X: 46 bytes from 00:0c:d7:94:f1:3b
   IEEE 802.1X: version=1 type=1 length=0
   ignoring 42 extra octets after IEEE 802.1X packet
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.1X: received
EAPOL-Start from STA
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
ABORTING
IEEE 802.1X: 00:0c:d7:94:f1:3b BE_AUTH entering state
INITIALIZE
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.1X: aborting
authentication
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
RESTART
IEEE 802.1X: Integrated EAP Authenticator in use - do
not generate EAP-Request/Identity
IEEE 802.1X: 00:0c:d7:94:f1:3b BE_AUTH entering state
IDLE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state SELECT_ACTION
EAP: getDecision: no identity known yet -> CONTINUE
EAP: EAP entering state PROPOSE_METHOD
EAP: getNextMethod: type 1
EAP: EAP entering state METHOD_REQUEST
EAP: building EAP-Request: Identifier 198
EAP: EAP entering state SEND_REQUEST
EAP: eapReqData -> EAPOL - hexdump(len=5): 01 c6 00 05
01
EAP: EAP entering state IDLE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
CONNECTING
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
AUTHENTICATING
IEEE 802.1X: 00:0c:d7:94:f1:3b BE_AUTH entering state
REQUEST
IEEE 802.1X: Sending EAP Packet to 00:0c:d7:94:f1:3b
(identifier 198)
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
Received 41 bytes management frame
DATA (TX callback) ACK
IEEE 802.1X: 00:0c:d7:94:f1:3b TX status - version=2
type=0 length=5 - ack=1
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
Received 26 bytes management frame
MGMT
mgmt::disassoc
disassocation: STA=00:0c:d7:94:f1:3b reason_code=1
wlan0: STA 00:0c:d7:94:f1:3b WPA: event 2 notification
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.11:
disassociated
IEEE 802.1X: station 00:0c:d7:94:f1:3b port disabled
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b KEY_RX entering state
NO_KEY_RECEIVE
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b KEY_RX entering state
NO_KEY_RECEIVE
EAP: EAP entering state DISABLED
IEEE 802.1X: 00:0c:d7:94:f1:3b AUTH_PAE entering state
INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b REAUTH_TIMER entering
state INITIALIZE
IEEE 802.1X: 00:0c:d7:94:f1:3b KEY_RX entering state
NO_KEY_RECEIVE
EAP: State machine removed
Wireless event: cmd=0x8c04 len=20
  Sending deauthentication info to STA
00:0c:d7:94:f1:3b
wlan0: STA 00:0c:d7:94:f1:3b IEEE 802.11:
deauthenticated due to inactivity
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
Wireless event: cmd=0x8c00 len=20
Signal 2 received - terminating
Flushing old station entries
Deauthenticate all stations



One thing I did notice when testing out with the
WPA-PSK mode is that with hostapd-0.3.1, Intel Proset
was not able to connect (same 802.1x unauthorized
error) while Windows XP built in client was able to.
But with hostapd-0.2.5, both Intel Proset and Windows
XP were able to connect just fine.

Could it be due to some changes in the 802.1x code
between 0.2.5 and 0.3.x that caused the errors above?

TIA!

> > Does anyone know what does "IEEE 802.1X:
> unauthorizing
> > port" mean and how to make it authorised? Is there
> > something missing/wrong from my config file?
> 
> All ports will be set unauthorized when starting the
> authentication and
> they will get authorized once the authentication is
> completed
> successfully.
> 
> -- 
> Jouni Malinen                                       
>     PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



		
__________________________________ 
Do you Yahoo!? 
Send a seasonal email greeting and help others. Do good. 
http://celebrity.mail.yahoo.com




More information about the Hostap mailing list