Help on specify MAC auth in 'users' file
Dear all, I'm new to RADIUS but forced to enable wireless access in a hurry. So far I had made EAP-PEAP work with the following line in 'users' file: john Auth-Type := EAP, User-Password == "hello" Now I want to add a condition based on MAC address, but I find: john Calling-Station-Id == "00AABB00AABB", Auth-Type := EAP, User-Password == "hello" not working. I ran the radiusd in debug mode, and it told the Access-Request packet contain the 'Calling-Station-Id' attribute and the correct value, but at the end it said it cannot validate the user. Any idea!? Thanks, Gordon
Gordon Yuen <gdccyuen@yahoo.com> wrote:
So far I had made EAP-PEAP work with the following line in 'users' file:
john Auth-Type := EAP, User-Password == "hello"
Please read the documentation. Setting Auth-Type is WRONG. The "eap.conf" file explains this.
Now I want to add a condition based on MAC address, but I find:
john Calling-Station-Id == "00AABB00AABB", Auth-Type := EAP, User-Password == "hello"
See one of my earlier messages from today. You're mixing up data OUTSIDE the tunnel with data INSIDE the tunnel. Alan DEkok.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Gordon Yuen