[Chilli] Several vlans login page

David Bird david at coova.com
Wed Mar 21 09:42:51 UTC 2012


You are given the IP and port of the chilli controller in the initial
redirect query string parameter uamip and uamport. 


On Wed, 2012-03-21 at 09:30 +0100, David Seira wrote:
> Miguel/Danny,
> 
> 
> Thanks for your help. I know how to configure vlans with coova chilli;
> the problem is how to configure the coovachilli login page for share
> the same external login web page for both vlans.
> 
> 
> The problem is when I make the login request to the
> IP:3990/logon?username=XXX&password=XXX; if I have 2 vlans I don't
> know to which IP make the request. I've tried putting one (10.1.0.1
> for example) and in the other vlan (10.2.0.1) adding to allowed IPs
> but don't work.
> 
> 
> Regards,
> David
> 
> 
> El 21 de marzo de 2012 08:08, Danny Magat <danny at sb-ps.ae> escribió:
>         Hi,
>         
>         http://manajung.blogspot.com/2010/11/setup-vlan-in-coova.html
>         
>         this might help...
>         
>         -----Original Message-----
>         From: chilli-bounces at coova.org
>         [mailto:chilli-bounces at coova.org] On Behalf
>         Of chilli-request at coova.org
>         Sent: Tuesday, March 20, 2012 10:51 PM
>         To: chilli at coova.org
>         Subject: Chilli Digest, Vol 28, Issue 22
>         
>         Send Chilli mailing list submissions to
>                chilli at coova.org
>         
>         To subscribe or unsubscribe via the World Wide Web, visit
>                http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>         or, via email, send a message with subject or body 'help' to
>                chilli-request at coova.org
>         
>         You can reach the person managing the list at
>                chilli-owner at coova.org
>         
>         When replying, please edit your Subject line so it is more
>         specific
>         than "Re: Contents of Chilli digest..."
>         
>         
>         Today's Topics:
>         
>           1. Several vlans login page (David Seira)
>           2. Re: Several vlans login page (Miguel Lopes - Cabocom)
>         
>         
>         ----------------------------------------------------------------------
>         
>         Message: 1
>         Date: Tue, 20 Mar 2012 17:55:34 +0100
>         From: David Seira <davidseira at gmail.com>
>         To: chilli <chilli at coova.org>
>         Subject: [Chilli] Several vlans login page
>         Message-ID:
>         
>          <CAN9kZec_Tn-rhVBWa4JHeKbwnwpfObGPu3n_oKyqoot-m8yT2A at mail.gmail.com>
>         Content-Type: text/plain; charset="iso-8859-1"
>         
>         Hi.
>         
>         I have a question about the coova chilli integration with
>         vlans.
>         
>         I've configured two vlans in the coovachilli device but with
>         the same
>         external login page:
>         
>         WAN: 192.168.1.1
>         
>         LAN:
>         
>         vlan 10 10.1.0.1 --------->
>                                          | ----> login page
>         192.168.1.10
>         vlan 20 10.2.0.1 --------->
>         
>         I have a simple login page that redirect to:
>         
>         http://10.1.0.1:3990?username=$username&password=
>         $enc_pwd&userurl=$redir
>         
>         This works when I'm in the vlan 10, but not in the vlan 20.
>         I've tried to
>         allow the 10.1.0.1 ip in the vlan 20 interface config but it
>         doesn't work.
>         
>         What can I do for resolve it? Can I have one external login
>         page for
>         several vlans?
>         
>         Thanks,
>         David
>         
>         -------------- next part --------------
>         An HTML attachment was scrubbed...
>         URL:
>         <http://lists.coova.org/pipermail/chilli/attachments/20120320/41bc0cac/attac
>         hment-0001.html>
>         
>         ------------------------------
>         
>         Message: 2
>         Date: Tue, 20 Mar 2012 17:50:46 -0100
>         From: "Miguel Lopes - Cabocom" <miguel.lopes at cabocom.cv>
>         To: "'David Seira'" <davidseira at gmail.com>,     "'chilli'"
>                <chilli at coova.org>
>         Subject: Re: [Chilli] Several vlans login page
>         Message-ID: <003b01cd06ca$5d185a90$17490fb0$@lopes at cabocom.cv>
>         Content-Type: text/plain; charset="iso-8859-1"
>         
>         Hi,
>         
>         
>         
>         I can help with that since we have 7 different VLAN?s in one
>         machine and use
>         the same login page for all. Create multiple instances of
>         chilli, if you
>         
>         take a look at chilli folder you have a file called
>         newmulti.sh, it?s a
>         great tool to create multiple chilli instances configs,
>         example:
>         
>         
>         
>         If you have two VLAN interfaces called VLAN10 and VLAN20 do
>         this:
>         
>         
>         
>         Bash#>./newmulti.sh VLAN10
>         
>         Bash#>./newmulti.sh VLAN20
>         
>         
>         
>         It will create two folders called VLAN10 and VLAN20 with a
>         separate
>         configurations for each chilli instance. You can configure
>         them individually
>         while using the same login page.
>         
>         
>         
>         Check
>          <http://manajung.blogspot.com/2010/11/setup-vlan-in-coova.html>
>         http://manajung.blogspot.com/2010/11/setup-vlan-in-coova.html
>         
>         
>         
>         
>         
>         Kind Regards / Atentamente,
>         
>         
>         
>         Miguel Lopes
>         
>         CEO - Director
>         
>         
>         
>         
>         marca_teste
>         
>         
>         
>         Tel - +2382428087
>         
>         Fax - +2382428088
>         
>         
>         Email -  <mailto:miguel.lopes at cabocom.cv>
>         miguel.lopes at cabocom.cv
>         
>         Web -  <http://www.cabocom.cv/> www.cabocom.cv
>         
>         Facebook -  <http://facebook.cabocom.cv/> facebook.cabocom.cv
>         
>         
>         
>         De: chilli-bounces at coova.org [mailto:chilli-bounces at coova.org]
>         Em nome de
>         David Seira
>         
>         Enviada: ter?a-feira, 20 de Mar?o de 2012 15:56
>         Para: chilli
>         Assunto: [Chilli] Several vlans login page
>         
>         
>         
>         Hi.
>         
>         
>         
>         I have a question about the coova chilli integration with
>         vlans.
>         
>         
>         
>         I've configured two vlans in the coovachilli device but with
>         the same
>         external login page:
>         
>         
>         
>         WAN: 192.168.1.1
>         
>         
>         
>         LAN:
>         
>         
>         
>         vlan 10 10.1.0.1 --------->
>         
>                                          | ----> login page
>         192.168.1.10
>         
>         vlan 20 10.2.0.1 --------->
>         
>         
>         
>         I have a simple login page that redirect to:
>         
>         
>         
>         http://10.1.0.1:3990?username=$username
>         
>         <http://10.1.0.1:3990?username=$username&password=
>         $enc_pwd&userurl=$redir>
>         &password=$enc_pwd&userurl=$redir
>         
>         
>         
>         This works when I'm in the vlan 10, but not in the vlan 20.
>         I've tried to
>         allow the 10.1.0.1 ip in the vlan 20 interface config but it
>         doesn't work.
>         
>         
>         
>         What can I do for resolve it? Can I have one external login
>         page for several
>         vlans?
>         
>         
>         
>         Thanks,
>         
>         David
>         
>         
>         
>         
>         -------------- next part --------------
>         An HTML attachment was scrubbed...
>         URL:
>         <http://lists.coova.org/pipermail/chilli/attachments/20120320/605fda20/attac
>         hment.html>
>         -------------- next part --------------
>         A non-text attachment was scrubbed...
>         Name: image001.jpg
>         Type: image/jpeg
>         Size: 9197 bytes
>         Desc: not available
>         URL:
>         <http://lists.coova.org/pipermail/chilli/attachments/20120320/605fda20/attac
>         hment.jpg>
>         
>         ------------------------------
>         
>         _______________________________________________
>         Chilli mailing list
>         Chilli at coova.org
>         http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>         
>         
>         End of Chilli Digest, Vol 28, Issue 22
>         **************************************
>         
>         
>         _______________________________________________
>         Chilli mailing list
>         Chilli at coova.org
>         http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
> 
> 
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list