2016-08-16 - Re: Grase Hotspot working with DD-WRT routers in remote locations.

Header Data

From: Eliot Ness <sc***7@googlemail.com>
Message Hash: 1955d9036fd755a187017fbb8c676cfd1029ebfcc34a5d203550a6c02ed4ddb2
Message ID: <de3ec51d-9e9f-4918-bf9e-f652429d1c3f@grasehotspot.org>
Reply To: <fdecd37a-fa21-4d62-a6b5-50601889ecb6@grasehotspot.org>
UTC Datetime: 2016-08-16 23:42:22 UTC
Raw Date: Tue, 16 Aug 2016 23:42:22 -0700

Raw message

I try this on a 1043nd V2 but it does not work.
This router is only beta support like many others so look at 
ftp://ftp.dd-wrt.com/betas/2016/

The main problem is that WAN is not working with this firmware, but it 
works great with openwrt, gargoyle, or the default tp-link.
I try it manual, and auto, but same results.

On manual it says wan ip 0.0.0.0 but on terminal it can ping websites!!! 

It must be a bug, or there is somewhere a setting that i cant find it out 
to separate lan from wan

If anyone got a solution i will be glad to test it again

On Tuesday, December 2, 2014 at 9:38:54 PM UTC+2, Norberto Esteves wrote:
>
> Hi all,
>
> I managed to get this configuration working.
>
> Basically I have the Grase Hotspot installed in a machine (shuttle XPC 
> DS6) in the office and one router (D-Link DIR-615) with DD-WRT in my house 
> for testing.
> The remote site (D-Link Router) uses the Coova Chilli included with the 
> DD-WRT firmware to redirect users to the Grase authentication Portal, after 
> that, the username, password, and other attributes are checked with the 
> radius server. If the authentication is successful then the user is allowed 
> to use the Internet and DD-WRT Coova Chilli takes care of the session even 
> if the main site (Grase) goes down. DD-WRT Coova Chilli also sends 
> periodical data (every 5 minutes) to Radius server to keep information up 
> to date. 
>
> So far I had to change a few things in the follwing files:
> hotspot.php, nojsstatus.php, /includes/site.inc.php
>
> I do not use VPN, so, there is a few ports that need forwarding:
> In the main site: Radius (1812, 1813, 1814), UAM (3990) and HTTP (80) 
> ports forward to Grase Hotspot machine.
> The remote site only needs port forwarding for COA port 3779 if you are 
> going to use the radclient to disconnect users.
>
> Freeradius also needs to allow remote site to connect, to do this you need 
> to add remote client to clients.conf, or use nas table.
>   
> So far I'am still testing and correcting some "bugs" i found.
>
> The bad new is that this setup don't work with Javascript login, I did 
> some tests and I think DD-WRT is not able to use the JSON interface for 
> Coova Chilli. So if you want to use DD-WRT, Java script login should be 
> disabled.
>
> If anyone is interested in multi-location setup using DD-WRT I can make a 
> document and share with the community.
>
> Regards,
>
> Norberto Esteves
>
>
>

Thread