This is an old revision of the document!


* MySQL or PostgreSQL or SQLite
* Net::Server >= 0.96
* Config::IniFiles (Debian based: libconfig-inifiles-perl, RPM based: perl-Config-IniFiles)
* Cache::FastMmap (Debian based: libcache-fastmmap-perl, RPM based: perl-Cache-FastMmap)
* DateTime (requires: perl-Class-Singleton)
* TimeDate
* Crypt::DES
* Crytpt::RC4
* Digest::SHA1
* Digest::MD4
* PHP v5+ (WebUI)


  • Setup MySQL (or which ever database you plan to use)
  • # In database/ run...
    $ for i in core.tsql wisp.tsql users-accounting-summary.tsql
    $ do
    $        ./convert-tsql mysql $i # Where mysql is your database choice, see ./convert-tsql help
    $ done > smradius.mysql
    # Load smradius.mysql into your database
    $ mysql -u root -p smradius < smradius.mysql
  • Adjust smradiusd.conf to reflect your database details
  • Copy the webgui/ & webui/ directories to your http directory and alter webgui/include/config.php and webui/user/include/config.php to reflect your database details
  • Copy the smradius/ & awitpt/ directories into /usr/local/lib/smradius/
  • mkdir /usr/local/lib/smradius
    cp -r cbp /usr/local/lib/smradius/
    cp -r awitpt/awitpt /usr/local/lib/smradius/
  • Copy smradiusd and smadmin into /usr/local/bin
  • cp smadmin /usr/local/bin/
    cp smradiusd /usr/local/sbin/
  • Setup system dirs
  • mkdir /var/log/smradius
    mkdir /var/run/smradius
    • If you are running smradius as an unprivileged user:
    • chown smradius.smradius /var/log/smradius /var/run/smradius
  • You can now browse to the web interface and configure