[Chilli] OpenWRT trunk chilli 1.3 init.d

Stephen Davies steve at base-it.co.uk
Tue May 27 12:04:19 UTC 2014


This works for me. Run it with 'etc/init.d/chilli start' to create the 
necessary config files eg: hs.conf, main.conf. Then start chilli with 
the command 'chilli'.

|#!/bin/sh /etc/rc.common
# ============================================
# == Coova Chilli Startup Script =============
# == Hardware: Ubiquity PicoStation2 =========
# == Version: 0.1 ============================
# == Date: 2009-10-22 ========================
# == Author: Dirk van der Walt ===============
# ============================================

START=80
STOP=85

. /etc/chilli/functions

start() {
         echo start
         # commands to launch application
         /sbin/modprobe tun > /dev/null 2>&1
         echo 1 > /proc/sys/net/ipv4/ip_forward
         writeconfig
         radiusconfig
         iptables -F POSTROUTING -t nat
         iptables -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE
         ifconfig $HS_LANIF 0.0.0.0
         checkrunning


}

stop() {
         echo stop
         killall chilli
         # commands to kill application
}

checkrunning(){
         check=`/bin/pidof chilli`
         if [ -z $check ]
         then
                 echo "Chilli not running"
                 chilli

         else
                 echo "Chilli runnig PID: "$check
         fi
}|


On 27/05/2014 12:52, andrew at PolkaSpots.com wrote:
> Hi guys,
>
> Does anyone have a working/latest init.d chilli 1.3 for openwrt?
>
> Regards,
> Andrew
>
> On 27/05/14 06:26, Outback Dingo wrote:
>>
>>
>> On Tue, May 27, 2014 at 3:00 PM, Sachin Yadav <sachin0235 at yahoo.com 
>> <mailto:sachin0235 at yahoo.com>> wrote:
>>
>>     Hi,
>>
>>     I am running coova chilli 1.3 on openwrt deployed in my APs. My
>>     hotspot portal, radius and mysql runs on cloud. Sometimes during
>>     the day my clients; while attempting to login can not login due
>>     to "Radius request timed out" error in coovachilli. I had
>>     confirmed that no request for radius-authentication ever arrived
>>     on my freeradius server.
>>
>>     Can someone please help me understand how do i fix this error?
>>
>>
>> sounds like a potential link issue or other problem communication 
>> with the radius server
>>
>>
>>     Thanks,
>>     Sachin
>>
>>     _______________________________________________
>>     Chilli mailing list
>>     Chilli at coova.org <mailto:Chilli at coova.org>
>>     http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>>
>>
>>
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
> ---------------------------------------------------------------------------------------
>
> The information contained in this email and its attachments is confidential and may be the subject of legal, professional or other privilege. It is intended only for the named addressees and may not be disclosed to anyone else without consent from PolkaSpots Limited. If you are not the named addressee you must not use, disclose, distribute, copy, print or rely on the contents of this email and should destroy it immediately. Whilst PolkaSpots Limited takes care to protect its systems from electronic virus attack or other harmful event, the firm gives no warranty that this email message (including any attachments to it) is free of any virus or other harmful matter and accepts no responsibility for any loss or damage resulting from the recipient receiving, opening or using it. If you need any further information, please contact the originator of this message on +44 (0)20 7183 1471.
>
> PolkaSpots is a limited company registered in the UK (registered number 05508105). Registered Office: 204 Buspace Studios, Conlan Street, London W10 5AP
>
> Website: www.polkaspots.com
> WiFi Hotspot Blog: www.polkaspots.com/blog
>
> ---------------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140527/9d7fb413/attachment.html>


More information about the Chilli mailing list