Yes, the NAT is ok! The problem is just when i give the comand wifidog -f -d7<br><br><div class="gmail_quote">2009/3/24 Jean-Philippe Menil <span dir="ltr"><<a href="mailto:jean-philippe.menil@univ-nantes.fr">jean-philippe.menil@univ-nantes.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Henrique Gomes - Gerinf - UEG a écrit :<br>
> I'm having the same problem, but sometimes i take the green page, saying<br>
> that i can't conect.<br>
><br>
> 2009/3/23 Hossein Rafighi <<a href="mailto:Hossein.Rafighi@triumf.ca">Hossein.Rafighi@triumf.ca</a><br>
> <mailto:<a href="mailto:Hossein.Rafighi@triumf.ca">Hossein.Rafighi@triumf.ca</a>>><br>
><br>
> > My first posting failed! So, here I go again.<br>
> >> Hi,<br>
> >><br>
> >> I just installed wifidog and Server from<br>
> >> <a href="http://dev.wifidog.org/wiki/Download" target="_blank">http://dev.wifidog.org/wiki/Download</a>. Installation was smooth, but I<br>
> >> don't understand why it is not working?!<br>
> >> My server has 2 ethernet. eth0 is connected to Internet. eth1 is<br>
> >> connected to a repeater (private network). When I connected a laptop<br>
> >> to the repeater and start a web browser I get "Addres Not Found"<br>
> >> instead of the redirect to login, or sign up page !<br>
> >><br>
> >> My server specs are:<br>
> >> >cat /proc/version Linux version 2.6.18-128.1.1.el5<br>
> >> (<a href="mailto:brewbuilder@norob.fnal.gov">brewbuilder@norob.fnal.gov</a> <mailto:<a href="mailto:brewbuilder@norob.fnal.gov">brewbuilder@norob.fnal.gov</a>>)<br>
> (gcc version 4.1.2 20071124 (Red Hat<br>
> >> 4.1.2-42)) #1 SMP Tue Feb 10 11:36:29 EST 2009<br>
> >> php-5.1.6-23.el5<br>
> >><br>
> >> I pretty much left the wifidog.conf in /etc to default except:<br>
> >> GatewayID default<br>
> >> ExternalInterface eth0<br>
> >> GatewayInterface eth1<br>
> >> GatewayAddress 192.168.1.254<br>
> >> AuthServer {<br>
> >> Hostname <a href="http://pcx03.triumf.ca" target="_blank">pcx03.triumf.ca</a> <<a href="http://pcx03.triumf.ca" target="_blank">http://pcx03.triumf.ca</a>><br>
> >> SSLAvailable no --This is a testbed. Once I am satisfied, the<br>
> >> production server will be https with ssl!<br>
> >> Path /<br>
> >> }<br>
> >> CheckInterval 60<br>
> >> ClientTimeout 5<br>
> >> FirewallRule allow tcp port 80 to 192.168.1.254<br>
> >><br>
> >><br>
> >> cat /etc/sysconfig/network-scripts/ifcfg-eth1<br>
> >> # Intel Corporation 82566DM-2 Gigabit Network Connection<br>
> >> DEVICE=eth1<br>
> >> BOOTPROTO=none<br>
> >> HWADDR=00:15:17:8d:20:e8<br>
> >> ONBOOT=yes<br>
> >> NETMASK=255.255.255.0<br>
> >> IPADDR=192.168.1.254<br>
> >> TYPE=Ethernet<br>
> >> bridge=eth0<br>
> >><br>
> >> >wifidog -f -d 7 shows:<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](centralserver.c:308) Level 1:<br>
> >> Resolving auth server [<a href="http://pcx03.triumf.ca" target="_blank">pcx03.triumf.ca</a> <<a href="http://pcx03.triumf.ca" target="_blank">http://pcx03.triumf.ca</a>>]<br>
> succeeded = [142.90.100.158]<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](centralserver.c:333) Level 1:<br>
> >> Connecting to auth server <a href="http://pcx03.triumf.ca:80" target="_blank">pcx03.triumf.ca:80</a><br>
> <<a href="http://pcx03.triumf.ca:80" target="_blank">http://pcx03.triumf.ca:80</a>><br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](centralserver.c:359) Level 1:<br>
> >> Successfully connected to auth server <a href="http://pcx03.triumf.ca:80" target="_blank">pcx03.triumf.ca:80</a><br>
> <<a href="http://pcx03.triumf.ca:80" target="_blank">http://pcx03.triumf.ca:80</a>><br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](centralserver.c:190) Unlocking<br>
> >> config<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](centralserver.c:190) Config<br>
> unlocked<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](centralserver.c:197)<br>
> Connected to<br>
> >> auth server<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](ping_thread.c:167) HTTP Request<br>
> >> to Server: [GET<br>
> >><br>
> /ping/?gw_id=default&sys_uptime=335720&sys_memfree=7522268&sys_load=0.03&wifidog_uptime=60<br>
> >> HTTP/1.0<br>
> >> User-Agent: WiFiDog 1.1.5<br>
> >> Host: <a href="http://pcx03.triumf.ca" target="_blank">pcx03.triumf.ca</a> <<a href="http://pcx03.triumf.ca" target="_blank">http://pcx03.triumf.ca</a>><br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](ping_thread.c:171) Reading<br>
> response<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](ping_thread.c:199) Read 204<br>
> >> bytes, total now 204<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](ping_thread.c:217) Done reading<br>
> >> reply, total 204 bytes<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](ping_thread.c:221) HTTP Response<br>
> >> from Server: [HTTP/1.1 200 OK<br>
> >> Date: Mon, 23 Mar 2009 17:37:27 GMT<br>
> >> Server: Apache/2.2.3 (Scientific Linux)<br>
> >> X-Powered-By: PHP/5.1.6<br>
> >> Content-Length: 4<br>
> >> Connection: close<br>
> >> Content-Type: text/html; charset=UTF-8<br>
> >> Pong]<br>
> >> [7][Mon Mar 23 10:37:27 2009][3752](ping_thread.c:228) Auth Server<br>
> >> Says: Pong<br>
> >><br>
> >> Any Ideas?<br>
> >> Your reply is greatly appreciated in advance.<br>
> >> Cheers,<br>
> >> Hossein<br>
> >><br>
> ><br>
><br>
> --<br>
> _____ _____ _____ _ _ _ _ ____ Hossein Rafighi<br>
> |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall<br>
> | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3<br>
> | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047<br>
> | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074<br>
> |_| |_| \_\|_____| \___/ |_| |_||_| Website: <a href="http://www.triumf.ca" target="_blank">http://www.triumf.ca</a><br>
><br>
> _______________________________________________<br>
> WiFiDog mailing list<br>
> <a href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a> <mailto:<a href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a>><br>
> <a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> WiFiDog mailing list<br>
> <a href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a><br>
> <a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br>
Hi,<br>
<br>
you must check your dns resolution, and you must be sure that your<br>
firewall rules are ok; particulary if you do some nat.<br>
Have you check this page <a href="http://www.aboutdebian.com/proxy.htm" target="_blank">http://www.aboutdebian.com/proxy.htm</a>?<br>
Is the ip forwarding activate?<br>
echo "1" > /proc/sys/net/ipv4/ip_forward<br>
<br>
<br>
<br>
--<br>
Menil Jean-Philippe<br>
Dsi de l'Université de Nantes<br>
tél: 02 51 12 53 92<br>
Fax: 02 51 12 58 60<br>
<font color="#888888"><a href="mailto:Jean-Philippe.Menil@univ-nantes.fr">Jean-Philippe.Menil@univ-nantes.fr</a><br>
_______________________________________________<br>
WiFiDog mailing list<br>
<a href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a><br>
<a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br>
</font></blockquote></div><br>