<div dir="ltr">I believe this is not a config error as much as it is a name resolution error. I see this when I run wifidog in the foreground:<br><br>7][Mon Aug 4 17:30:57 2008][29323](util.c:143) Unlocking wd_gethostbyname()<br>
[7][Mon Aug 4 17:30:57 2008][29323](util.c:143) wd_gethostbyname() unlocked<br>[7][Mon Aug 4 17:30:57 2008][29323](centralserver.c:250) Level 1: Resolving auth server [<a href="http://127.0.0.1">127.0.0.1</a> ] failed<br>
<br><br>[7][Mon Aug 4 17:33:57 2008][29323](centralserver.c:242) Level 1: Resolving auth server [<a href="http://127.0.0.1">127.0.0.1</a> ]<br>[7][Mon Aug 4 17:33:57 2008][29323](util.c:137) Locking wd_gethostbyname()<br>
[7][Mon Aug 4 17:33:57 2008][29323](util.c:137) wd_gethostbyname() locked<br>[7][Mon Aug 4 17:33:57 2008][29323](util.c:143) Unlocking wd_gethostbyname()<br>[7][Mon Aug 4 17:33:57 2008][29323](util.c:143) wd_gethostbyname() unlocked<br>
[7][Mon Aug 4 17:33:57 2008][29323](centralserver.c:250) Level 1: Resolving auth server [<a href="http://127.0.0.1">127.0.0.1</a> ] failed<br>[7][Mon Aug 4 17:33:57 2008][29323](centralserver.c:253) Level 1: Resolving popular server [<a href="http://www.google.com">www.google.com</a>]<br>
[7][Mon Aug 4 17:33:57 2008][29323](util.c:137) Locking wd_gethostbyname()<br>[7][Mon Aug 4 17:33:57 2008][29323](util.c:137) wd_gethostbyname() locked<br>[7][Mon Aug 4 17:33:57 2008][29323](util.c:152) Unlocking wd_gethostbyname()<br>
[7][Mon Aug 4 17:33:57 2008][29323](util.c:152) wd_gethostbyname() unlocked<br>[7][Mon Aug 4 17:33:57 2008][29323](centralserver.c:256) Level 1: Resolving popular server [<a href="http://www.google.com">www.google.com</a>] succeeded = [<a href="http://74.125.19.104">74.125.19.104</a>]<br>
[7][Mon Aug 4 17:33:57 2008][29323](centralserver.c:276) Level 1: Marking auth server [<a href="http://127.0.0.1">127.0.0.1</a> ] as bad and trying next if possible<br><br><br>The localhost entry definitely exists in /etc/hosts but it seems the resolver routine wants to use the DNS srever that is specified in /etc/resolv.conf ??? Is this correct behavior? Is there a work around for this? It seems that since it can not resolve that name it doesn't try to connect to the listening auth server which is bound to a socket on localhost. <br>
<br>Cliff<br><br><div class="gmail_quote">On Mon, Aug 4, 2008 at 8:17 PM, Don Druce <span dir="ltr"><<a href="mailto:dondruce@sympatico.ca">dondruce@sympatico.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I think that you did. Read your original message or check your config
file.<br>
I put the <a href="http://192.168.1.100" target="_blank">192.168.1.100</a> there in my reply.<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Clifford wrote:
<blockquote type="cite">
<div dir="ltr">You wrote "Try a host name of <a href="http://192.168.1.100/" target="_blank">192.168.1.100</a>"
which is exactly what I have in my config file ??? Did I miss something?<br>
<br>
Thanks<br>
C.<br>
<br>
<div class="gmail_quote">On Mon, Aug 4, 2008 at 7:41 PM, Don Druce <span dir="ltr"><<a href="mailto:dondruce@sympatico.ca" target="_blank">dondruce@sympatico.ca</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Try a host name of <a href="http://192.168.1.100" target="_blank">192.168.1.100</a><br>
<br>
I am not an expert in any sense of the word, but I am running a Captive
Server at home, <br>
<br>
I do not know what you mean by I am running wifidog and wifidog auth on
the same box - I created my Captive Server on a seperate box, and then
simply connected that box to my LAN. I flashed my Linksys router,
pointed it to the IP address I used on my box. All worked as planned -
after a few growing pains of course :-)) <br>
<br>
<br>
Clifford wrote:
<blockquote type="cite">
<div dir="ltr">
<div>Hi Guys,<br>
Sorry for the overactive posting but I am trying to get wifidog as a
captive portal solution up and running and keep running into problems.
I am running wifidog and wifidog auth on the same box. Basically the
APs will talk to this main box for their DHCP and authentication. I see
everything start up just fine but then I get the following error
messages on the console and in syslog:<br>
<br>
messages-20080803:Jul 30 20:02:08 wifidog wifidog[8949]: Creating web
server on <a href="http://192.168.1.100:2060" target="_blank">192.168.1.100:2060</a><br>
messages-20080803:Jul 30 20:02:08 wifidog wifidog[8949]: Failed to
connect to any of the auth servers<br>
<br>
The relevant part of /usr/local/etc/wifidog.conf looks like the
following:<br>
<br>
AuthServer {<br>
</div>
Hostname <a href="http://192.168.1.100:2060" target="_blank">192.168.1.100</a>
<div><br>
SSLAvailable no <br>
Path /var/www/wifidog-auth<br>
}<br>
<br>
<br>
The path certainly exists and contain all of the wifidog-auth files.
Could someone shed some light on this for me. I did a google search on
this error message and came up empty and there doesn't seem to be too
much more to go on in the logs. Thanks in advance.<br>
<br>
Clifford<br>
<br>
</div>
</div>
<pre><hr size="4" width="90%">
_______________________________________________
WiFiDog mailing list
<a href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank">WiFiDog@listes.ilesansfil.org</a>
<a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a></pre>
<pre><hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.5.10/1587 - Release Date: 8/2/2008 5:30 PM
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
WiFiDog mailing list<br>
<a href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank">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>
</blockquote>
</div>
<br>
</div>
<pre><hr size="4" width="90%">
_______________________________________________
WiFiDog mailing list
<a href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank">WiFiDog@listes.ilesansfil.org</a>
<a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a></pre>
<pre><hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.5.10/1587 - Release Date: 8/2/2008 5:30 PM
</pre>
</blockquote>
<br>
</div></div></div>
<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></blockquote></div><br></div>