hostapd, prism54(xg-901), freeradius, EAP-PEAP

Jan Satko satko at quanto.nr.sanet.sk
Fri Jun 3 12:39:08 EDT 2005


Hello.
I have xg-901 (z-com) wireless card in rh9 with patched 2.4.27 kernel with
prism54 (current) module loaded. On another server i have freeradius 1.0.2
configured for authentication and accounting.

wifi config (working):
eth2      IEEE 802.11b/g  ESSID:"test"
          Mode:Master  Frequency:2.437 GHz  Access Point:
00:60:B3:1C:33:28
          Bit Rate:54 Mb/s   Tx-Power=31 dBm   Sensitivity=20/200
          Retry min limit:8   RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:off
          Link Quality:65  Signal level:0  Noise level:226
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

#lsmod
Module                  Size  Used by    Not tainted
prism54                58372   1
firmware_class          5636   0  [prism54]

I want to use hostapd as a access point with WPA-PEAP authentication.
I already configure hostapd without wpa and with radius. It
is working.

[root at test-gw root]# /usr/local/bin/hostapd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
Using interface eth2 with hwaddr 00:60:b3:1c:33:28 and ssid 'test'
eth2: RADIUS Authentication server x.x.x.x:1812
eth2: RADIUS Accounting server x.x.x.x:1813
Flushing old station entries
Deauthenticate all stationsA

Radius is also working:
rlm_sql_mysql: query:  UPDATE radacct SET AcctStopTime='2005-06-03
18:28:02', AcctSessionTime=unix_timestamp('2005-06-03 18:28:02') -
unix_timestamp(AcctStartTime), AcctTerminateCause='NAS-Reboot',
AcctStopDelay = '' WHERE AcctSessionTime=0 AND AcctStopTime=0 AND
NASIPAddress= 'x.x.x.x' AND AcctStartTime <= '2005-06-03 18:28:02'

BUT !!!
when i try to run wpa (config section in hostapd.conf):
ieee8021x=1
wpa=1
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP

i have got follwing output from hostapd:
Configuration file: /etc/hostapd.conf
Using interface eth2 with hwaddr 00:60:b3:1c:33:28 and ssid 'test'
eth2: RADIUS Authentication server x.x.x.x:1812
eth2: RADIUS Accounting server x.x.x.x:1813
Could not set PrivacyInvoked for interface eth2
WPA initialization failed.
Could not disable PrivacyInvoked for interface eth2

Accounting request ofcourse comes to radius server without any problem.

Can someone help me to solve this problem ? Where i'm making mistake ?
Maybe some iwpriv or iwconfig commands are needed ? Bad driver ?
Badly configured hostap ? I don't know what to do now :-(
Thank you.

--
   Bc. Jan 'EIS' Satko       Slovak University of Agriculture
 network & system manager            Tr. A. Hlinku 2
  Tel: +421 37 7412 616           949 76 Nitra Slovakia



More information about the HostAP mailing list