FR Using MAC Authentication
Hi - I have just started tinkering with Freeradius, I built an Ubuntu 8.10 server box and installed FR --> sudo apt-get install freeradius*. It installed in a breeze and tested fine. I have setup a HP420 AP for testing, it's chattering with the FR box fine (I think). I want my wireless clients to do MAC authentication via the FR box. I have setup my users file to auth two of my test laptops: 000E35-84610A Auth-Type := Local, User-Password == "esradius" 00215C-08B25D Auth-Type := Local, User-Password == "esradius" When either tries to connect up, in the FR debug I see: rad_recv: Access-Request packet from host 10.10.18.241:2160, id=7, length=53 User-Name = "00215c-08b25d" User-Password = "00215c-08b25d" Processing the authorize section of radiusd.conf The authentication eventually fails: rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this. Why is the User-Password the MAC address and not what is specified in the users file? I have only tweaked the users and clients.conf files. Just simple MAC authentication, that's all I want at this point. Thanks in advance! - Steve
On Fri, May 08, 2009 at 11:35:20AM -0400, Steve Wu wrote:
Hi -
I have just started tinkering with Freeradius, I built an Ubuntu 8.10 server box and installed FR --> sudo apt-get install freeradius*. It installed in a breeze and tested fine. I have setup a HP420 AP for testing, it's chattering with the FR box fine (I think).
I want my wireless clients to do MAC authentication via the FR box. I have setup my users file to auth two of my test laptops:
000E35-84610A Auth-Type := Local, User-Password == "esradius" 00215C-08B25D Auth-Type := Local, User-Password == "esradius"
When either tries to connect up, in the FR debug I see:
rad_recv: Access-Request packet from host 10.10.18.241:2160, id=7, length=53 User-Name = "00215c-08b25d" User-Password = "00215c-08b25d" Processing the authorize section of radiusd.conf
The authentication eventually fails:
rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.
Why is the User-Password the MAC address and not what is specified in the users file? I have only tweaked the users and clients.conf files.
That is what MAC authentication is, if the MAC is in the list it can connect. Cheers, Ken
Just simple MAC authentication, that's all I want at this point.
Thanks in advance!
- Steve
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Am 08.05.2009 um 17:35 schrieb Steve Wu:
Hi -
I have just started tinkering with Freeradius, I built an Ubuntu 8.10 server box and installed FR --> sudo apt-get install freeradius*. It installed in a breeze and tested fine. I have setup a HP420 AP for testing, it's chattering with the FR box fine (I think).
I want my wireless clients to do MAC authentication via the FR box. I have setup my users file to auth two of my test laptops:
000E35-84610A Auth-Type := Local, User-Password == "esradius" 00215C-08B25D Auth-Type := Local, User-Password == "esradius"
Try to assign ( := ) the password instead of comparing ( == ) it.
When either tries to connect up, in the FR debug I see:
rad_recv: Access-Request packet from host 10.10.18.241:2160, id=7, length=53 User-Name = "00215c-08b25d" User-Password = "00215c-08b25d" Processing the authorize section of radiusd.conf
The authentication eventually fails:
rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.
Why is the User-Password the MAC address and not what is specified in the users file? I have only tweaked the users and clients.conf files.
Just simple MAC authentication, that's all I want at this point.
Thanks in advance!
- Steve
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/ users.html
Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
Steve, Your wireless access point is sending the MAC address as the username and password. Change the username and password in the users file and the authentication will work. rad_recv: Access-Request packet from host 10.10.18.241:2160, id=7, length=53 User-Name = "00215c-08b25d" <--- This came from the wireless access point User-Password = "00215c-08b25d" <--- This came from the wireless access point Tim From: freeradius-users-bounces+tim.sylvester=networkradius.com@lists.freeradius.org [mailto:freeradius-users-bounces+tim.sylvester=networkradius.com@lists.freeradius.org] On Behalf Of Steve Wu Sent: Friday, May 08, 2009 8:35 AM To: freeradius-users@lists.freeradius.org Subject: FR Using MAC Authentication Hi - I have just started tinkering with Freeradius, I built an Ubuntu 8.10 server box and installed FR --> sudo apt-get install freeradius*. It installed in a breeze and tested fine. I have setup a HP420 AP for testing, it's chattering with the FR box fine (I think). I want my wireless clients to do MAC authentication via the FR box. I have setup my users file to auth two of my test laptops: 000E35-84610A Auth-Type := Local, User-Password == "esradius" 00215C-08B25D Auth-Type := Local, User-Password == "esradius" When either tries to connect up, in the FR debug I see: rad_recv: Access-Request packet from host 10.10.18.241:2160, id=7, length=53 User-Name = "00215c-08b25d" User-Password = "00215c-08b25d" Processing the authorize section of radiusd.conf The authentication eventually fails: rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this. Why is the User-Password the MAC address and not what is specified in the users file? I have only tweaked the users and clients.conf files. Just simple MAC authentication, that's all I want at this point. Thanks in advance! - Steve
Steve Wu wrote:
I want my wireless clients to do MAC authentication via the FR box. I have setup my users file to auth two of my test laptops:
000E35-84610A Auth-Type := Local, User-Password == "esradius" 00215C-08B25D Auth-Type := Local, User-Password == "esradius"
Those entries are wrong, even in 1.1.7. You should use: 000E35-84610A Cleartext-Password := "000E35-84610A" ...
When either tries to connect up, in the FR debug I see:
rad_recv: Access-Request packet from host 10.10.18.241:2160, id=7, length=53 User-Name = "00215c-08b25d" User-Password = "00215c-08b25d"
Which doesn't match the password you put into the "users" file.
Why is the User-Password the MAC address and not what is specified in the users file? I have only tweaked the users and clients.conf files.
Maybe you're not clear on what's happening. The *NAS* is sending the packet containing that User-Password attribute. The RADIUS server has no control over that. The RADIUS server is supposed to look at that password, and see if it's valid. The configuration I showed above will tell the server to do that. Alan DeKok.
participants (5)
-
Alan DeKok -
Kenneth Marshall -
Nicolas Goutte -
Steve Wu -
Tim Sylvester