Page 1 of 1

Mac Auth

Posted: Fri Apr 06, 2007 4:29 pm
by hrober
Hi guys.

I'm using MT with three atheros card in ap-bridge mode, this cards sharing the same SSID and have distinct channel numbers.

With access-list option, I can allow that one mac-address connect in a specify card only.

My ask
In Mac authentication, via Radius server, is possible specify the card name that custumer connect and allow the connection only in this card ?

[*] Sorry my bad English and I hope that anyone can help me[/i]

Posted: Fri Apr 06, 2007 6:47 pm
by cmacneill
Try searching old posts, I believe I saw one where the answer was to set the username in RADIUS to the MAC address.

Posted: Mon Apr 09, 2007 3:06 pm
by barrozo
Yes, you can do that...

FreeRadius example:

00:00:00:00:00:00 Auth-Type := Accept, User-Password == "", NAS-Port-Id == "CARD NAME"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobsen-TCP-IP,
Ascend-Data-Rate = 256, (if want specify down rate)
Ascend-XMit-Rate = 128 (if want specify up rate)

Posted: Wed Apr 11, 2007 4:03 pm
by hrober
Yes, you can do that...

FreeRadius example:

00:00:00:00:00:00 Auth-Type := Accept, User-Password == "", NAS-Port-Id == "CARD NAME"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobsen-TCP-IP,
Ascend-Data-Rate = 256, (if want specify down rate)
Ascend-XMit-Rate = 128 (if want specify up rate)

Hi barrozo,

In your example, using freeradius server, I do should insert values in radcheck table ?

radcheck
UserName Attribute op Value
00:00:00:00:00:00:00 Password == empty
00:00:00:00:00:00:00 Nas-Port-Id == MyCard

It's right ?

Posted: Sat Apr 14, 2007 5:28 pm
by barrozo
Yes,

00:00:00:00:00:00:00 -> Mac Address of the client