[Chilli] CoovaChilli behind ADSL2+ router

Sachin Yadav sachin0235 at yahoo.com
Wed Jun 4 13:08:20 UTC 2014


Hi,

I have a configuration where my Chilli wifi router is behind ISP provided ADSL2 modem+router. So final configuration is like -

client (192.168.182.x) ===> coovachilli router (192.168.1.99) ==> ISP ADSL2 modem (192.168.1.1) ==> (public IP) Internet

Sometimes what happen is due to electricity fluctuation ISP ADSL2 modem reboots along with coova chilli router. Coova chilli router reboots faster while modem is still trying to get a stable link. After this once WAN link is stable, if client tries to connect our UAM portal opens up for taking username and password but coovachilli request to radius for access gets failed due to timed out. We have to reboot coovachilli router and only then the problem resolves. Following are the logs -

Log - 1
----------------------------------------

redir.c: 2103: 0 (Debug) The path: ncsi.txt
redir.c: 2413: 0 (Debug) -->> Setting userurl=[http://www.msftncsi.com/ncsi.txt]
redir.c: 3962: 0 (Debug) redir_accept: Original request host=www.msftncsi.com
redir.c: 987: 0 (Debug) redir_wispr2_reply
chilli.c: 379: 0 (Debug) caught 18 via selfpipe
chilli.c: 310: 0 (Debug) child 1334 terminated
chilli.c: 135: 0 (Debug) Freed child process 1334 [[redir]]
redir.c: 2020: 131 (Connection reset by peer) redir_read(0) failed!
redir.c: 3383: 0 (Debug) Error calling get_req. Terminating -1
chilli.c: 379: 0 (Debug) caught 18 via selfpipe
chilli.c: 310: 0 (Debug) child 1335 terminated
chilli.c: 135: 0 (Debug) Freed child process 1335 [[redir]]


Log 2
==================================================================-


dhcp.c: 1173: 0 (Debug) dhcpif (wlan0) IPv6 address fe80::cad3:a3ff:fe6e:32b0
radius.c: 1315: 0 (Debug) RADIUS client 0.0.0.0:0
chilli.c: 7303: 0 (Debug) Waiting for client request...
radius.c: 321: 0 (Debug) Allocating RADIUS packet
net.c: 388: 0 (Debug) net select count: 1
net.c: 388: 0 (Debug) net select count: 2
net.c: 388: 0 (Debug) net select count: 3
net.c: 388: 0 (Debug) net select count: 4
net.c: 388: 0 (Debug) net select count: 5
net.c: 388: 0 (Debug) net select count: 6
net.c: 388: 0 (Debug) net select count: 7
net.c: 388: 0 (Debug) net select count: 8
dhcp.c: 3555: 0 (Debug) chopping off trailer length 6
dhcp.c: 3555: 0 (Debug) chopping off trailer length 6

dhcp.c: 3640: 0 (Debug) Address not found (192.168.182.5)
dhcp.c: 730: 0 (Debug) DHCP newconn: dc:85:de:52:41:f4
chilli.c: 5117: 0 (Debug) New DHCP request from MAC=DC-85-DE-52-41-F4
chilli.c: 5120: 0 (Debug) New DHCP connection established
chilli.c: 5076: 0 (Debug) New Chilli Connection
chilli.c: 4869: 0 (Debug) ----> cb_dhcp_request <----
chilli.c: 4873: 0 (Debug) DHCP request for IP address 192.168.182.5
chilli.c: 835: 0 (Debug) newip 192.168.182.5
ippool.c: 456: 0 (Debug) Requesting new static ip: 192.168.182.5
ippool.c: 479: 0 (Debug) HERE!!! -> 0
ippool.c: 482: 0 (Debug) Static IP address not allowed
ippool.c: 456: 0 (Debug) Requesting new dynamic ip: 192.168.182.5
chilli.c: 5005: 0 (Debug) Client MAC=DC-85-DE-52-41-F4 assigned IP 192.168.182.5
dhcp.c: 3921: 0 (Debug) dropping packet; unhandled auth state 0
chilli.c: 310: 0 (Debug) child 1260 terminated

radius.c: 1898: 0 (Debug) Received RADIUS packet id=0
radius.c: 421: 0 (Debug) Freeing RADIUS packet
radius.c: 426: 0 (Debug) RADIUS queue-out id=0 idx=0
dhcp.c: 3509: 0 (Debug) dropping non-IPv4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140604/234f7640/attachment.html>


More information about the Chilli mailing list