CoovaChilli test VM configuration Part I, 31 August 2010
CommuniG8 Limited is a small start-up IT consultancy.
In this article, we will list the installation procedure used to build a CentOS 5.5 64-bit VMware Virtual Machine used to run CoovaChilli 1.2.4 utilising the Coova Mini Portal as a HotSpot for another VM runing a web browser.
As part of a project to test building a Captive Portal for a Wireless Hotspot network, we needed to setup a virtual network with two Virtual Machines where one was the CoovaChilli Server and another could be used to run a web browser through the HotSpot so that we could test a number of configuration options.
Please also see the following article which explains how to configure VMware Fusion to disable the internal VMware DHCP - click here.
CentOS 5.5 64-bit Installation/Configuration
CentOS 5 installed with default options and updated via yum (as of 26-08-2010)
Must have two LAN Interfaces implemented as a VMware "HostOnly" LAN (VMware DHCP Server disabled)
eth0 to internet (UPLINK)
eth1 to WiFi (DOWNLINK,subscriber) - DONT CONFIGURE IP
Create /etc/modprobe.d/disable-ipv6.conf containing "options ipv6 disable=1" and "blacklist ipv6"
yum install gcc
yum install openssl-devel
tar xzf haserl-0.9.26.tar.gz
CoovaChilli 1.2.4 Installation
tar xzf coova-chilli-1.2.4.tar.gz
./configure --prefix= --enable-miniportal --with-openssl
edit /etc/rc.d/init.d/chilli, change "$(which start-stop-daemon)" to "$(which start-stop-daemon 2>/dev/null)" twice
edit /etc/rc.d/init.d/chilli, change start seq from 65 to 99
chkconfig chilli on
CoovaChilli 1.2.4 Configuaration
Create /etc/chilli/config and include the following;
The configuration used above is enough to get a basic test system started. We will expland on this to include freeRadius with MySQL in the next article.
Richard Gate, CommuniG8 Limited
Rats Pen Lane