Community discussions

MikroTik App
thpet
刚刚加入了
Topic Author
Posts: 4
加入: 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 puthttp://www.myhotspot.com/logoutin 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?
Top
用户头像
infomate
Member Candidate
Member Candidate
Posts: 114
加入: 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?
Top
thpet
刚刚加入了
Topic Author
Posts: 4
加入: 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?
Top
用户头像
infomate
Member Candidate
Member Candidate
Posts: 114
加入: 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.
Top
thpet
刚刚加入了
Topic Author
Posts: 4
加入: 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?
Top
用户头像
Roman
Frequent Visitor
Frequent Visitor
Posts: 81
加入: Wed Oct 06, 2004 11:24 am

Thu Jul 28, 2005 2:34 pm

cruel intensions:twisted:
Top
用户头像
infomate
Member Candidate
Member Candidate
Posts: 114
加入: Sat May 21, 2005 2:30 pm
Location:Dumaguete City, Philippines

2005年7月28日,星期四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]
Top
用户头像
lastguru
Trainer
Trainer
Posts: 432
加入: 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.
Top

Who is online

Users browsing this forum:Ahrefs [Bot],DanMos79,raphaps,Semrush [Bot],sh4444dowand 23 guests