Hotspot browser not automatically redirected

I am using OS5 with an RB750. I have set up a hotspot. However, when I start up a browser using a computer connected to that port/LAN it does not automatically redirect. If I type in the URL of the login page (i.e. HS server IP > login.html) the login page appears and then I can log on and off and all works as it should. It’s just the initial redirect when a browser is started up.

i also had problems getting sessions logged off. It seemed that I could click “log off” and the status window said “you are logged off” but as soon as i try to access any web page it automatically logs on again. I want to be able to switch users on the same computer and it was thus impossible to do so. I also want to set an idle timeout so that if there is no activity for 30 minutes it automatically logs off and requires a user action to be reconnected. However, I could not get the idle time out, session time out and keep alive timeouts to do this. I don’t understand how they should work. I tried every combination I could think of, in the hotspot server and the user profiles, but it didn’t seem to make the slightest difference.

Any help would be appreciated

1.) Is the home page HTTPS? Or are you using IE?
The router cannot display a HTTP login page to someone that is trying to go to a HTTPS web site, it simply just does not work. Also IE tends to have problems with cached pages, so that might be the source of the problem. We generally just have people turn off Automatic Detect settings when they use IE, that tends to make it run better, or make them use FireFox.

2.) What login methods are you supporting? It’s sounding like you are allowing people to sign in via cookies. If you remove the login option, that should resolve that.

I am using the default hotspot login page login.html, after installing all packages including hotspot.It is located in the hotspot directory in the router. That is the page I want to see when I open the browser. But I just get page not found error, because the browser is not being redirected from its own home page. The router DNS system should be working to redirect the browser home page request to the login.html file. But it isnt.

The other problem did indeed seem to be cookies. I removed that option and it does stay logged out. Thanks.

Have you tried using an ip rather than domain name as a test? This should be Google:
http://74.125.115.106
If you get redirected to the login page with that, and not using http://www.google.com, then it is probably dns.
Check to insure you have “allow-remote-requests=yes” in your dns settings.

Please check the user profile " transparent proxy= enable " and " open status page =always " , coz this will re-direct to home page Google or yahoo pr any page in set in browsing ..


Thank you

Transparent proxy and status page have nothing at all to do with a guest being redirect. Those are for different services after they have signed in.

He still hasn’t answered the question of, is the home page on the PC you are testing HTTPS? What happens when you try and browse to other web sites that aren’t HTTPS? The router cannot redirect HTTPS sessions to the login page.

Are you using IE? What happens when you try browing to a page you haven’t been before, or been to in a while? IE can be a bit of a pain when you redirect it to something it wasn’t expecting. This mainly comes because it likes to cache a lot of stuff.

did you enable cookie on server profiles login on hotspot setting?.

Thanks all, I haven’t had time yet to get back to try these out, will do so in a few hours. I appreciate your suggestions !

I am using hotspot login method HTTP CHAP only, cookies disabled. Home page on browser is http not https.

I have transp proxy enabled and open status page always set

There is no DNS name in server profile (blank), and DNS IP shows as 0.0.0.0 in HS server. I tried adding the hotspot IP address but it didn’t work.Do I need any particular DNS set up?

I can type in the IP address of the hotspot and it works fine. But any webpage URL and “error page not found”. I tried adding a static record to the DNS with IP address of hotspot and blank name. The record gets labelled “Regexp” (R). For a moment it seemed to be working but then I found it was only for a single webpage and was not consistent. I am fliundering over that one.
Maybe it is going to much quicker to restore it to the default. How do i do that, by uninstalling the hotspot package? If I do that, how do I get it back, by installing “all packages” again?

Simply go to IP > Hotspot and remove all instances, go to IP > Hotspot > Profile and remove all instances, and also remove users and user profiles if you created any. Then start again. If you create Hotspot profiles with the same names click the Reset HTML button after you re-create them.

Hi,

Thanks. I tried that, i.e. in IP > Hotspot deleted all instances of server, server profile (except for default), users and user profiles. Rebooted. Created a Hotspot server and assigned an existing address pool and interface.

Start a browser, and any URL comes up with “page not found”. It does not automatiocally redirect to the login page.

Type in the IP address of the HS i.e. 192.168.88.1 and the login page appears.

To be sure I reset the RB, deleted all the Hotspot HTML files in the “Files” area, and even uninstalled the hotspot package and reinstalled it again.

Still no progress.

What is the expected behavior, is it supposed to redirect users to the login page?

Are you using the hotspot setup routine to install the hotspot?

/ip hotspot setup

The only changes I make to the default entries are these:
masquerade network: no
select certificate: none
All others should be correct.

Have you tried using an ip address to login? This should be Google
http://74.125.113.105
Does it forward to Google when you login?

This is solved. I was trying to set it up offline. I hadn’t understood that it needs to connect to a DNS server to enable the redirect. I all makes sense now.

good day. I have an same question with you.
Are you solve the problem yet? and how did you solved it?


Thanks :slight_smile:

I have the same question with you,(double adsl+pcc+hotspot) The hotspot login page are not automatically redirected .

I find if I disable one of adsl line(I have two adsl line),the hotspot can automatically redirect.

But I can’t resolved this problem. can you?

iki cendole mas, njaluk pira?

Hello,

any solution found for 2 adsl & hotspot?

I have specified both router as dns server but same problem like discribed above…

Please give a respond.

Paul

check if that solution works…
since you are using PCC mangle rules to mark connections add this condition to each rule (hotspot=auth) so only auth user conenction will be marked
hope this will be helpful

hi
i have a problem.
The issue is that the client when connected to the hotspot is not being redirected to a login page when there is no internet connectivity.
I did these settings:
servers: 192.168.5.1
dynamic-servers:
allow-remote-requests: yes
max-udp-packet-size: 4096
query-server-timeout: 2s
query-total-timeout: 10s
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 13KiB

[ganjine@KBK] > ip dns static print
Flags: D - dynamic, X - disabled, R - regexp

NAME ADDRESS TTL

0 R 192.168.5.1 1d
1 R .. 192.168.5.1 1d
2 D kaaaaa.com 192.168.5.1 5m

Where do I put that rule for it to work?