<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Redirect</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EL link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Which version of wifidog
and openwrt are you using? I had the same problem and it came out to be the
redirect module/iptables.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Marios<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
wifidog-bounces@listes.ilesansfil.org
[mailto:wifidog-bounces@listes.ilesansfil.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Dan Holton<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 27, 2005
3:30 PM<br>
<b><span style='font-weight:bold'>To:</span></b> WiFiDog Captive Portal<br>
<b><span style='font-weight:bold'>Subject:</span></b> [isf-wifidog] Redirect</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>I
have WiFiDog running on a WRT54G, and my auth server (running on debian)
plugged into port 1 on the linksys.&nbsp; </span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>I
can ping the auth server (192.168.1.139) from the router without a
problem.&nbsp; There weren&#8217;t any errors on the setup of the auth server</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>or
on the gateway when I ran wifidog &#8211;f &#8211;d 7.&nbsp; </span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>When
wireless clients connect to the wireless router and try to go to the internet,
they are forwarded directly to their page.&nbsp; </span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Any
idea why the router wouldn&#8217;t stop clients and force them to the auth server???</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>I&#8217;m
trying to find a way of attaching the output of the wifidog</span></font><span
lang=EN-US> </span><font size=2><span lang=EN-US style='font-size:10.0pt'>&#8211;f</span></font><span
lang=EN-US> </span><font size=2><span lang=EN-US style='font-size:10.0pt'>&#8211;d 7
command to an email (since it&#8217;s on the linksys, I don&#8217;t have a lot of options
available to me like FTP, email client, or even just copying the output to
disk).</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>I
saved the output to a file, and ran grep for</span></font><span lang=EN-US> </span><font
size=2><span lang=EN-US style='font-size:10.0pt'>&#8220;auth&#8221;, and I don&#8217;t see any
errors.&nbsp; Some of the lines read:</span></font><o:p></o:p></p>

<p><i><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:
10.0pt;font-style:italic'>A lot of firewall stuff (adding rule, etc.)</span></font></i><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>(date/time)&nbsp;
(centralserver.c:304) Level 1: Connecting to auth server 192.168.1.139:80</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>(date/time)
(centralserver.c:330) Level 1: Successfully connected to auth server
192.168.1.139:80</span></font><o:p></o:p></p>

<p><i><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:
10.0pt;font-style:italic'>more firewall stuff</span></font></i><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Unlocking
Config</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Config
unlocked</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Connected
to auth server</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>AUTH_ONLINE
status became ON</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>HTTP
Request to Server: [GET /ping/?gw_id=FarragutWiFi------</span></font><font
size=2 face=Wingdings><span lang=EN-US style='font-size:10.0pt;font-family:
Wingdings'>&szlig;</span></font><font size=2><span lang=EN-US style='font-size:10.0pt'>more
stuff, all of it looks correct]</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>reading
response</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Read
287 bytes, total now 287 bytes</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>HTTP
Response from Server: [HTTP/1.1 200 OK date/time/ Server: Apache/2.0.54 (Debian
GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/5.0.5-1 mod_perl/2.0.1 Perl/v5.8.7</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>X-Powered-By:
PHP/5.0.5-1</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Content-Length:
4</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Connection:
close</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Content-Type:
text/html</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>X-Pad:
avoid browser bug</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Pong]</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>[7]
[date/time] (ping_thread.c:226) Auth Servert Says: Pong</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>running
fw_counter()</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Locking
client list</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Client
list locked</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Unlocking
client list</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Clint
list unlocked</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Running
ping()</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Entering
ping()</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Locking
config </span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Config
locked</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Level
1: Calculated 1 auth servers in list</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Level
1: Resolving auth server [192.168.1.139]</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>more,
much more, but most of it is a repeat of this, or a firewall rule being
configured.&nbsp; </span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Any
ideas why clients aren&#8217;t being re-directed?</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Thanks
for any help,</span></font><o:p></o:p></p>

<p><a name=""><font size=2 face="Times New Roman"><span lang=EN-US
style='font-size:10.0pt'>Dan Holton</span></font></a><span lang=EN-US><br>
</span><font size=2><span lang=EN-US style='font-size:10.0pt'>IT Administrator</span></font><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Callahan
&amp; Associates, Inc.<br>
</span></font><a href="BLOCKED::http://www.creditunions.com/"><font size=2><span
lang=EN-US style='font-size:10.0pt'>www.CreditUnions.com</span></font></a><font
size=2><span lang=EN-US style='font-size:10.0pt'>&nbsp;|</span></font><span
lang=EN-US> </span><a href="BLOCKED::http://www.callahan.com/"><font size=2><span
lang=EN-US style='font-size:10.0pt'>www.Callahan.com</span></font></a><span
lang=EN-US><br>
<i><font color=blue><span style='color:blue;font-style:italic'>Cooperative
Knowledge for the Credit Union Community</span></font></i></span><o:p></o:p></p>

</div>

</body>

</html>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this incoming message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.344 / Virus Database: 267.11.7/112 - Release Date: 26/9/2005<BR>
</FONT> </P>

<P><FONT SIZE=2 FACE="Arial Greek"> </FONT> </P><BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.344 / Virus Database: 267.11.7/112 - Release Date: 26/9/2005<BR>
</FONT> </P>