Difference between revisions of "CoovaChilli"

From ArchWiki
Jump to: navigation, search
(FreeRadius setup)
(FreeRadius setup)
Line 28: Line 28:
 
}</nowiki>
 
}</nowiki>
 
}}
 
}}
Adjust following settings:
+
Adjust the following settings:
 
{{hc|/etc/raddb/sql.conf|
 
{{hc|/etc/raddb/sql.conf|
 
<nowiki>        server = "localhost"
 
<nowiki>        server = "localhost"
 
         login = "root"
 
         login = "root"
 
         password = "xxxx"</nowiki>
 
         password = "xxxx"</nowiki>
 +
}}
 +
Uncomment the following settings:
 +
{{hc|/etc/freeradius/sites-available/default|
 +
<nowiki>authorize {
 +
          sql
 +
}
 +
 +
accounting {
 +
        sql
 +
}</nowiki>
 
}}
 
}}
  
 
= Also read =
 
= Also read =
 
https://mohammadthalif.wordpress.com/2010/12/14/list-of-open-source-captive-portal-software-and-network-access-control-nac/#comment-428
 
https://mohammadthalif.wordpress.com/2010/12/14/list-of-open-source-captive-portal-software-and-network-access-control-nac/#comment-428

Revision as of 17:50, 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#)

Introduction

http://coova.org/CoovaChilli

Installation

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.

  • Symlink daloradius to /var/www
  • cp -r /var/www/daloradius/contrib/chilli/portal2/* /var/www/
  • rm /var/www/index.html

FreeRadius setup

/etc/raddb/clients.conf
client 127.0.0.1 {
 secret     = mysecret
}

Adjust the following settings:

/etc/raddb/sql.conf
        server = "localhost"
        login = "root"
        password = "xxxx"

Uncomment the following settings:

/etc/freeradius/sites-available/default
authorize {
          sql
}

accounting {
         sql
}

Also read

https://mohammadthalif.wordpress.com/2010/12/14/list-of-open-source-captive-portal-software-and-network-access-control-nac/#comment-428