Radius Attribute Example

Can somebody show me and example of a Radius Attribute to be used with Mikrotik and Freeradius? Maybe more specifically to apply a Radius Attribute to a user account so they inherit a specific hotspot user profile?
Thanks

Mikrotik-Group specifies which hotspot user profile to use. There is a list of radius attributes at the end of this page.
http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client

This should be entered in the radreply table in the radius SQL database. The format is about the same as entering a user/password into the radcheck table. If you want to assign the user username to the “managers” profile in “/ip hotspot user profile”, use this:

insert into radreply (UserName,Attribute,Value) values (‘username’,‘Mikrotik-Group’,‘managers’);

managers must be a valid profile or an error will be generated.

insert into radreply (UserName,Attribute,Value) values (‘username’,‘Mikrotik-Group’,‘managers’);

That’s what I’m looking for :slight_smile: :smiley: . However, with Radius Manager by DMASoftlab, which is built on FreeRadius and what we are using, that context didn’t work, so I checked the Radius log on the Mikrotik router, and noticed the format it used. I applied the following to the Radius Attribute on our system:

Mikrotik-Group = "> userprofilename> "

Now it Works, and the next step will be to get rid of dynamic queues for hotspot users and apply the user to a queue tree. Still testing, but looks good so far.

Karma for pushing me in the right direction!