Problem with Hostap and Freeradius !!
李銘達
u9127800
Mon Jul 26 20:31:20 PDT 2004
hi
I had a trouble. I used Hostap and Freeradius to run 802.1x. But ,when authenticator link to freeradius server , it would not work correctly.
Authenticator(Hostap)would show message below:
***
[root at hostap hostapd-0.2.3]# ./hostapd -d hostapd.conf
Configuration file: hostapd.conf
Opening raw packet socket for ifindex 13
Using interface wlan0ap with hwaddr 00:90:cc:58:ef:11 and ssid 'default'
wlan0: RADIUS Authentication server 140.115.156.38:1812
wlan0: RADIUS Accounting server 140.115.156.38:1813
Sending RADIUS message to accounting server
Flushing old station entries
Deauthenticate all stations
Received 20 bytes from RADIUS server
Received RADIUS message
***
Then, authenticator didn't work any more. The radius server message as follow:
***
rad_recv: Accounting-Request packet from host 140.115.156.50:32780, id=0, length=71
Acct-Status-Type = Accounting-On
Acct-Authentic = RADIUS
NAS-IP-Address = 140.115.156.50
Called-Station-Id = "00-90-CC-58-EF-11:default"
Acct-Terminate-Cause = NAS-Reboot
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 1
modcall[preacct]: module "preprocess" returns noop for request 1
rlm_acct_unique: WARNING: Attribute NAS-Port was not found in request, unique ID MAY
be inconsistent
rlm_acct_unique: WARNING: Attribute Acct-Session-Id was not found in request, unique
ID MAY be inconsistent
rlm_acct_unique: WARNING: Attribute User-Name was not found in request, unique ID MAY
be inconsistent
rlm_acct_unique: Hashing ',Client-IP-Address = 140.115.156.50,NAS-IP-Address = 140.11
5.156.50,,'
rlm_acct_unique: Acct-Unique-Session-ID = "d83d644aa8db2578".
modcall[preacct]: module "acct_unique" returns ok for request 1
rlm_realm: Proxy reply, or no User-Name. Ignoring.
modcall[preacct]: module "suffix" returns noop for request 1
modcall[preacct]: module "files" returns noop for request 1
modcall: group preacct returns ok for request 1
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 1
radius_xlat: '/usr/local/radius/var/log/radius/radacct/140.115.156.50/detail-2004072
7'
rlm_detail: /usr/local/radius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m
%d expands to /usr/local/radius/var/log/radius/radacct/140.115.156.50/detail-20040727
modcall[accounting]: module "detail" returns ok for request 1
modcall[accounting]: module "unix" returns noop for request 1
radius_xlat: '/usr/local/radius/var/log/radius/radutmp'
rlm_radutmp: NAS 140.115.156.50 restarted (Accounting-On packet seen)
modcall[accounting]: module "radutmp" returns ok for request 1
modcall: group accounting returns ok for request 1
Sending Accounting-Response of id 0 to 140.115.156.50:32780
Finished request 1
Going to the next request
--- Walking the entire request list ---
Cleaning up request 1 ID 0 with timestamp 4105c89e
Nothing to do. Sleeping until we see a request.
***
Hope someone can help me solve this problem, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20040727/1c710b31/attachment.htm
More information about the Hostap
mailing list