Hostapd + freeradius

Franck franck
Sat Mar 29 10:13:37 PST 2003


Hello,

my wlan0.conf
###########
..........
macaddr_acl=2
accept_mac_file=/etc/hostapd.accept
accept_mac_file=/etc/hostapd.accept
ieee8021x=1
minimal_eap=0
eap_message=hello
own_ip_addr=10.0.0.1

# RADIUS authentication server
auth_server_addr=10.0.0.1
auth_server_port=1812
auth_server_shared_secret=test

# RADIUS accounting server
acct_server_addr=10.0.0.1
acct_server_port=1813
acct_server_shared_secret=test
###########

radtest lexo arf 10.0.0.1 1812 test <= WORK FINE

but when i want to connect with my XP Pro computer, i have in freeradius logs:

###########
rad_recv: Access-Request packet from host 10.0.0.1:2624, id=4, length=159
        User-Name = "lexo"
        NAS-IP-Address = 10.0.0.1
        NAS-Port = 1
        Called-Station-Id = "00-09-5B-2F-B6-E3:wlanfr.net-AP-100"
        Calling-Station-Id = "00-80-C6-07-D2-67"
        Framed-MTU = 2304
        NAS-Port-Type = Wireless-802.11
        Connect-Info = "CONNECT 11Mbps 802.11b"
        EAP-Message = "\002\007\000\t\001lexo"
        Message-Authenticator = 0x9b30d30c1a0108bdda2f844ca6b67eaa
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "eap" returns updated
  modcall[authorize]: module "suffix" returns ok
    users: Matched lexo at 80
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type Local
auth: type Local
auth: No User-Password or CHAP-Password attribute in the request
auth: Failed to validate the user.
Login incorrect: [lexo/<no User-Password attribute>] (from nas UNKNOWN-NAS 
port 1 cli 00-80-C6-07-D2-67)
Delaying request 4 for 1 seconds
Finished request 4
Going to the next request
###########

user lexo is in my users.conf with IP 10.0.0.40 (DHCP)

What's wrong here ....

Thanks
-- 
Franck

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Fingerprint : 20F4 DBE5 7234 52D6 3610  BB17 D73C 1F7A 9E64 F6A1

http://www.linuxpourtous.com
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\




More information about the Hostap mailing list