Community discussions

MikroTik App
 
thpet
just joined
Topic Author
Posts: 4
Joined: Thu Jan 27, 2005 1:26 am

Disable logout from Hotspot ??

Sat Jul 16, 2005 6:59 am

I've tried to delete logout.html and rewrite the html code, but nothing seems to stop users from logging out.
When they put http://www.myhotspot.com/logout in the browser they are logged off. I want to prevent this from happening so the uptime-limit counter don't stop until the time is up. Is this possible with the built-in user-database or do I need to use Radius?
 
User avatar
infomate
Member Candidate
Member Candidate
Posts: 114
Joined: Sat May 21, 2005 2:30 pm
Location: Dumaguete City, Philippines

Sat Jul 16, 2005 6:59 pm

I just cant figure-out why you would not allow your users to log-out?

Are they paying for time-usage?
 
thpet
just joined
Topic Author
Posts: 4
Joined: Thu Jan 27, 2005 1:26 am

Tue Jul 19, 2005 12:18 am

Your right, the customers are paying for a time period of 24,48 hours and so on. That's why I need to stop logoff. Any advice?
 
User avatar
infomate
Member Candidate
Member Candidate
Posts: 114
Joined: Sat May 21, 2005 2:30 pm
Location: Dumaguete City, Philippines

Tue Jul 19, 2005 3:39 am

If you have set up you hotspot right, then you should not any problems using the uptime-limit checkbox. If you would like them to be disconnected if they are not doiung anything then activate ide-timeout too.

Hope this helps.

Robert S.
 
thpet
just joined
Topic Author
Posts: 4
Joined: Thu Jan 27, 2005 1:26 am

Thu Jul 28, 2005 1:08 pm

I don't have a problem with the uptime-limit. I need to stop users from login out. Idle-timeout is also set to 24-48 hours and so on.
Has anyone done this before?
 
User avatar
Roman
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Wed Oct 06, 2004 11:24 am

Thu Jul 28, 2005 2:34 pm

cruel intensions :twisted:
 
User avatar
infomate
Member Candidate
Member Candidate
Posts: 114
Joined: Sat May 21, 2005 2:30 pm
Location: Dumaguete City, Philippines

Thu Jul 28, 2005 4:00 pm

hmmmmm. So what you need is like an expiry time. A user account expires 24 or 48 hours after first use. (e.g. a demo/trial account) The user cannot stop the time used (via logout or any countdown timer) and will continually consume uptime untill the account expires.

You can use MT Hotspot Manager as your RADIUS and use the valid until.

http://moon.mt.lv

Hope this helps. Let me know otherwise.. :?

Robert S.
[/img]
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Fri Jul 29, 2005 4:54 pm

well... of course one thing you can do is to disable completely all traffic from authenticated clients to the hotspotpages at all (not only to logoff page, but also to status page and other) by using "hotspot" matcher ininputchain of the firewall (something like add chain=input hotspot=auth,local-dst action=drop). you can also try to play wih it by adding "content" matcher for "logoff" substring, but i do not know id it will work... please report back on success.

Who is online

Users browsing this forum: dot02, pturkey, VProk and 59 guests