Community discussions

MikroTik App
 
variable
Member Candidate
Member Candidate
Topic Author
Posts: 217
Joined: Wed Apr 13, 2005 4:36 am

queue radius

Wed Dec 07, 2005 9:03 am

is it possible to have mt check the mac of the user and then compare that to user accounts stored in a radius server for what to set the users queue to?
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Wed Dec 07, 2005 10:28 am

You could use HotSpot together with RADIUS and use MAC authentication...

Best regards,
Christian Meis
 
User avatar
ramona
just joined
Posts: 23
Joined: Fri Nov 04, 2005 2:13 pm
Location: Africa , pointe noir

Wed Dec 07, 2005 1:37 pm

Yes variable , you can make it , look what i do to make it work with me in radius :
i insert the following lines into the file
/usr/local/etc/raddb/users
DEFAULT Auth-Type = Local
Exec-Program-Wait = "/usr/local/bin/mtauth %{User-Name} %{Calling-Station-
Id}"

and i wrote that perl script mtauth (mikrotik auth ) that check every username for mac address from that attribute ( calling-station-id) it's related to mac address all work fine like i want , configure that and try to make a script that make it for you :wink:
 
ofasa
Member Candidate
Member Candidate
Posts: 102
Joined: Tue Jul 20, 2004 11:42 pm

Wed Dec 07, 2005 2:22 pm

is it possible to have mt check the mac of the user and then compare that to user accounts stored in a radius server for what to set the users queue to?
Just setup different radius groups with their various 'rate-limits' and assign users to these groups.

What do you use for authentication?
 
dorijan
Member Candidate
Member Candidate
Posts: 244
Joined: Fri Jun 04, 2004 12:42 am
Location: Croatia

Mon Dec 26, 2005 3:02 am

Yes variable , you can make it , look what i do to make it work with me in radius :
i insert the following lines into the file
/usr/local/etc/raddb/users
DEFAULT Auth-Type = Local
Exec-Program-Wait = "/usr/local/bin/mtauth %{User-Name} %{Calling-Station-
Id}"

and i wrote that perl script mtauth (mikrotik auth ) that check every username for mac address from that attribute ( calling-station-id) it's related to mac address all work fine like i want , configure that and try to make a script that make it for you :wink:
could you please send me your mtauth file or post it here?
thx :)
dmailj@gmail.com