Even if it becomes a web service we need to have a hack that works by friday. Tough politics! We&#39;ll be able to upgrade later on.<br><br>R.<br><br><div><span class="gmail_quote">On 06/02/07, <b class="gmail_sendername">
Colin Verot</b> &lt;<a href="mailto:lists@mitija.com">lists@mitija.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 all,<br><br>I have a question about the auth process in Wifidog.<br><br>I have got one install running, I can log into the portal, then connect<br>to Internet, etc.. All is working fine. Now, I want to NOT use the portal.
<br><br>So I have a connector for my CMS which can log in and out of the portal.<br>I call <a href="http://server:80/wifidog/auth/index.php?stage=login&amp;token=###">http://server:80/wifidog/auth/index.php?stage=login&amp;token=###
</a><br>or <a href="http://server:80/wifidog/auth/index.php?stage=logout">http://server:80/wifidog/auth/index.php?stage=logout</a><br>I do that with CURL, and I interpret the results, and basically auth<br>people in my CMS based on that.
<br><br>However, this logs me only into the portal, but doesn&#39;t start the<br>connection to Internet. The only way to kick start the connexion to<br>Internet is to use the header() redirection to<br><a href="http://server:2060/wifidog/auth?token=$token">
http://server:2060/wifidog/auth?token=$token</a> which then redirects to the<br>portal.<br><br>If I do the call with CURL or file_get_contents(), I get a page on which<br>is displayed: &quot;Failed to retrieve your MAC address&quot;
<br><br>So it seems to me the only way to connect to Internet is to end up<br>redirect to the portal page, via redirecting the browser onto<br><a href="http://server:2060/wifidog/auth?token=$token">http://server:2060/wifidog/auth?token=$token
</a><br><br>Is there a way to connect the user to internet without having to go<br>through the portal?<br><br>Would it be possible to do the following only with CURL?<br>&nbsp;&nbsp;- login/logout/checkstatus the user in the portal&nbsp;&nbsp;(that is OK)
<br>&nbsp;&nbsp;- connect/disconnect an user to internet?<br>&nbsp;&nbsp;- get the internet connexion status for one user?<br><br>Thanks,<br><br>C.<br><br>--<br>Colin Verot<br>Mitija Australia<br><a href="http://www.mitija.com">http://www.mitija.com
</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">
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br></blockquote></div><br><br clear="all"><br>-- <br>Raphael Alla<br>Mitija Australia<br>+61 4 15 678 576<br><a href="http://www.mitija.com">http://www.mitija.com
</a>