Posted on 2009-04-24
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
    LVL 21

    Author Comment

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

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

    Author Comment

    by:Julian Matz
    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
    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: .

    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
    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!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    Windows 2012 Essentials - change of router 24 53
    Wireshark 4 32
    Cisco Route Tagging Problem 12 29
    Sonicwall Scheduling 4 16
    This subject  of securing wireless devices conjures up visions of your PC or mobile phone connecting to the Internet through some hotspot at Starbucks. But it is so much more than that. Let’s look at the facts: devices#sthash.eoFY7dic.
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now