Posted on 2009-04-24
Medium Priority
Last Modified: 2012-06-22

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!

Question by:Julian Matz
  • 5
LVL 21

Author Comment

by:Julian Matz
ID: 24230939
Just found this:


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.
LVL 21

Author Comment

by:Julian Matz
ID: 24232782
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?
LVL 57

Accepted Solution

giltjr earned 2000 total points
ID: 24233074
You may want to look at webmin or usermin.  I don't know if they include a RADIUS interface or not, but they do include just about everything else so they might.

If your RADIUS package can use local user-id's then usermin can be used to mange local user-id's.
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

LVL 21

Author Comment

by:Julian Matz
ID: 24233187
Thanks, will have a look at that.

I also found this PHP class:

... which if works would be great since I'd be able to integrate it with my existing CRM interface.
LVL 21

Author Comment

by:Julian Matz
ID: 24236559
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:
LVL 21

Author Comment

by:Julian Matz
ID: 24342464
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!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
The Summer 2017 Scholarship Winners have been announced!
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question