Link to home
Start Free TrialLog in
Avatar of Julian Matz
Julian MatzFlag for Ireland

asked on

RADIUS Server

Hi!

I am setting up a WiFi hotspot service for my clients. I have the hardware, captive portal, and access points. The only thing I'm missing is the RADIUS server (software).

I'd like to set up the RADIUS server on one of my Linux machines. I have a choice between CentOS, Debian and Ubuntu.

The one feature I'd really like is a web-based management interface where the manager of the hotspot location can log into to generate user logins for their guests - to enable them to log in via the captive portal.

So, in other words, the manager logs in, generates username and password which get added to the RADIUS server, prints out the information, and gives it to the guest. The guest can then connect to the hotspot and log in via captive portal.

The service will be free, so no billing required, but do need to log access, online time etc.

It could be that this type of interface is separate from the RADIUS server, in which case I'm sure there must be some kind of APIs out there. I'm fairly handy with PHP, so might be able to cook something up with a little bit of help.

Anywho, any information, tips and help would be much appreciated!

Avatar of Julian Matz
Julian Matz
Flag of Ireland image

ASKER

Just found this:

http://freeradius.org/dialupadmin.html

Seems to be readily available as a Debian package.

Will give that a try. if anyone knows of a better or alternative option, please let me know.
Unfortunately, freeradius-dialupadmin depends on PHP4. Since PHP4 has reached its End of Life in 2007, I'm not going to install it.

Any other ideas?
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, will have a look at that.

I also found this PHP class:
http://www.phpclasses.org/browse/package/4326.html

... which if works would be great since I'd be able to integrate it with my existing CRM interface.
Actually, that class seems more like some authentication client type kind of thing. Not really sure, but doesn't seem to be suitable to my needs.

For other people reading and interested in this thread, daloRADIUS seems to be a pretty decent option: http://www.daloradius.com/ .

For myself, I'd like to make my own interface, and I don't think there'd be that much work involved since freeradius uses MySQL, so from what I can see it would be just a matter of writing some scripts that manipulate the database.

I guess I now have to figure out how freeradius works and configure it properly. It seems like this will be the bigger task since the config files seem a little complicated, and radiusd.conf is a very large file! The RADIUS server seems to be working, but I haven't yet been able to successfully test the MySQL functionality. If you have any information about this part, please let me know.

So far, I've been following these instructions:
http://wiki.freeradius.org/SQL_HOWTO
Once I got freeradius working with MySQL, I figured writing a simple PHP script to talk to the database would be fairly trivial. To be honest I only briefly checked webmin's standard modules, and didn't see anything about radius servers. I didn't check usermin at all, but I do appreciate your help and suggestions. Thanks!