hostapd simple configuration

Leonardo Pereira Santos lsantos at pd3.com.br
Wed Aug 13 15:28:09 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All!
	Sorry for the simple question, but I'm having some trouble setting up hostapd 
and xsupplicant, if anyoune could give me some pointers, I'd be very 
grateful.
	First, I've read the following pages:
Adam Sulmicki: HOWTO on EAP/TLS authentication between FreeRADIUS and 
XSupplicant http://www.missl.cs.umd.edu/wireless/eaptls/

Adam Sulmicki: HOWTO on EAP/TLS authentication between FreeRADIUS and 
XSupplicant with HostAP
http://www.missl.cs.umd.edu/Projects/wireless/hostap.html
And obviously the HostAP README file.

The message I get when starting hostapd is:

#hostapd -d /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex 4
Using interface wlan0ap with hwaddr 00:02:dd:32:5b:46 and ssid 'test'
Flushing old station entries
Deauthenticate all stations
DATA
Data frame from not associated STA 00:02:78:e1:b0:49
mgmt::auth
authentication: STA=00:02:78:e1:b0:49 auth_alg=0 auth_transaction=1 
status_code=0 wep=0
  New STA
authentication reply: STA=00:02:78:e1:b0:49 auth_alg=0 auth_transaction=2 
resp=0
MGMT (TX callback) fail
mgmt::auth cb
wlan0: STA 00:02:78:e1:b0:49 IEEE 802.11: did not acknowledge authentication 
response
mgmt::auth
authentication: STA=00:02:78:e1:b0:49 auth_alg=0 auth_transaction=1 
status_code=0 wep=0
authentication reply: STA=00:02:78:e1:b0:49 auth_alg=0 auth_transaction=2 
resp=0
MGMT (TX callback) fail
mgmt::auth cb
wlan0: STA 00:02:78:e1:b0:49 IEEE 802.11: did not acknowledge authentication 
response

And so on...

While at the station, I get:

#xsupplicant -i wlan0
Setup on device wlan0 complete
set globals.
Done with init.
Sending EAPOL-Start #1
Sending EAPOL-Start #2
No authenticator found! Assuming the port is authorized!

The only diffs between the standard hostapd.conf and the one I'm using are:
- -debug=0
+debug=1

- -daemonize=1
+daemonize=0

- -#ieee8021x=1
+ieee8021x=1

- -minimal_eap=0
+minimal_eap=1


And the XSupplicant's conf file is simply:

test:id   = adam-ctl
test:auth = EAP


Thanks in advance!
- -- 
This is Linux country.
On a quiet night, you can hear Windows reboot.

Leonardo Pereira Santos
Engenheiro de Projetos
PD3 Tecnologia
av. Pará 330/202
(51) 3337 1237

Today Fortune tells us:
If it's Tuesday, this must be someone else's fortune.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/OpFK8uAMCTjfaxIRAjeAAKC3B8btk4k4fO4/kmJ1V5azYwzWUgCeIn8+
m/jEcsD6Lp9fdC/NtkbtROc=
=G7co
-----END PGP SIGNATURE-----



More information about the HostAP mailing list