Topic: dns problem, please help
Hi, i'm trying to setup chilli on a linux pc with ubuntu 7.04.
I find a lot of documentation, and freeradius, mysql and apache are working fine, but i have a dns problem.
All is working fine, dhcp assign ip, gateway dns1 and dns2 to the client, but when i open internet explorer i have no redirection to login page.
I check all what i know, and now i need your help to solve this problem.
1) dns (and so internet ) is working fine on server machine.
2) no dhcp server is setup on server machine
3) on server machine i'm using provider dns1 and dns2.
3) i put 192.168.182.0/24,dns1,dns2,server ip in uamallowed and dhcpif1 eth1
4) i use firewall setup find in chillispot
$ sudo cp /usr/share/doc/chillispot/firewall.iptables /etc/init.d/chilli.iptables
$ sudo chmod a+x /etc/init.d/chilli.iptables
$ sudo ln -s ../init.d/chilli.iptables /etc/rcS.d/S41chilli.iptables
EXTIF=eth0
INTIF=eth1
5) enabled ip_forward in sysctl.conf
When i start chilli in debug mode, after dhcp client assignment i have only many
"cb_dhcp_data_ind. pachet received. dhcp autostate : 5" lines, no port 53 traffic or other traffic.
Sometimes ( but i don't understand why and how ) , if i change dns setting in my resolv.conf and then restart networking and chilli, redirect is working fine. But , if i restart my pc it does not work again.
I'm not linux expert and i don'know what to do to solve this.
Please help !!!
Thanks
Ivo
P.S. sorry for my bad english ;-)