hostap + hostapd on Linux 2.4.32
hostap at niemueller.de
Tue Apr 25 18:49:09 EDT 2006
After having some fun with WEP I'm now trying to convert my access point
setup to WPA/WPA2. The access point is an old machine with a Red Hat 7.3
besides the kitchen sink serving well for years with hopefully some
years yet to go. It has a PCMCIA controller and a Prism-based wifi card.
To be able to use WPA I built a new kernel RPM with a vanilla Linux
kernel 2.4.32 with wireless extensions patches v17 and v18 applied from
Jean Tourrilhes' website. I further installed wireless tools 28pre13
(rebuilt FC5 RPM) and hostap-driver 0.4.7 and hostapd 0.4.8 (custom
RPMs). Besides hostapd this all works fine. I can setup the AP with the
new set of software just fine as an AP serving a WEP-obfuscated network
as I did before.
So now comes the fun part - setting up WPA. I edited the hostapd.conf
config file to look like this:
I have omitted EAP stuff, I left it unchanged and disabled as for now
I'll stick with WPA-PSK. After this works I can extend my playground.
After that I start hostapd with
hostapd -tdd /etc/hostapd.conf
and got the following output:
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex 28
Using interface wlan0 with hwaddr ab:ab:ab:ab:ab:ab and ssid 'niemueller
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): HEX
GTK - hexdump(len=32): HEX
WPA: group state machine entering state SETKEYSDONE
Flushing old station entries
Deauthenticate all stations
Received 146 bytes management frame
RX frame - hexdump(len=146): 00 0d 60 d0 e6 67 00 e0 7d 7b ae 72 08 00
45 10 00 84 f9 ce 40 00 40 06 3e 15 89 e2 b5 f8 c0 a8 01 fd 00 16 c6 71
50 91 7e 13 18 70 f4 9d 80 18 37 a0 cd a3 00 00 01 01 08 0a 01 20 a2 fa
00 02 1d 76 2f 3a 45 88 a0 0d 4c c4 af 35 db bf d3 5e 05 e2 b9 87 ab dd
23 45 a5 84 52 0b 2c 1a 5a d7 ee 9e c8 8e 66 32 51 ff 65 c5 07 dc 5e 3b
a3 a7 8e 26 ec db 61 07 80 e7 7f b8 9e 77 88 c3 3c 7a 33 f5 e9 42 c0 fb
c3 b9 87 da 6c 80 e8 ec 54 ac 4a b8
MGMT: BSSID=00:84:f9:ce:40:00 not our address
Wireless event: cmd=0x8c04 len=20
I can reproduce this every single time, the BSSID stays the same. Now
I'm stuck. BSSID is different from the MAC address of the card.
Can you give me a hint where to look further or has someone tried or
actually did a similar setup (2.4 kernel is probably close enough)?
Thanks for any information you can share.
Tim Niemueller <tim at niemueller.de> www.niemueller.de
Imagination is more important than knowledge. (Albert Einstein)
More information about the HostAP