2016-05-11 - UAM redirection
Header Data
From: José Borges <jo***s@algardata.pt>
Message Hash: 0cf1f725f5e9137e68aee81e215768f51ca77b76b24515d7e93c876597b45ac0
Message ID: <a7c8b504-c18c-4933-a034-4d3914ce0a61@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2016-05-11 09:38:40 UTC
Raw Date: Wed, 11 May 2016 09:38:40 -0700
Raw message
How on earth i make the browser open the UAM upon the user connecting to
the wireless network?
1. User turns on WIFI on the smartphone (android/ios)
2. User selects correct WIFI SSID
3. User taps LOGIN to connect to WIFI
4. ... Chilli/FreeRadius/Chilli do their stuff ...
5. Browser open with the UAM url in it
6. User can then type his username/password to access internet.
I'm only missing step 5... The browser wont open... :(
I use this HS_REDIRDNSREQ=on on /etc/chilli/config, but sometimes it works
sometimes it doesnt.
Any advise?
Here's my /etc/chilli/config
GRASE_VARS=$(cat /etc/dnsmasq.d/01-grasehotspot | grep #)
HS_NETWORK=$(echo "$GRASE_VARS" |grep chilli_network|awk '{print $2}');
HS_NETMASK=$(echo "$GRASE_VARS" |grep chilli_netmask|awk '{print $2}');
HS_UAMLISTEN=$(echo "$GRASE_VARS" |grep chilli_lanip|awk '{print $2}');
HS_WANIF=$(echo "$GRASE_VARS" |grep chilli_wanif|awk '{print $2}');
HS_LANIF=$(echo "$GRASE_VARS" |grep chilli_lanif|awk '{print $2}');
HS_REDIRDNSREQ=on
HS_WANIF=${HS_WANIF:-eth0}
HS_LANIF=${HS_LANIF:-eth1}
HS_NETWORK=${HS_NETWORK:-10.1.0.0}
HS_NETMASK=${HS_NETMASK:-255.255.255.0}
HS_UAMLISTEN=${HS_UAMLISTEN:-10.1.0.1}
HS_UAMPORT=3990
HS_UAMUIPORT=4990
HS_DNS_DOMAIN=hotspot.lan
HS_DNS1=$HS_UAMLISTEN
HS_DNS2=$HS_UAMLISTEN
HS_MAXCLIENTS=65000
HS_NASID=nas01
HS_RADIUS=localhost
HS_RADIUS2=localhost
HS_UAMALLOW=$HS_UAMLISTEN
HS_RADSECRET=SuperSpecialSecret
HS_UAMALIASNAME=grase
HS_UAMDOMAINS=".google-analytics.com,.googletagmanager.com,.gstatic.com,.googleapis.com"
HS_UAMSERVER=$HS_UAMLISTEN
HS_UAMFORMAT=http://\$HS_UAMSERVER/grase/uam/hotspot
HS_UAMHOMEPAGE=http://\$HS_UAMSERVER/grase/uam/hotspot
HS_MACAUTH=on
HS_TCP_PORTS="80 443 22 2812 53 3990 3128"
HS_MODE=hotspot
HS_TYPE=chillispot
HS_ADMUSR=CoovaChilli
HS_ADMPWD=radmin
HS_DEFINTERIMINTERVAL=150
HS_WWWDIR=/etc/chilli/www
HS_WWWBIN=/etc/chilli/wwwsh
HS_PROVIDER=Grase
HS_PROVIDER_LINK=http://hotspot.purewhite.id.au/
HS_LOC_NAME="GRASE HotSpot"
Thread
- Return to May 2016
-
Return to September 2016
- Return to “Emmanuel Nyachoke <ac***z@gmail.com>”
- Return to “Henry Terkura Swende <he***e@gmail.com>”
- Return to “José Borges <jo***s@algardata.pt>”
- Return to “Sanjeev k <sy***v@gmail.com>”
-
Return to “Timothy White <ti***8@gmail.com>”
- 2016-05-11 (Wed, 11 May 2016 09:38:40 -0700) - UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 02:10:05 -0700) - Re: UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 20:04:38 +1000) - Re: [GRASE-Hotspot] UAM redirection - Timothy White <ti***8@gmail.com>
- 2016-05-12 (Thu, 12 May 2016 04:09:28 -0700) - Re: [GRASE-Hotspot] UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 21:11:52 +1000) - Re: [GRASE-Hotspot] UAM redirection - Timothy White <ti***8@gmail.com>
- 2016-05-12 (Thu, 12 May 2016 04:20:25 -0700) - Re: [GRASE-Hotspot] UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 21:11:52 +1000) - Re: [GRASE-Hotspot] UAM redirection - Timothy White <ti***8@gmail.com>
- 2016-09-02 (Fri, 02 Sep 2016 23:13:38 -0700) - Re: [GRASE-Hotspot] UAM redirection - Sanjeev k <sy***v@gmail.com>
- 2016-05-12 (Thu, 12 May 2016 04:09:28 -0700) - Re: [GRASE-Hotspot] UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 04:30:05 -0700) - Re: UAM redirection - Emmanuel Nyachoke <ac***z@gmail.com>
- 2016-05-12 (Thu, 12 May 2016 07:14:42 -0700) - Re: UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 15:33:57 +0100) - Re: [GRASE-Hotspot] Re: UAM redirection - Henry Terkura Swende <he***e@gmail.com>
- 2016-05-12 (Thu, 12 May 2016 10:12:09 -0700) - Re: [GRASE-Hotspot] Re: UAM redirection - José Borges <jo***s@algardata.pt>
- 2016-05-12 (Thu, 12 May 2016 15:33:57 +0100) - Re: [GRASE-Hotspot] Re: UAM redirection - Henry Terkura Swende <he***e@gmail.com>
- 2016-05-12 (Thu, 12 May 2016 07:14:42 -0700) - Re: UAM redirection - José Borges <jo***s@algardata.pt>