How on earth i make the browser open the UAM upon the user connecting to the wireless network?
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"
--
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 grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://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/a7c8b504-c18c-4933-a034-4d3914ce0a61%40grasehotspot.org.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/ada2929d-2611-4fac-aac7-0930d7d6b567%40grasehotspot.org.
I think the reason it gives you the uam login page first time is because dhcp lease for that IP had expired and was assigned as new dhcp request... Hence when you disconnect from wifi and reconnect before the dhcp lease expires you'll have to navigate to a non HTTPS website to get the uam login page. I think it has a lot to do with how coovachilli works .....you get blocked when you try to access services not allowed without authentication and authorization..... My observations over time
--
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 grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://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/1f09a37e-45b1-47e4-a3dc-69dbcb114d2b%40grasehotspot.org.
Ok, I think I didn't get the full picture, thought the problem applied to all devices you were using .....but now I think it's device specific.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/6e988722-0fe6-4488-958e-b9512a1a5b85%40grasehotspot.org.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/1de8672c-5834-4502-8014-7205a69b647d%40grasehotspot.org.
FROM MINE
uamallowed "www.coova.org${HS_UAMSERVER:+,$HS_UAMSERVER}$webadmin$uamallow"
TO YOURS
uamallowed "${HS_UAMSERVER:+$HS_UAMSERVER}$webadmin$uamallow"
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/7715d020-3bf1-4be1-a1ae-02e1608064d4%40grasehotspot.org.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/12f9b895-8d6d-40bb-b50d-2252ba93cf31%40grasehotspot.org.