[Chilli] How to set up CoovaChilli ?

Masashi Honma honma at ictec.co.jp
Thu Mar 4 10:40:47 UTC 2010


Hello.

I'm configuring CoovaChilli with Debian testing and CoovaChilli 1.2.2.
I'm connecting my PCs like Fig 1.

     192.168.182.2   192.168.182.1       192.168.1.33   192.168.1.1
PC1 ------------------------------- PC2 ---------------------------- PC3
                             wlan1       eth0
Fig 1.

The PC2 is Captive portal, it includes CoovaChilli, FreeRADIUS 2.1.8
and bind 9.6.1. The PC1 and the PC2 is connected with 802.11. The PC2
and the PC3 is connected with the Ethernet. The PC1 is Captive portal
client and it's IP address is provided by CoovaChilli DHCP server.

Before RADIUS authentication, PC1 can only ping to 192.168.182.1.
After RADIUS authentication, PC1 can ping to 192.168.1.33.
(Of course 192.168.182.1 and 192.168.1.33 are interfaces of PC2.)
But PC1 can't ping to 192.168.1.1.

And the details are:

1) The /proc/sys/net/ipv4/ip_forward is 1.

2) The main.conf is this.
------------------------------
net 192.168.182.0/255.255.255.0
uamlisten 192.168.182.1

dns1 192.168.182.1

radiusserver1 192.168.1.33
radiusserver2 192.168.1.33
radiussecret xxxxxx

dhcpif wlan1
uamserver http://192.168.1.33/cgi-bin/hotspotlogin.cgi
------------------------------

3) I build CoovaChilli without any option (only typed "./configure").

4) The iptables has no rules without CoovaChilli script defined.

5) I have added "routeif eth0" statement to the main.conf. But
there was no change.

I have read some source codes, but I couldn't solve the problem. Is anybody
know what is a matter ?

Regards,
Masashi Honma.


More information about the Chilli mailing list