Difference between revisions of "CoovaChilli"

From ArchWiki
Jump to: navigation, search
(Installation)
(archive per template)
 
(25 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Network]]
+
#REDIRECT: [[ArchWiki:Archive]]
{{Article summary start}}
 
{{Article summary text|Covers installation and usage of ncmpcpp (ncmpc++)}}
 
{{Article summary heading|Related}}
 
{{Article summary wiki|mpd}} - Music Player Daemon
 
{{Article summary end}}
 
{{Stub|Work in progress :)}}
 
 
 
= Introduction =
 
http://coova.org/CoovaChilli
 
= Installation =
 
Several other applications are required for an example setup of CoovaChilli:
 
{{bc|$ pacman -S freeradius nginx mariadb phpmyadmin php}}
 
From the [[AUR]] install the following two packages: {{aur|daloradius}} and {{aur|coova-chilli}}.
 
 
 
= 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/
 
== Daloradius ==
 
{{bc|<nowiki>$ /usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
 
$ rm /usr/share/nginx/html/index.html</nowiki>}}
 
 
 
== FreeRadius setup ==
 
{{hc|/etc/raddb/clients.conf|
 
<nowiki>client 127.0.0.1 {
 
secret    = mysecret
 
}</nowiki>
 
}}
 
Adjust the following settings:
 
{{hc|/etc/raddb/sql.conf|
 
<nowiki>        server = "localhost"
 
        login = "root"
 
        password = "xxxx"</nowiki>
 
}}
 
Uncomment the following settings:
 
{{hc|/etc/freeradius/sites-available/default|
 
<nowiki>authorize {
 
          sql
 
}
 
 
 
accounting {
 
        sql
 
}</nowiki>
 
}}
 
Uncomment the following settings:
 
{{hc|/etc/freeradius/radiusd.conf|
 
<nowiki>      $INCLUDE sql.conf</nowiki>
 
}}
 
== Start and enable applications ==
 
{{bc|systemctl enable nginx freeradius mysqld
 
systemctl start nginx freeradius mysqld}}
 
 
 
= Also read =
 
* Original tutorial: http://linux.xvx.cz/2010/03/debian-wi-fi-hotspot-using-coovachilli-freeradius-mysql-and-daloradius/
 
* List of Open Source capative portal software and network access control: https://mohammadthalif.wordpress.com/2010/12/14/list-of-open-source-captive-portal-software-and-network-access-control-nac/#comment-428
 

Latest revision as of 14:30, 18 September 2017

Redirect to: