freeradius with wpa/wpa2 and win xp home
hello I have problem with freeradius 2.x with wpa/wpa2 and win xp home sp2. I try to make 802.1x + wpa/wpa2 on my ap linksys/dd-wrt. The supplicants are windows xp home with sp2 with patch wpa/wpa2. On my access points i set wpa/wpa2 enterprise/mix/radius and every time i have in logs: "Sending Access-Challenge of..." and its not connect I setup my freeradius on base this site: http://www.tldp.org/HOWTO/8021X-HOWTO/freeradius.html to set up freeradius, but there is some problem, its don't work thanks for any help it's my logs from freeradius: Cleaning up request 2696 ID 0 with timestamp +51465 User-Name = "alan" NAS-IP-Address = 10.0.0.7 Called-Station-Id = "0016b6c92839" Calling-Station-Id = "0018f8368ad4" NAS-Identifier = "0016b6c92839" NAS-Port = 40 Framed-MTU = 1400 State = 0xe31b561ae01f4f79765637cf0502aac5 NAS-Port-Type = Wireless-802.11 EAP-Message = 0x020400061900 Message-Authenticator = 0xc748764c47aff91a6202064c0d293641 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "alan", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 4 length 6 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS rlm_eap_tls: Received EAP-TLS ACK message rlm_eap_tls: ack handshake fragment handler eaptls_verify returned 1 eaptls_process returned 13 rlm_eap_peap: EAPTLS_HANDLED ++[eap] returns handled Sending Access-Challenge of id 0 to 10.0.0.7 port 2061 EAP-Message = 0x010500061900 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xe31b561ae71e4f79765637cf0502aac5 Finished request 2697. Going to the next request Waking up in 4.9 seconds. Cleaning up request 2697 ID 0 with timestamp +51465 Ready to process requests. and my conf radiusd.conf (...) hostname_lookups = no allow_core_dumps = no regular_expressions = yes extended_expressions = yes checkrad = ${sbindir}/checkrad security { max_attributes = 200 reject_delay = 1 status_server = yes } proxy_requests = yes $INCLUDE proxy.conf $INCLUDE clients.conf snmp = no $INCLUDE snmp.conf thread pool { start_servers = 5 max_servers = 32 min_spare_servers = 3 max_spare_servers = 10 max_requests_per_server = 0 } modules { $INCLUDE ${confdir}/modules/ $INCLUDE eap.conf $INCLUDE sql.conf $INCLUDE sql/mysql/counter.conf } instantiate { exec expr expiration logintime } $INCLUDE policy.conf $INCLUDE sites-enabled/ authorize { preprocess mschap suffix eap files } authenticate { Auth-Type MS-CHAP { mschap } eap } users : alan User-Password == "alan" eap.conf: eap { default_eap_type = peap tls { certdir = ${confdir}/certs cadir = ${confdir}/certs private_key_password = whatever private_key_file = ${certdir}/server.pem certificate_file = ${certdir}/server.pem CA_file = ${cadir}/ca.pem dh_file = ${certdir}/dh random_file = ${certdir}/random } peap { default_eap_type = mschapv2 virtual_server = "inner-tunnel" } mschapv2 { } } cat modules/mschap |grep -v '#' mschap { authtype = MS-CHAP use_mppe = yes require_encryption = yes require_strong = yes authtype = MS-CHAP } ---------------------------------------------------------------------- Zobacz cala prawde o Lukaszu Podolskim! kliknij >>> http://link.interia.pl/f1e57
Piotr Salwerowicz wrote:
I have problem with freeradius 2.x with wpa/wpa2 and win xp home sp2. I try to make 802.1x + wpa/wpa2 on my ap linksys/dd-wrt. The supplicants are windows xp home with sp2 with patch wpa/wpa2. On my access points i set wpa/wpa2 enterprise/mix/radius and every time i have in logs: "Sending Access-Challenge of..." and its not connect
Read raddb/eap.conf. This *exact* behavior is documented. Work-arounds are also documented.
I setup my freeradius on base this site:
Don't. Just don't. That's for version 1.0.0, which is MANY years old. The newer versions of the server Just Work. If you have OpenSSL on your system, just install the server, and start it as root, in debugging mode. It will generate test certificates. Alan DeKok.
Alan DeKok pisze:
Piotr Salwerowicz wrote:
I have problem with freeradius 2.x with wpa/wpa2 and win xp home sp2. I try to make 802.1x + wpa/wpa2 on my ap linksys/dd-wrt. The supplicants are windows xp home with sp2 with patch wpa/wpa2. On my access points i set wpa/wpa2 enterprise/mix/radius and every time i have in logs: "Sending Access-Challenge of..." and its not connect
Read raddb/eap.conf. This *exact* behavior is documented. Work-arounds are also documented.
thx for answers, i forgot write that I use only login and password for authentication, i don't use certificates, EAP-mschapv2. This workaround is for me ? I patched win xp using this: http://support.microsoft.com/kb/885453 but didn't work :( I founded something: http://freeradius.org/features/eap.html there is: The following methods are also supported, but cannot be used with WPA or IEEE 802.1X WEP keying. * EAP-MD5-Challenge * EAP-MSCHAPv2 I'm not sure that this notice its for me thanks Piotr ---------------------------------------------------------------------- Masz czas tylko do 10 lipca. Przystap on-line do ING OFE! Sprawdz >> http://link.interia.pl/f1e54
Piotr Salwerowicz wrote
thx for answers, i forgot write that I use only login and password for authentication, i don't use certificates, EAP-mschapv2. This workaround is for me ?
You cannot use EAP-MSCHAPv2 for wireless authentication. You have to use PEAP or TTLS. I suggest reading more about how wireless authentication works.
I'm not sure that this notice its for me
Yes, it is. Alan DeKok.
Did you uncheck "validate server certificate" in peap properties in xp supplicant?
Yes, this option is/was uncheck, Peter ---------------------------------------------------------------------- Pogoda na dzis. Sprawdz >>> http://link.interia.pl/f1e42
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, | I have problem with freeradius 2.x with wpa/wpa2 and win xp home sp2. | I try to make 802.1x + wpa/wpa2 on my ap linksys/dd-wrt. The supplicants | are windows xp home with sp2 with patch wpa/wpa2. On my access points i | set wpa/wpa2 enterprise/mix/radius and every time i have in logs: | "Sending Access-Challenge of..." and its not connect | I setup my freeradius on base this site: | | http://www.tldp.org/HOWTO/8021X-HOWTO/freeradius.html | | to set up freeradius, but there is some problem, its don't work | | thanks for any help Did you bother to read the warning in eap.conf that starts with the subtle words ~ ################################################## ~ # ~ # !!!!! WARNINGS for Windows compatibility !!!!! ~ # ~ ################################################## ~ # ~ # If you see the server send an Access-Challenge, ~ # and the client never sends another Access-Request, ~ # then ~ # ~ # STOP! ? Greetings, Stefan Winter - -- Stefan WINTER Ingenieur de Recherche Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg Tel: +352 424409 1 Fax: +352 422473 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIa3QC+jm90f8eFWYRAoNfAJ0TKYIMcqQFG9UQhV8hr780EezFxACffQne l23/6uRfzVKhxMeKhDbEP/4= =B7S/ -----END PGP SIGNATURE-----
participants (4)
-
Alan DeKok -
Ivan Kalik -
Piotr Salwerowicz -
Stefan Winter