Community discussions

MikroTik App
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

hotspot problem plz help

Wed May 04, 2011 9:07 am

Hello all,

I have around 15 users in my hotspot its working good but when we leave it at off duty our starts at 6:00 pm TO 8:00 am it became inaccessible I mean the login page not showing and the browser still looking up.

I can get it back to work when I shutdown the server and disable the hotspot.

thanks
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot problem plz help

Wed May 04, 2011 1:24 pm

I just saw your other post with the login page. That is not correct.
http://forum.mikrotik.com/viewtopic.php?f=9&t=51169

That page should look somewhat like the code for login.html, except the "$(xxx)" variables will be filled in, and one small section may be gone. The user and password form entries should be there.

Try that again. Get the login page with the user and password form fields, then do a "View Source", copy the page, and post the results here.

Are you using "login-by=http-chap" in "/ip hotspot profile"? Don't use "login-by=cookie,http-chap" until you get the rest worked out.

ADD: When it fails again, you should check the log before you reset everything to see why the hotspot is failing. There might be a clue there.
 
glucz
Member Candidate
Member Candidate
Posts: 123
Joined: Wed Jun 06, 2007 10:25 pm

Re: hotspot problem plz help

Wed May 04, 2011 3:36 pm

Hello.

Which version of routeros do you use?
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

Re: hotspot problem plz help

Wed May 04, 2011 3:53 pm

Dear SurferTim,
My hotspot did not work until I used none dhcp pool and default profile and default server profile.
but now I faced multiple issues listed below:
1- I am not able to do limit download some files extensions either via queue tree or simple tree.
2- setup web proxy also not worked.
3- the problem I have mentioned in creating this post which is disability to login after night I mean when employee's get back next day they can not get login page at all the browser still in lookup process.

Dear glucz,

I running 3.2 L5 upgradable to V4.

thanks bros
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot problem plz help

Wed May 04, 2011 4:06 pm

Hi salytwo. Sounds like you are having a real challenge. The network is good when you disable the hotspot, correct?

I would like to see some of the changes you have made. Please post "/ip hotspot print" and "/ip hotspot profile print".

ADD: I also recommend upgrading to at least V3.31. I think that is the latest release of that legacy version.
When the hotspot fails again, you should check the log first, then reset the router or hotspot.

Enable the debug logging for the hotspot if you have not already.
/system logging
add topics=hotspot,debug action=memory
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

Re: hotspot problem plz help

Wed May 04, 2011 4:32 pm

Hi dear,

that is:

admin@MikroTik] /ip hotspot> print
Flags: X - disabled, I - invalid, S - HTTPS
# NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
0 hotspot1 LAN dhcp_pool1 default 1m



[admin@MikroTik] /ip hotspot profile> print
Flags: * - default
0 * name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot
rate-limit="" http-proxy=192.168.3.1:8080 smtp-server=0.0.0.0
login-by=http-chap split-user-domain=no use-radius=no

1 name="hsprof2" hotspot-address=192.168.2.1 dns-name=""
html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0
smtp-server=0.0.0.0 login-by=http-chap split-user-domain=no
use-radius=no

I enabled the debugging.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot problem plz help

Wed May 04, 2011 5:05 pm

This is where your hotspot service thinks your login service is:
<meta http-equiv="refresh" content="0; url=http://192.168.1.1/login?dst=http%3A%2F%2Fwww.google.com%2F">
This is from your last post on the previous thread. That is not the hotspot address. I think it was that at one time, but you have done some editing and removed some things. You may have removed the wrong profile.

The current hotspot address is invalid. The "default" profile hotspot-address=0.0.0.0

Even if you change that hotspot back to the other profile (hsprof2), it is not 192.168.1.1 either. It is 192.168.2.1. ??

The correct profile was probably hsprof1.

Try setting the hotspot-address to 192.168.1.1 in the default profile. And remove the http-proxy setting there too. Set it back to 0.0.0.0:0

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], floresta, gimmo, SkypilotLDO and 128 guests