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> <<a href="mailto:eriksson1@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">eriksson1@gmail.com</a>> 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: "Failed to retrieve<br>your MAC address"
<br><br>/M. Eriksson<br><br>On 6/27/06, Mattias Eriksson <<a href="mailto:eriksson1@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">eriksson1@gmail.com</a>> wrote:<br>> I found some interesting information in the wifidog logfile. Probably
<br>> explain why $incoming and $outgoing does not get passed with the
<br>> radius accounting record.<br>><br>> I don't know what to do about it though.. :-)<br>><br>> Ps. Good luck tonight all you french people, you will beat them!<br>><br>> 2006-06-27 08:56:21 (EDT) Runtime Notice >Test network >*
nouser*@New<br>> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533]:<br>> Assigning the return value of new by reference is deprecated in
<br>> /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 557<br>> 2006-06-27 08:56:21 (EDT) Runtime Notice >Test network >*nouser*@New<br>> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533
]:<br>> Assigning the return value of new by reference is deprecated in<br>> /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 560<br>> 2006-06-27 08:56:22 (EDT) Runtime Notice >Test network >*nouser*@New
<br>> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533]:<br>> Non-static method PEAR::loadExtension() should not be called
<br>> statically, assuming $this from incompatible context in<br>> /usr/local/share/pear/Auth/RADIUS.php on line 49<br>> 2006-06-27 08:56:22 (EDT) Runtime Notice >Test network >*nouser*@New<br>> test node [/auth/?stage=counters&ip=
10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533]:<br>> Creating default object from empty value in<br>> /usr/home/mattiase/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php
<br>> on line 412<br>> 2006-06-27 08:56:22 (EDT) Runtime Notice >Test network >*nouser*@New<br>> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533
]:<br>> Non-static method PEAR::isError() should not be called statically,<br>> assuming $this from incompatible context in<br>> /usr/home/mattiase/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php
<br>> on line 418<br>> 2006-06-27 08:56:22 (EDT) Runtime Notice >Test network >*nouser*@New<br>> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533
]:<br>> is_a(): Deprecated. Please use the instanceof operator in<br>> /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 269<br>> 2006-06-27 08:56:22 (EDT) Runtime Notice >Test network >*nouser*@New
<br>
> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533]:<br>> Non-static method PEAR::isError() should not be called statically,
<br>> assuming $this from incompatible context in<br>> /usr/home/mattiase/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorRadius.php<br>> on line 430<br>> 2006-06-27 08:56:22 (EDT) Runtime Notice >Test network >*
nouser*@New<br>> test node [/auth/?stage=counters&ip=10.1.204.99&mac=00:14:C2:E1:B3:F6&token=df103ed9c2d49832a14d72cea2202eb8&incoming=74072450&outgoing=5012533]:<br>> is_a(): Deprecated. Please use the instanceof operator in
<br>> /usr/home/mattiase/wifidog-auth/wifidog/PEAR.php on line 269<br>><br>> /M. Eriksson<br>><br>> On 6/27/06, Mattias Eriksson <<a href="mailto:eriksson1@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eriksson1@gmail.com</a>> wrote:<br>
> > Ok thanks.<br>> ><br>> > Strange thing is when I look in the database the numbers for incoming<br>> > and outgoing looks alright.<br>> ><br>> > /M Eriksson<br>> ><br>> > On 6/27/06, François Proulx <
<a href="mailto:fproulx@edito.qc.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fproulx@edito.qc.ca</a>> wrote:<br>> > > Hum ... no it's not configurable, but it should not do this... Big
<br>> > > fat hex numbers like this look like a variable has not been
<br>> > > initialized correcly ... :-/<br>> > ><br>> > > Post a bug report on our tracker. Maybe Kaouete (from Paris) could<br>> > > tell us if he has the same issue...<br>> > >
<br>> > ><br>> > > On 27-Jun-06, at 7:30 AM, Mattias Eriksson wrote:<br>> > ><br>> > > > Hi, I can't get radius accounting working properly. Wifidog just send<br>> > > > some weird hex numbers, and does not send Acct-Output-Octets or
<br>> > > > Acct-Input-Octets.<br>> > > ><br>> > > > Why is this? Is it configurable?<br>> > > ><br>> > > > An extract from an accounting record:<br>> > > >
<br>> > > > Acct-Status-Type = Interim-Update<br>> > > > Acct-Input-Packets = 0x32313330363936<br>> > > > Acct-Output-Packets = 0x373333303931<br>> > > ><br>> > > > Regards,
<br>> > > ><br>> > > > /M. Eriksson<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>> > ><br>> > >
<br>> > ><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>> > ><br>> > ><br>> ><br>><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>--