Replacing Chillispot with Coova-Chilli

Post translations, custom login pages and any customization that you have done..

Replacing Chillispot with Coova-Chilli

Postby vcool » Thu Jun 03, 2010 3:39 am

It should be one of the new feature for next EasyHotspot version, but i think its a good idea to share how to replace our chillispot captive portal with Coova-Chilli
  • Download Coova chilli from http://ap.coova.org/chilli/coova-chilli_1.2.2_i386.deb
  • Install it with double clicking it or type
    Code: Select all
    sudo dpkg -i coova-chilli_1.2.2_i386.deb
  • Coova-chilli is disabled by default, we need to enable it. Edit /etc/default/chilli , change START_CHILLI=0 to START_CHILLI=1
  • Coova-chilli needs haserl, so we need to download and install it.
    Download haserl from http://sourceforge.net/projects/haserl/ ... z/download .
    Extract it : tar -xvzf haserl-0.8.0.tar.gz
    Install : cd haserl-0.8.0;./configure;make;sudo make install
  • Edit /etc/chilli/wwwsh.
    Find
    Code: Select all
    haserl=$(which haserl 2>/dev/nulla)

    change to
    Code: Select all
    haserl=/usr/local/bin/haserl
  • Disable old chillispot script
    Code: Select all
    sudo chmod -x /etc/init.d/chillispot
    sudo chmod -x /etc/init.d/chillispot.firewall
  • add this code to /etc/chilli/up.sh
    Code: Select all
    # may not have been populated the first time; run again
    [ -e "/var/run/chilli.iptables" ] && sh /var/run/chilli.iptables 2>/dev/null
    # force-add the final rule necessary to fix routing tables
    iptables -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE
  • Restart

NOTE : Replacing Chillispot with Coova-chilli will make your Chillispot management (via web) not usable anymore, since this feature only support chillispot configuration.
Im also havent fully tried yet the compatibility with EasyHotspot generated vouchers.
vcool
 
Posts: 104
Joined: Tue Mar 30, 2010 8:27 am

Re: Replacing Chillispot with Coova-Chilli

Postby helmi » Sat Jun 05, 2010 3:38 am

Great post !
It should be one of the new feature for next EasyHotspot version
Nice info ! It would be great if the next version release very soon (as soon as possible :mrgreen: )
-= Aku hanyalah seorang user yang puas dan bangga akan produk anak negeri =-
helmi
 
Posts: 131
Joined: Wed Mar 31, 2010 2:23 pm
Location: Bandung - Jakarta

Re: Replacing Chillispot with Coova-Chilli

Postby mad_gcc » Mon Jun 07, 2010 12:51 pm

Hi all.

First of all, big thanks to the developers for such a great piece of software.

Second, the problem is *definitely* the ancient chillispot. By all means CHANGE the original chillispot for coova-chilli following the precise instructions given above.

Third, the postpaid users and vouchers are entirely compatible with the new chilli. I have tested it.

Now I'm happy :-)

THANKS!!!!
mad_gcc
 
Posts: 1
Joined: Mon Jun 07, 2010 12:42 pm

Re: Replacing Chillispot with Coova-Chilli

Postby seuntech » Tue Jun 08, 2010 3:36 pm

after following the instrution my system stoped browsing and the ip giving out change from 192..... to 10.... and i could not find haserl=$(which haserl 2>/dev/nulla) this is what i saw haserl=$(which haserl 2>/dev/null) thanks when is the next update coming out
seuntech
 
Posts: 3
Joined: Tue Jun 08, 2010 3:12 pm

Re: Replacing Chillispot with Coova-Chilli

Postby belajar » Thu Jun 10, 2010 1:44 am

Yes, I just upgrade it

I still have problem user login fail when using chilispot or now with chova chili

in radius.log

at starting server :
Thu Jun 10 07:11:14 2010 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.
Thu Jun 10 07:11:24 2010 : Error: Received Accounting-Request packet from 127.0.0.1 with invalid signature! (Shared secret is incorrect.) Dropping packet without response.



and this when user loging :
Thu Jun 10 08:12:53 2010 : Error: Received packet from 127.0.0.1 with invalid Message-Authenticator! (Shared secret is incorrect.) Dropping packet without response.
Thu Jun 10 08:13:03 2010 : Error: Received packet from 127.0.0.1 with invalid Message-Authenticator! (Shared secret is incorrect.) Dropping packet without response.



I Want to correct the shared secret but I dont know what should I change?
where is the configuration file that make it error?



.hrrr pripun niki.
belajar
 
Posts: 34
Joined: Wed Jun 09, 2010 6:38 am

Re: Replacing Chillispot with Coova-Chilli

Postby belajar » Thu Jun 10, 2010 2:01 am

Problem solved :

I just change HS_RADSECRET and HS_UAMSECRET in /etc/chilli/defaults

sip...
belajar
 
Posts: 34
Joined: Wed Jun 09, 2010 6:38 am

Re: Replacing Chillispot with Coova-Chilli

Postby belajar » Fri Jun 11, 2010 8:40 am

masters, can u help me?

http://bit.ly/dwgZ38

how that?
belajar
 
Posts: 34
Joined: Wed Jun 09, 2010 6:38 am

Re: Replacing Chillispot with Coova-Chilli

Postby arief » Sat Jun 12, 2010 7:18 am

http://i1031.photobucket.com/albums/y37 ... enshot.png

please help !!!
setelah ganti chiili ke coova jadinya seperti ini.
mohon bantuan temen2..
arief
 
Posts: 7
Joined: Wed Apr 28, 2010 2:47 pm

Re: Replacing Chillispot with Coova-Chilli

Postby belajar » Sun Jun 13, 2010 3:50 am

arief wrote:http://i1031.photobucket.com/albums/y375/toramio/Screenshot.png

please help !!!
setelah ganti chiili ke coova jadinya seperti ini.
mohon bantuan temen2..


That is not problem, now you with coova , so your coaport not handle by easyhotspot administration web anymore.
The importan things is user can login first with your coova login page. Did you try that? if success, then new..you can make other question just like me this. Okay..
belajar
 
Posts: 34
Joined: Wed Jun 09, 2010 6:38 am

Re: Replacing Chillispot with Coova-Chilli

Postby arief » Mon Jun 14, 2010 3:15 am

belajar wrote:
arief wrote:http://i1031.photobucket.com/albums/y375/toramio/Screenshot.png

please help !!!
setelah ganti chiili ke coova jadinya seperti ini.
mohon bantuan temen2..


That is not problem, now you with coova , so your coaport not handle by easyhotspot administration web anymore.
The importan things is user can login first with your coova login page. Did you try that? if success, then new..you can make other question just like me this. Okay..


thanks for the answer, so far I've tried repeatedly browsing from client computers, but does not show login page, I check on it already can be a DHCP ip from the server 10.1.0.2, and what makes me confused, I can not connect server lan port to the internet if I plug the card for a client, I finally reinstalled back again .... whether there is something wrong with my settings? but I think all directions from the mas vcool I've done with care.
is it really a captive portal like this picture empty? awaited the answer, thanks ...
http://i1031.photobucket.com/albums/y37 ... shot-1.png

ngapunten bhs inggrisipun semrawut..
arief
 
Posts: 7
Joined: Wed Apr 28, 2010 2:47 pm

Next

Return to Customization

Who is online

Users browsing this forum: No registered users and 1 guest