Difference between revisions of "CoovaChilli"

From ArchWiki
Jump to: navigation, search
Line 21: Line 21:
== Daloradius ==
== Daloradius ==
{{bc|<nowiki>$ /usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
{{bc|<nowiki>$ /usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
§ rm /usr/share/nginx/html/index.html</nowiki>}}
$ rm /usr/share/nginx/html/index.html</nowiki>}}
== FreeRadius setup ==
== FreeRadius setup ==

Revision as of 18:04, 20 May 2013

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki - Music Player Daemon Template:Article summary end

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: Work in progress :) (Discuss in Talk:CoovaChilli#)




Several other applications are required for an example setup of CoovaChilli:

pacman -S freeradius nginx mariadb phpmyadmin php

From the AUR install the following two packages: daloradiusAUR and coova-chilliAUR.

Example configuration

Example configuration for a full and working CoovaChilli setup. Consider eth0 is the interface for our incoming internet connection and eth1 is the gateway interface for our unknown wifi clients and is coonnected to various hot-spots.

  • cp -r /var/www/daloradius/contrib/chilli/portal2/* /var/www/


$ /usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
$ rm /usr/share/nginx/html/index.html

FreeRadius setup

client {
 secret     = mysecret

Adjust the following settings:

        server = "localhost"
        login = "root"
        password = "xxxx"

Uncomment the following settings:

authorize {

accounting {

Uncomment the following settings:

       $INCLUDE sql.conf

Start and enable applications

systemctl enable nginx freeradius mysqld
systemctl start nginx freeradius mysqld

Also read