mac address auth question
Hi, i'm using freeradius 1.0.5. i make a pppoe server with rp-pppoe and freeradius without mysql and i make auth by username and password all i need to add to my configuration a check if mac address and if valid accept ( a mac address authentication but without mysql ) so how can i make this think and thanks in advanced . Sorry for my bad inglish --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
kdr akm wrote:
Hi, i'm using freeradius 1.0.5. i make a pppoe server with rp-pppoe and freeradius without mysql and i make auth by username and password all i need to add to my configuration a check if mac address and if valid accept ( a mac address authentication but without mysql ) so how can i make this think and thanks in advanced . Sorry for my bad inglish
------------------------------------------------------------------------ Yahoo! Music Unlimited - Access over 1 million songs. Try it free. <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
If I understand this correctly, you want PPPoE users to be able to login, but only from a certain MAC address. I believe the MAC shows up as CallingStationID when using rp-pppoe and freeradius. So you would want a check like CallingStationID == 00:11:22:33:aa:bb For the particular user in the users file. -- --------------------------- | Nick White | | Network Administrator | | Tele-NET Internet | | http://www.tele-net.net | | nwtech@tele-net.net | ---------------------------
Hi Mr N White Thanks for replying and i do what u said but it not success this is my /etc/raddb/users file if u can take a look to see if i do it right plz and notice me if there's something wrong : --------------------------------------------------------cut-------------------------------------------------------------------------- steve Auth-Type := local, User-Password == "testing" Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 192.168.150.222, Framed-IP-Netmask = 255.255.255.0, Framed-Routing = Broadcast-Listen, Framed-Filter-Id = "std.ppp", Framed-MTU = 1500, Calling-Station-ID == "00:C0:26:8A:E5:4F", Framed-Compression = Van-Jacobsen-TCP-IP DEFAULT Auth-Type = System Fall-Through = 1 DEFAULT Service-Type == Framed-User Framed-IP-Address = 255.255.255.254, Framed-MTU = 576, Service-Type = Framed-User, Fall-Through = Yes DEFAULT Framed-Protocol == PPP Framed-Protocol = PPP, Framed-Compression = Van-Jacobson-TCP-IP DEFAULT Hint == "CSLIP" Framed-Protocol = SLIP, Framed-Compression = Van-Jacobson-TCP-IP DEFAULT Hint == "SLIP" Framed-Protocol = SLIP --------------------------------------------------------cut-------------------------------------------------------------------------- and i.am starting to use mysql and i success but not with mac address auth 2 all my problems is to be users able to login, but only from a certain MAC address if u can help me with mysql it will be better then without mysql and thanks in advances Kdr Akm N White <nwtech@tele-net.net> wrote: kdr akm wrote:
Hi, i'm using freeradius 1.0.5. i make a pppoe server with rp-pppoe and freeradius without mysql and i make auth by username and password all i need to add to my configuration a check if mac address and if valid accept ( a mac address authentication but without mysql ) so how can i make this think and thanks in advanced . Sorry for my bad inglish
------------------------------------------------------------------------ Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
If I understand this correctly, you want PPPoE users to be able to login, but only from a certain MAC address. I believe the MAC shows up as CallingStationID when using rp-pppoe and freeradius. So you would want a check like CallingStationID == 00:11:22:33:aa:bb For the particular user in the users file. -- --------------------------- | Nick White | | Network Administrator | | Tele-NET Internet | | http://www.tele-net.net | | nwtech@tele-net.net | --------------------------- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click.
participants (2)
-
kdr akm -
N White