I'm more of a lurker on wifidog list, but I might be able to answer that...<br><br>Layer3 devices will not preserve the mac adress from the original requesting device (in that case, your client) and will change it for its own making the authentification scheme invalid.
<br><br>You could : <br>1. Whitelist the router mac adress. In that case, nobody on the other side of the routeur will have to go through the portal (automaticaly jump over it).<br>2. Establish vpn connexion between the network and your gateway so that your packet can reach unchanged. (kinda lot of trouble to do)
<br>3. Use one network interfaces by network, and directly connect them on each network.<br><br>OR: <br>4. Install wifidog-gateway on each router of your network, whitelisting their mac in the upstream routeur connection.
<br><br>Pascal C.<br><br>That's my 2 cents, i might be way off the track though. so it might worth even less than 2 cents.<br><br><div><span class="gmail_quote">On 6/27/06, <b class="gmail_sendername">
Mattias Eriksson</b> &lt;<a href="mailto:eriksson1@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">eriksson1@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi, I want the portal to work for clients that are seperated from the<br>gateway by layer 3 devices (routers). Is this not possible?<br><br>I made a test and the gateway gave this error: &quot;Failed to retrieve<br>your MAC address&quot;
<br><br>/M. Eriksson<br><br>On 6/27/06, Mattias Eriksson &lt;<a href="mailto:eriksson1@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">eriksson1@gmail.com</a>&gt; wrote:<br>&gt; I found some interesting information in the wifidog logfile. Probably
<br>&gt; explain why $incoming and $outgoing does not get passed with the
<br>&gt; radius accounting record.<br>&gt;<br>&gt; I don't know what to do about it though.. :-)<br>&gt;<br>&gt; Ps. Good luck tonight all you french people, you will beat them!<br>&gt;<br>&gt; 2006-06-27 08:56:21 (EDT) Runtime Notice &gt;Test network &gt;*
nouser*@New<br>&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533]:<br>&gt; Assigning the return value of new by reference is deprecated in
<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 557<br>&gt; 2006-06-27 08:56:21 (EDT) Runtime Notice &gt;Test network &gt;*nouser*@New<br>&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533

]:<br>&gt; Assigning the return value of new by reference is deprecated in<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 560<br>&gt; 2006-06-27 08:56:22 (EDT) Runtime Notice &gt;Test network &gt;*nouser*@New

<br>&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533]:<br>&gt; Non-static method PEAR::loadExtension() should not be called
<br>&gt; statically, assuming $this from incompatible context in<br>&gt; /usr/local/share/pear/Auth/RADIUS.php on line 49<br>&gt; 2006-06-27 08:56:22 (EDT) Runtime Notice &gt;Test network &gt;*nouser*@New<br>&gt; test node [/auth/?stage=counters&amp;ip=
10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533]:<br>&gt; Creating default object from empty value in<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php
<br>&gt; on line 412<br>&gt; 2006-06-27 08:56:22 (EDT) Runtime Notice &gt;Test network &gt;*nouser*@New<br>&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533

]:<br>&gt; Non-static method PEAR::isError() should not be called statically,<br>&gt; assuming $this from incompatible context in<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php
<br>&gt; on line 418<br>&gt; 2006-06-27 08:56:22 (EDT) Runtime Notice &gt;Test network &gt;*nouser*@New<br>&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533

]:<br>&gt; is_a(): Deprecated. Please use the instanceof operator in<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 269<br>&gt; 2006-06-27 08:56:22 (EDT) Runtime Notice &gt;Test network &gt;*nouser*@New
<br>
&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533]:<br>&gt; Non-static method PEAR::isError() should not be called statically,
<br>&gt; assuming $this from incompatible context in<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php<br>&gt; on line 430<br>&gt; 2006-06-27 08:56:22 (EDT) Runtime Notice &gt;Test network &gt;*
nouser*@New<br>&gt; test node [/auth/?stage=counters&amp;ip=10.1.204.99&amp;mac=00:14:C2:E1:B3:F6&amp;token=df103ed9c2d49832a14d72cea2202eb8&amp;incoming=74072450&amp;outgoing=5012533]:<br>&gt; is_a(): Deprecated. Please use the instanceof operator in
<br>&gt; /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 269<br>&gt;<br>&gt; /M. Eriksson<br>&gt;<br>&gt; On 6/27/06, Mattias Eriksson &lt;<a href="mailto:eriksson1@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eriksson1@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Ok thanks.<br>&gt; &gt;<br>&gt; &gt; Strange thing is when I look in the database the numbers for incoming<br>&gt; &gt; and outgoing looks alright.<br>&gt; &gt;<br>&gt; &gt; /M Eriksson<br>&gt; &gt;<br>&gt; &gt; On 6/27/06, François Proulx &lt;
<a href="mailto:fproulx@edito.qc.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fproulx@edito.qc.ca</a>&gt; wrote:<br>&gt; &gt; &gt; Hum ... no it's not configurable, but it should not do this... Big
<br>&gt; &gt; &gt; fat hex numbers like this look like a variable has not been
<br>&gt; &gt; &gt; initialized correcly ... :-/<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Post a bug report on our tracker. Maybe Kaouete (from Paris) could<br>&gt; &gt; &gt; tell us if he has the same issue...<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 27-Jun-06, at 7:30 AM, Mattias Eriksson wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Hi, I can't get radius accounting working properly. Wifidog just send<br>&gt; &gt; &gt; &gt; some weird hex numbers, and does not send Acct-Output-Octets or
<br>&gt; &gt; &gt; &gt; Acct-Input-Octets.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Why is this? Is it configurable?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; An extract from an accounting record:<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; Acct-Status-Type = Interim-Update<br>&gt; &gt; &gt; &gt; Acct-Input-Packets = 0x32313330363936<br>&gt; &gt; &gt; &gt; Acct-Output-Packets = 0x373333303931<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Regards,
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; /M. Eriksson<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; WiFiDog mailing list<br>&gt; &gt; &gt; &gt; <a href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

WiFiDog@listes.ilesansfil.org</a><br>&gt; &gt; &gt; &gt; <a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; WiFiDog mailing list<br>&gt; &gt; &gt; <a href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
WiFiDog@listes.ilesansfil.org</a>
<br>&gt; &gt; &gt; <a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>_______________________________________________
<br>WiFiDog mailing list<br><a href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">WiFiDog@listes.ilesansfil.org</a><br><a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Pascal Charest, Feydakin<br><a href="http://blog.pacharest.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://blog.pacharest.com</a>
<br>--