2016-03-05 - Re: [GRASE-Hotspot] Problem with Redirection to Users Login Page

Header Data

From: Ali Farajpahlou <al***u@gmail.com>
Message Hash: f3c9486f68a2a962651348547d8b68310e482381f47b1f27b07d77a0bea66c79
Message ID: <e753fe7d-23de-4892-9178-1e799347bb74@grasehotspot.org>
Reply To: <CAATbWPg6ZtaY2xpe1_jn-fMVnN54uhz=aL7tsoMnjr2TBk-PZw@mail.gmail.com>
UTC Datetime: 2016-03-05 04:52:18 UTC
Raw Date: Sat, 05 Mar 2016 03:52:18 -0800

Raw message

thankyou kira

I was thinking about a cron job my self. thanks for the suggestion and 
reviewing my problem.

On Saturday, March 5, 2016 at 3:18:48 PM UTC+3:30, KIRA Ynet wrote:
>
> You need to restart dnsmasq and chilli.  I know its a trouble,  but for 
> now that's the only way to make it working after reboot after you face this 
> unable to redirect issue.  Maybe Tim can take a look why was this happen.  
>
> So far for me to fix the issue, i've setup cron job 4 minutes after 
> bootup,  it restart the dnsmasq and chilli.  
>
> Maybe Tim can find out the possibilities of this issue appeared. 
> On 5 Mar 2016 19:30, "Timothy White" <ti***.@gmail.com <javascript:>> 
> wrote:
>
>> It does sound like it could be DNS related.
>>
>> Can you check with either dig, or nslookup, (or even ping) if DNS is 
>> working.
>>
>> e.g.
>> ping google.com (should give you an IP address then it'll attempt to 
>> ping)
>> Might be good to try
>> ping grasehotspot.org (as it should be in the walled garden, and so 
>> should work).
>>
>> dig @10.1.0.1 google.com
>>
>> Regards
>>
>> Tim
>>
>> On Sat, Mar 5, 2016 at 9:18 PM, Ali Farajpahlou <al***.@gmail.com 
>> <javascript:>> wrote:
>>
>>> thanks for the reply
>>>
>>> I'm so sry, I forgot to mention that I actually use www.yahoo.com for 
>>> tests, as other posts have suggested that the SSL limitations might be the 
>>> problem. no luck. its really an odd thing to happen actually, cuz after 
>>> approximately 30 mins it gets fixed! i don't know if this should be 
>>> considered as a problem (it gets fixed by it self, but it takes time :D ). 
>>> so sry if I'm consuming your time. and thank you again.
>>>
>>> i just rebooted the server. tried on 2 clients, when i enter ip address 
>>> in the browser, the redirection works (i tried 8.8.8.8), but when i use a 
>>> web url, it doesn't work. does it have anything to do with the dns?
>>>
>>> On Saturday, March 5, 2016 at 2:16:01 PM UTC+3:30, timwhite88 wrote:
>>>>
>>>> Hi Ali
>>>>
>>>> Can you try using come command line web clients (curl is a great one) 
>>>> to diagnose the issue. They key may be to do with the kind of sites they 
>>>> are visiting, as the UAM redirect can not work for SSL sites (limitation of 
>>>> how SSL works).
>>>>
>>>> I normally use Yahoo to test, as they don't default to SSL. I also try 
>>>> going directly to an ip address like 8.8.8.8 because even though normally 
>>>> there isn't a website there, the UAM redirect will catch that.
>>>>
>>>> Regards
>>>>
>>>> Tim
>>>>
>>>> On Sat, Mar 5, 2016 at 7:41 PM, Ali Farajpahlou <al***.@gmail.com> 
>>>> wrote:
>>>>
>>>>> Hey!
>>>>>
>>>>> First of all, a thanx for all the work to all who had a hand in making 
>>>>> this project. Seriously thanx!!!
>>>>>
>>>>> I first search other posts for this, couldn't find any answer, and the 
>>>>> Problem:
>>>>>
>>>>> I have successfully installed grase on latest version of debian, 
>>>>> Everything is working fine, the server machine boots up fine, DHCP to 
>>>>> clients over lan OK, but when i connect client machines it will take around 
>>>>> 30 mins (after the complete server bootup) for them to be redirected to the 
>>>>> UAM login page. i couldn't find the reason why it takes this long. users 
>>>>> can ping the lan ip (10.1.0.1) and manually can enter the login page and 
>>>>> login, but untill the redirection is fixed, clients can't open pages even 
>>>>> after the manual login thing. the intresting thing saw was after manual 
>>>>> login, "Telegram" application starts using the internet, but webpages still 
>>>>> not working.
>>>>>
>>>>> sry for my bad english, i would appriciate u'r oppinion on this matter.
>>>>>
>>>>> with Regards.
>>>>>
>>>>> Ali Farajpahlou.
>>>>>
>>>>> -- 
>>>>> 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.
>>>>> To post to this group, send email to gr***.@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/56d1a710-4b41-47a6-bb80-a8980e5a6b7a%40grasehotspot.org 
>>>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/56d1a710-4b41-47a6-bb80-a8980e5a6b7a%40grasehotspot.org?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>
>>>> -- 
>>> 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 
>>> 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/124194f1-98cf-4bc7-a60e-66685b5bd886%40grasehotspot.org 
>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/124194f1-98cf-4bc7-a60e-66685b5bd886%40grasehotspot.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>> -- 
>> 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 
>> 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/CAESLx0J5%3Dv6SWiTW%3D04ZR_Fb8JFrhkcZjUAW8k9j2N0DW-doyg%40mail.gmail.com 
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0J5%3Dv6SWiTW%3D04ZR_Fb8JFrhkcZjUAW8k9j2N0DW-doyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

Thread