Get Cova Chilli 1.3.0 Source and validate, correct is: ca24ac274340c65a8e7ff704e6866a04380a87c444f261ba84097f0bd1c162e8 coova-chilli-1.3.0.tar.gz
root@raspberrypi:~# wget http://ap.coova.org/chilli/coova-chilli-1.3.0.tar.gz
--2014-02-15 22:37:09-- http://ap.coova.org/chilli/coova-chilli-1.3.0.tar.gz
Resolving ap.coova.org (ap.coova.org)... 174.129.195.118
Connecting to ap.coova.org (ap.coova.org)|174.129.195.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://coova-chilli.s3.amazonaws.com/coova-chilli-1.3.0.tar.gz [following]
--2014-02-15 22:37:09-- http://coova-chilli.s3.amazonaws.com/coova-chilli-1.3.0.tar.gz
Resolving coova-chilli.s3.amazonaws.com (coova-chilli.s3.amazonaws.com)... 176.32.99.39
Connecting to coova-chilli.s3.amazonaws.com (coova-chilli.s3.amazonaws.com)|176.32.99.39|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 877669 (857K) [application/x-tar]
Saving to: `coova-chilli-1.3.0.tar.gz'
100%[======================================================================>] 877,669 326K/s in 2.6s
2014-02-15 22:37:12 (326 KB/s) - `coova-chilli-1.3.0.tar.gz' saved [877669/877669]
root@raspberrypi:~# sha256sum coova-chilli-1.3.0.tar.gz
ca24ac274340c65a8e7ff704e6866a04380a87c444f261ba84097f0bd1c162e8 coova-chilli-1.3.0.tar.gz
Extract coova sources:
root@raspberrypi:~# mv coova-chilli-1.3.0.tar.gz /usr/src
root@raspberrypi:~# cd /usr/src
root@raspberrypi:/usr/src# tar -xzf coova-chilli-1.3.0.tar.gz
Install SSL and CURL Development package
apt-get install debhelper libssl-dev libcurl4-openssl-dev
Now configure the source code, step back to user "**pi**" (**non root user!!**)\\
pi@raspberrypi:~# cd /usr/src/coova-chilli-1.3.0
./configure --prefix=/usr \
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
--sysconfdir=/etc --localstatedir=/var --enable-largelimits \
--enable-binstatusfile --enable-statusfile --enable-chilliproxy \
--enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \
--with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \
--enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \
--enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \
--enable-chilliscript --enable-eapol --enable-uamdomainfile \
--enable-modules --enable-multiroute
The configuration task will last a while\\
Set the compatibly level to 9, missing this may lead to a .deb file that is instable, incomplete or unusabale, therfor set it to 9.
echo 9 > debian/compat
Change line 54 nearly at the end of the rules file, change **$(MAKE) DESTDIR=$(CURDIR)debian/tmp/install** to:
vi /usr/src/coova-chilli-1.3.0/debian/rules
$(MAKE) DESTDIR=/ install
This will take care that files are placed to /etc/chilli/ instead of the dir originally set. \\
Now finally start the build process for coova-chilli on raspberry, as root:
root@raspberry:/usr/src/coova-chilli-1.3.0# dpkg-buildpackage -us -uc
The making of the coova-chilli.deb packet will take a while, approximately 20 Minutes will pass.\\
[[f11:technik:raspberrypi:hotspotdm3kb|Back to HotSpot Overview-Page]]