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 ;-)

Re: dns problem, please help

have u already install bind9 on your linux pc?
edit file:

/etc/bind/named.conf.options
..................
         forwarders {
         your_dns_ISP;
         or_ip_open_dns_dot_com;
         };
         ................

P.S. sorry for my bad english ;-)

3 (edited by easyzonecorp 2008-10-02 12:16:49)

Re: dns problem, please help

I install on ubuntu 8.04 and it works.
I have got this problem before when i install on ubuntu 7.04
but on ubuntu 6.10 it works by install bind.

On Ubuntu 7.04
you must check dns server on tasksel install

put command #tasksel
then ubuntu will show windows to check dns server.
make it install you will get it work all.

Becareful on Firewall

EXTIF=eth0
INTIF=eth1

EXTIF=out going to internet
INTIF=out put to access point on local network

Regards