2014-12-08 - Re: Grase Hotspot working with DD-WRT routers in remote locations.

Header Data

From: Norberto Esteves <no***e@gmail.com>
Message Hash: 35e9731ab2d37824a3253e264d101416d42bc7b17fe4aaec4d58c25ff4a55ac7
Message ID: <094df1a0-59ce-463c-bcc8-0af29812afea@grasehotspot.org>
Reply To: <CAA-jMMSdpQi-7uOkT1Ny_nem_Ahbre0bOVAPR+5E+hUQscdFkg@mail.gmail.com>
UTC Datetime: 2014-12-08 05:15:08 UTC
Raw Date: Mon, 08 Dec 2014 04:15:08 -0800

Raw message

Hi Bob,

dhcpend is correct since it is a count starting from first IP (10.1.0.0) 
which means dhcpend 299 is the IP 10.1.1.43. An easier way to calculate 
this would be to have each entire subnet assigned to each site:

Site 1 (Master): dhcpstart 2 dhcpend 254 (range 10.1.0.1 -> 10.1.0.254)
Site 2 (Slave): dhcpstart 257 dhcpend 510 (range 10.1.1.1 -> 10.1.1.254)
Site 3 (Slave): dhcpstart 513 dhcpend 766 (range 10.1.2.1 -> 10.1.2.254)
Site 4 (Slave): dhcpstart 769 dhcpend 1022 (range 10.1.3.1 -> 10.1.3.254)
....

The rule is: Next Site will start 3 hosts away from last one and end 253 
hosts away from start
This way Chillispot IP is always 10.1.0.1 and  we can easily identify which 
sites the clients belong to.

Before coming up with this solution I used a different method assigning 
different networks to each site (Master = 10.1.0.0/24, Slave 1 = 
10.1.1.0/24 ....) this means each Chillispot would have a different IP 
which means it is harder to do because involves more modifications to 
original code and I don't think it worth it.

Next thing to do in order to solve Development Issue #56 is to add a new 
menu in Grase admin to manage and customise the remote sites and modify 
portal page to identify and adapt to each site, including different logos, 
Names, etc... also ticket printing could be adapted to reflect each site 
information.

Regarding to DD-WRT Routers, I use for testing D-Link Dir-615 (hardware 
version H2) And Netgear WNDR3700 V4 for the remote sites.
WNDR3700 can support hundreds of concurrent users.

Regards,

Norberto 
 
  





Segunda-feira, 8 de Dezembro de 2014 0:58:40 UTC, bob.hunt.52 escreveu:
>
> Hi Norberto,
>
> Thanks so much for your efforts. This looks like it might solve 
> Development Issue #56 
> https://github.com/GraseHotspot/grase-www-portal/issues/56 
> <https://github.com/GraseHotspot/grase-www-portal/issues/56>
>
> One issue I noticed with your tutorial...
> Shouldn't "dhcpend 299" really read  "dhcpend 255"?
>
> Also I think that standard openwrt based CoovaAP firmware ( 
> http://coova.org/CoovaAP ) should work out of the box as client access 
> controller.
>
> Cheers,
>
> Bob
>
> On Mon, Dec 8, 2014 at 7:25 AM, Norberto Esteves <no***.@gmail.com 
> <javascript:>> wrote:
>
>> Other thing that was missing,
>>
>> If you want to use computer accounts you need to add the option "macauth" 
>> to Advanced Chilispot Options:
>>
>> defidletimeout 600
>> interval 600
>> macauth
>> macpasswd password
>> nousergardendata
>> uamlogoutip 1.0.0.0
>> coaport 3779
>> dhcpstart 200
>> dhcpend 299
>>
>> Regards,
>>
>> Norberto
>>
>>
>> Domingo, 7 de Dezembro de 2014 10:14:38 UTC, Norberto Esteves escreveu:
>>
>>> Hi Drazen,
>>>
>>> Router is connected at WAN side, all remote sites connect to Grase 
>>> trough the WAN interface:
>>>
>>>   Remote hotspot users <=> DD-WRT <=> Internet <=> Router <=> (WAN) 
>>> GRASE (LAN) <=>Local hotspot users
>>>  
>>> Yes, OpenWRT or other firmware with Coova Chilli built-in should work 
>>> fine.
>>>
>>> Best Regards,
>>>
>>> Norberto 
>>>
>>> Domingo, 7 de Dezembro de 2014 8:36:03 UTC, drazen.zuvela escreveu:
>>>>
>>>> Hi Norberto 
>>>> This is great manual, and great solution for schools and companies 
>>>> local 
>>>> wifi network. 
>>>>
>>>> Still I have some questions: 
>>>> 1. Which side of grase you have conneted to corporate router or 
>>>> network? 
>>>> 2. Assume Openwrt should also work. 
>>>>
>>>> Rgds,Drazen 
>>>>
>>>>
>>>>
>>>>
>>>> On 12/06/2014 02:59 AM, Norberto Esteves wrote: 
>>>> > Hi all, 
>>>> > 
>>>> > As promised, here is the information you need to setup Grase Hotspot 
>>>> > on Multiple-locationst (please Tim, feel free to move this to the 
>>>> wiki 
>>>> > if you wish). 
>>>> > 
>>>> > 
>>>>
>>>>  -- 
>> This mailing list is for the Grase Hotspot Project 
>> http://grasehotspot.org
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to gr***.@grasehotspot.org <javascript:>.
>> To post to this group, send email to gr***.@grasehotspot.org 
>> <javascript:>.
>> Visit this group at 
>> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/859e967f-5056-4364-a94a-2c8f575e187c%40grasehotspot.org 
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/859e967f-5056-4364-a94a-2c8f575e187c%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>
>
>
> -- 
>
>
>  

Thread