RADIUSdesk

This is an old revision of the document!


OpenVPN Bridges => Prepare Coova Chilli

Building and Installing Coova Chilli

  • Download the latest release of Coova Chilli. (Version 1.3.1.4 at the time of this writing)
wget  https://github.com/coova/coova-chilli/archive/1.3.1.4.tar.gz
  • Extract the source and edit the debian/control file to remove the dependency on the haserl package.
tar -xzvf 1.3.1.4.tar.gz
vi coova-chilli-1.3.1.4/debian/control
#Look for this line
Depends: iptables, haserl
#Remove haserl so that it looks like this:
Depends: iptables
#Save your changes
  • Install the packages that is required for building debs.
sudo apt-get update
sudo apt-get install build-essential linux-headers-server libssl-dev
sudo apt install devscripts debhelper gengetopt libtool automake
  • Build the package:
cd coova-chilli-1.3.1.4/
debuild -i -us -uc -b
cd ..
sudo dpkg --install coova-chilli_1.3.0_amd64.deb

Configuring Coova Chilli

Enable CoovaChilli

  • Edit the following file
    sudo vi /etc/default/chilli
  • Change it to look like this
    START_CHILLI=1
    CONFFILE="/etc/chilli.conf"
    HS_USER="chilli"
  • Save the file.

Create the main config file

  • Create a file called /etc/chilli/config and use the following as reference:
HS_WANIF=eth1            # WAN Interface toward the Internet
HS_DNS1=4.4.4.4
HS_DNS2=8.8.8.8
HS_RADIUS=198.27.111.78
HS_RADIUS2=198.27.111.78
HS_RADSECRET=testing123    # Set to be your RADIUS shared secret
HS_UAMSECRET=greatsecret     # Set to be your UAM secret
HS_UAMALIASNAME=chilli
HS_UAMSERVER=$HS_UAMLISTEN
HS_UAMFORMAT=http://198.27.111.78/cake2/rd_cake/dynamic_details/chilli_browser_detect/
HS_UAMHOMEPAGE=http://\$HS_UAMLISTEN:\$HS_UAMPORT/www/coova.html
HS_MODE=hotspot
HS_TYPE=coovachilli
HS_WWWDIR=/etc/chilli/www
HS_WWWBIN=/etc/chilli/wwwsh
HS_PROVIDER=Coova
HS_PROVIDER_LINK=http://coova.github.io/
HS_LOC_NAME="My HotSpot"           # WISPr Location Name and used in portal