[Chilli] New Post: Need help on Coova-chilli compilation with uclibc

Xabier Oneca -- xOneca xoneca at gmail.com
Thu Sep 12 07:03:08 UTC 2013


It seems as if there is a bug or something in login.chi:

> redir.c: 3632: 0 (Debug) Running: /etc/chilli/wwwsh
/etc/chilli/www/login.chi
> [...]
> /etc/chilli/wwwsh: line 37: can't open /tmp/post.608: no such file

That file is created by wwwsh with available POST data, but only when
Haserl is installed. But seems that login.chi can't find it...
El 10/09/2013 08:18, "prasad tbs" <tbsprasad9 at gmail.com> escribió:

> Hi Xabier,
>
>   Thanks for reply.
> Yes. You are correct. We configured without ipv6 & compiled it
> successfully. So, there is no issue for compilation now.
> But, at present we are facing some issues that "Connection reset/close"
> immediately after entering the login username & password.
>
> The debug log messages are as follows:
>
> redir.c: 3278: 0 (Debug) Calling redir_getstate()
> redir.c: 3323: 0 (Debug) Receiving HTTP Request
> tun.c: 802: 0 (Debug) tun_decaps(idx=0, len=52)
> chilli.c: 2657: 0 (Debug) sending to : 192.168.1.2
> dhcp.c: 5321: 0 (Debug) adding 14 to IP frame length 66
> dhcp.c: 411: 0 (Debug) dhcp_send() len=66
> dhcp.c: 4965: 0 (Debug) dhcp_decaps: src=00:80:81:b9:0f:ed dst=d4:4c:24:00:0a:32 prot=0800 2048 len=934
> dhcp.c: 3497: 0 (Debug) function dhcp_receive_ip()
> dhcp.c: 3630: 0 (Debug) Address found
> tun.c: 1089: 0 (Debug) tun_encaps(tun0) len=920
> tun.c: 802: 0 (Debug) tun_decaps(idx=0, len=64)
> chilli.c: 2657: 0 (Debug) sending to : 192.168.1.2
> dhcp.c: 5321: 0 (Debug) adding 14 to IP frame length 78
> dhcp.c: 411: 0 (Debug) dhcp_send() len=78
> redir.c: 2103: 0 (Debug) The path: www/login.chi
> redir.c: 2175: 0 (Debug) Host: 192.168.1.1:4990
> redir.c: 2214: 0 (Debug) Cookie: PORTAL_SESSIONID=62a386d4627; COOVA_USERURL=http://www.google.com/
> redir.c: 2184: 0 (Debug) Content-Length: 96
> redir.c: 2160: 0 (Debug) end of http-request
> redir.c: 2398: 0 (Debug) Serving file login.chi
> redir.c: 3388: 0 (Debug) Processing HTTP Request
> redir.c: 3632: 0 (Debug) Running: /etc/chilli/wwwsh /etc/chilli/www/login.chi
> tun.c: 802: 0 (Debug) tun_decaps(idx=0, len=59)
> chilli.c: 2657: 0 (Debug) sending to : 192.168.1.2
> dhcp.c: 5321: 0 (Debug) adding 14 to IP frame length 73
> dhcp.c: 411: 0 (Debug) dhcp_send() len=73
> tun.c: 802: 0 (Debug) tun_decaps(idx=0, len=66)
> chilli.c: 2657: 0 (Debug) sending to : 192.168.1.2
> dhcp.c: 5321: 0 (Debug) adding 14 to IP frame length 80
> dhcp.c: 411: 0 (Debug) dhcp_send() len=80
> dhcp.c: 4965: 0 (Debug) dhcp_decaps: src=00:80:81:b9:0f:ed dst=d4:4c:24:00:0a:32 prot=0800 2048 len=66
> dhcp.c: 3497: 0 (Debug) function dhcp_receive_ip()
> dhcp.c: 3630: 0 (Debug) Address found
> tun.c: 1089: 0 (Debug) tun_encaps(tun0) len=52
> dhcp.c: 4965: 0 (Debug) dhcp_decaps: src=00:80:81:b9:0f:ed dst=d4:4c:24:00:0a:32 prot=0800 2048 len=66
> dhcp.c: 3497: 0 (Debug) function dhcp_receive_ip()
> dhcp.c: 3630: 0 (Debug) Address found
> tun.c: 1089: 0 (Debug) tun_encaps(tun0) len=52
> tun.c: 802: 0 (Debug) tun_decaps(idx=0, len=55)
> chilli.c: 2657: 0 (Debug) sending to : 192.168.1.2
> dhcp.c: 5321: 0 (Debug) adding 14 to IP frame length 69
> dhcp.c: 411: 0 (Debug) dhcp_send() len=69
> tun.c: 802: 0 (Debug) tun_decaps(idx=0, len=52)
> chilli.c: 2657: 0 (Debug) sending to : 192.168.1.2
> dhcp.c: 5321: 0 (Debug) adding 14 to IP frame length 66
> dhcp.c: 411: 0 (Debug) dhcp_send() len=66
> dhcp.c: 4965: 0 (Debug) dhcp_decaps: src=00:80:81:b9:0f:ed dst=d4:4c:24:00:0a:32 prot=0800 2048 len=66
> dhcp.c: 3497: 0 (Debug) function dhcp_receive_ip()
> dhcp.c: 3630: 0 (Debug) Address found
> tun.c: 1089: 0 (Debug) tun_encaps(tun0) len=52
> /etc/chilli/wwwsh: line 37: can't open /tmp/post.608: no such file
>
>
>
> FYI: the compilation details are as follows:
> coova-chilli: 1.3.0
> tool chain: uclibc-4.2.3.3
> processor: mips-linux
> Configuration details: ./configure  --enable-binstatusfile
> --enable-chilliproxy --enable-chilliscript --enable-libjson
> --enable-chilliredir --enable-dnslog --enable-uamdomainfile --enable-eapol
> --enable-largelimits --enable-layer3 --enable-miniportal
> --enable-multiroute  --enable-proxyvsa --enable-extadmvsa
> --enable-redirdnsreq --enable-statusfile --with-poll --without-ipv6
>
> We observed that "--with-openssl"is used for configuration in many
> websites. Is "openssl" is mandatory for coovachilli-1.3.0 configurations.
> We are facing compilation errors with this option.
>
> Please help us to sort out the issue "connection reset/close".
>
> Thanks,
> Prasad
>
>
>
>
>
>
> On Mon, Sep 9, 2013 at 5:16 PM, Xabier Oneca -- xOneca <xoneca at gmail.com>wrote:
>
>> > Hi,
>> >
>> > I am new user working on coova-chilli.
>> > I would like to compile the Coova-chilli source code with uclibc
>> toolchain.
>> > But, i am facing errors while doing "make".
>> >
>> > See error logs below:
>> > [...]
>> >
>> > So, anyone can help me to sort out the issue at earliest possible.
>> >
>> > Thanks,
>> > Prasad
>>
>> Hello Prasad,
>>
>> It's been two months since you first wrote here, and I don't know if
>> you have fixed the problem. You can try to configure the source
>> without IPv6 if you don't need it. It worked for me with CoovaChilli
>> 1.2.9.
>>
>>   $ ./configure --without-ipv6
>>   $ make
>>
>> HTH,
>>
>> Xabier Oneca_,,_
>> _______________________________________________
>> 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/20130912/20f7b5c7/attachment.html>


More information about the Chilli mailing list