extra radius attributes during authorize

Hello,

I’m testing a new setup at the moment where I want to change the way of billing.
At the moment I have setup a billing platform with radius, setup a Mikrotik hotspot to authenticate to the radius server, that works all fine.

What I want to do now is make is make a drop down menu on the login page where you can select what internet speed you want to have (on the radius site this means a different rate)
Radius site is all done and working, but now I have to send an extra attribute to the radius server during authenticate.
In the manual there is something about radius to send, but I don’t know how to setup or can’t find any example.

so in basic what I want to do on the login page is send extra radius attributes.

Does anybody know how to do that?

Thanks in advance

What I want to do now is make is make a drop down menu on the login page where you can select what internet speed you want to have (on the radius site this means a different rate)

Don’t you mean a dropdown box on the purchase or signup page? If you let your users select the bandwidth on the login page, only a retarded user would select low.

What RADIUS server software are you using?

Thanks for the reply.

I’m building some sort of a credits system, in other words, you buy credits and it’s up to you how to use it, if you want to use 1 hour fast internet it cost you x credits, if you want to buy the next hour one hour slow speed internet it will cost you y credits.
everything will be handled by the radius server, the only thing I need is to send this info in the radius request when the user logs in, and that’s the part I don’t know how to do that.
The radius part is working, only thing is I can’t get it to work to send extra info besides the username and password within the radius request from the hotspot.

I’m using freeradius with mysql.

Anybody knows how to solve this?