[isf-wifidog] WiFiDog Gateway configuration

Raul Lapaz raul.lapaz at multipistas.com
Lun 10 Déc 14:30:33 EST 2007


Uhmmm,

I guess that you have configured /etc/apache2/sites-available/default (you
need to change the rootdocument to point to /var/www/wifidog-auth/wifidog
and remove the rule on line 17,

Try it and restart apache.

-----Mensaje original-----
De: wifidog-bounces at listes.ilesansfil.org
[mailto:wifidog-bounces at listes.ilesansfil.org] En nombre de André Ribeiro
Enviado el: lunes, 10 de diciembre de 2007 18:26
Para: WiFiDog Captive Portal
Asunto: Re: [isf-wifidog] WiFiDog Gateway configuration

Hi! Tanks Raul for your help!

Still have some problem when running "wifidog -f -d 7", the error is:

<p>execSqlUniqueRes() : An error occured while executing the following 
SQL query :<br/>SELECT virtual_host_id FROM virtual_hosts WHERE 
hostname='10.90.0.254'</p><p>Error message : <br/>FATAL:  terminating 
connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.</p>Pong]
[7][Mon Dec 10 17:20:33 2007][32334](ping_thread.c:227) Auth Server 
Says: Pong

That address is the AuthServer/Gateway internal IP (connects to the 
hotspot), and in the wifidog.conf I have:

AuthServer {
    Hostname 10.90.0.254
    SSLAvailable no
    Path /
}


My question is: where do I put the IP address of the AP? Or what am I 
missing here? Further than this, I only tell wifidog the 
'ExternalInterface' and 'GatewayInterface'.

Tanks in advance for any help!
André Ribeiro

Raul Lapaz wrote:
> Sorry, there is a mistake:
>
> In auth parameters, do not put localhost, just put the gateway address for
> the eth1 (internal) nic ip.
>
> -----Mensaje original-----
> De: wifidog-bounces at listes.ilesansfil.org
> [mailto:wifidog-bounces at listes.ilesansfil.org] En nombre de Raul Lapaz
> Enviado el: viernes, 07 de diciembre de 2007 16:16
> Para: 'WiFiDog Captive Portal'
> Asunto: Re: [isf-wifidog] WiFiDog Gateway configuration
>
> Hello,
>
> There is not any problema with running both on the same machine. In
> wifidog.conf you only need to configure the auth server parameters:
>
> Example for both in local host:
>
> Ath server = localhost
> Ssl = no (or yes, up to you)
> Path = /
> For the path to work, you need to configure apache in the documentroot
> option = /var/www/wifidog-auth/wifidog
> Delete the rewrite rule that redirects. Line 17 I guess. Just put a #
>
> -----Mensaje original-----
> De: wifidog-bounces at listes.ilesansfil.org
> [mailto:wifidog-bounces at listes.ilesansfil.org] En nombre de André Ribeiro
> Enviado el: viernes, 07 de diciembre de 2007 11:40
> Para: wifidog at listes.ilesansfil.org
> Asunto: [isf-wifidog] WiFiDog Gateway configuration
>
> Hello all!
>
> I'm a new user of WiFiDog and I want to setup up some AP's with it's 
> authentication portal to grant user specific access to our local 
> network, which connects to the Internet.
>
> What I've done so far was to install WiFiDog Auth on a standalone 
> machine and it works fine. Then I installed the gateway in the same 
> machine (can it work like this?), but I don't know how to configure 
> wifidog.conf there. Is there any tutorial or other kind of doc related 
> to do this?
>
> I'm doing this way because the AP's we have are not WRT compatible, they 
> are Enterasys Roamabout R2. But I guess that is possible to use 
> Auth/Gateway on that machine and then manage all of them with WiFiDog. 
> Am I right? If not, witch alternatives do I have?
>
>
> I will appreciate any help!
> André Ribeiro
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>   

_______________________________________________
WiFiDog mailing list
WiFiDog at listes.ilesansfil.org
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog




Plus d'informations sur la liste de diffusion WiFiDog