Version 5 (modified by benoitg, 14 years ago)

These steps are not necessary with recent authserver.


Wifidog works great for open networks where you would allow anyone to connect and register. This may not always be the desired result you are looking for.

With this in mind I have made a few very minor changes which allow Wifidog to operate in this manner, while not disturbing the original way in which Wifidog is supposed to operate. My goal is to work to improve this, and hopefully collaborate in order to expand the area in which Wifidog is used.

This document will assume the reader understands the normal operation of a Wifidog network and is wanting to apply this configuration to an already operational network.

Follow the directions below to make these changes, then access  http://wifidogauthserver/manual_adduser.php. You will add users here. Everything else will operate normally.

The original Author, Andrew Hodel can be contacted at andrewhodel _@_

First Step - Authenticator:

Initially you must set the Network authenticator class for the default network to "AuthenticatorLocalUserNoSignup"

Second Step - Code Changes:

Below is a list of files, a list of changes for each file with the reasoning behind it, and a copy of the modified file. For the time being you can simply copy the files to your installation of Wifidog. All files are attached.

* /manual_useradd.php - Creates the User and Activates the Account, Based from /signup.php (*NEW FILE*)

* /templates/sites/manual_useradd.tpl - Smarty Template for /manual_useradd.php (*NEW FILE*)

Future Work and Goals

The first and most important goal is to either insert authentication code in the manual_useradd script, or move the code into the current user manager. As it stands right now anyone who can access that file can add a new user!

Other ideas are floating around but currently there is much work to be done on what we have. If you have any ideas to add please include them below.