Community discussions

MikroTik App
 
singh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Apr 04, 2009 11:57 am

Hotspot users automatic expiry

Tue Aug 03, 2010 10:15 am

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Hotspot users automatic expiry

Tue Aug 03, 2010 3:49 pm

Use User Manager, which is a Mikrotik RADIUS server for RouterOS. It supports the concept pf vouchers, which is exactly what you are looking for.
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: Hotspot users automatic expiry

Tue Aug 03, 2010 5:49 pm

Fewi is right, you are looking to use Radius. Weather this be User Manager or another Radius server and back end system.

This describes the Radius Attributes available, I believe the Session-Timeout would be what you are looking for.
http://wiki.mikrotik.com/wiki/RADIUS_Client

As far as generating random user names/passwords, it all depends on the back end system being used.
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

Re: Hotspot users automatic expiry

Wed Aug 04, 2010 11:32 am

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
Hi we have a package for this kind of requirement we are using currently what you are required it cost us around Rs. 4500/- INR which includes a radius and web user interface which allow you to set the session time after that the user id and password becomes useless.

you you need this just let me know.

Birender
 
singh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Apr 04, 2009 11:57 am

Re: Hotspot users automatic expiry

Tue Aug 10, 2010 11:54 am

Use User Manager, which is a Mikrotik RADIUS server for RouterOS. It supports the concept pf vouchers, which is exactly what you are looking for.
Actually I am a bit new at these things.
Is this User Manager part of the router OS I have or is it a separate entity?
How difficult is it to set it up?
 
singh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Apr 04, 2009 11:57 am

Re: Hotspot users automatic expiry

Tue Aug 10, 2010 12:57 pm

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
Hi we have a package for this kind of requirement we are using currently what you are required it cost us around Rs. 4500/- INR which includes a radius and web user interface which allow you to set the session time after that the user id and password becomes useless.

you you need this just let me know.

Birender

Hi Birender, I think I really am intrested in this. I am in Kenya. Please advise
 
singh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sat Apr 04, 2009 11:57 am

Re: Hotspot users automatic expiry

Wed Aug 11, 2010 8:59 am

Can anyone please assist.........
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Hotspot users automatic expiry

Wed Aug 11, 2010 3:39 pm

http://wiki.mikrotik.com/wiki/Manual:User_Manager
http://wiki.mikrotik.com/wiki/User_Mana ... ed_Voucher

There are other User Manager voucher howtos on the wiki. Always search the manual first...
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

Re: Hotspot users automatic expiry

Wed Aug 11, 2010 4:15 pm

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
Hi we have a package for this kind of requirement we are using currently what you are required it cost us around Rs. 4500/- INR which includes a radius and web user interface which allow you to set the session time after that the user id and password becomes useless.

you you need this just let me know.

Birender

Hi Birender, I think I really am intrested in this. I am in Kenya. Please advise
contact me on my mobile 8121674534
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

Re: Hotspot users automatic expiry

Tue Aug 17, 2010 12:15 pm

Can anyone please assist.........
I try to send you mail but its bounced please mention your email i will send you the details.

or you can forward your email to sales@wifi4india.com

birender
 
Christiano
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Fri Aug 13, 2010 8:53 pm

Re: Hotspot users automatic expiry

Wed Aug 18, 2010 10:27 pm

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
Hey, i´m looking for it but in API PHP. Is possible?
$API->write('/user/add', false);
$API->write('=group=full', false);
$API->write('=name=zuca', false);
$API->write('=password=123456');
whats the command i use here to define a time´s expire for user?
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

Re: Hotspot users automatic expiry

Thu Aug 19, 2010 9:00 am

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
Hey, i´m looking for it but in API PHP. Is possible?
$API->write('/user/add', false);
$API->write('=group=full', false);
$API->write('=name=zuca', false);
$API->write('=password=123456');
whats the command i use here to define a time´s expire for user?
The best method is to use Radius server based users were you have lots of options like what you are talking a bout.
 
Christiano
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Fri Aug 13, 2010 8:53 pm

Re: Hotspot users automatic expiry

Fri Aug 27, 2010 10:00 pm

Hello.
I have been using the hotspot feature on the mikrotik router OS.
I need to know if I can somehow create users to expire automatically, say after 12 hours or 1day.
I would also like to know if there is a way of generating random logins and passwords, whereby when the user comes, he will sort of buy a scratch card with the login and password which would then expire in say 1day or 12hours or 1hour after his first login
Hey, i´m looking for it but in API PHP. Is possible?
$API->write('/user/add', false);
$API->write('=group=full', false);
$API->write('=name=zuca', false);
$API->write('=password=123456');
whats the command i use here to define a time´s expire for user?

Look here:

http://forum.mikrotik.com/viewtopic.php?f=13&t=44421
 
theviper0308
just joined
Posts: 15
Joined: Mon Nov 26, 2012 10:45 am

Re: Hotspot users automatic expiry

Tue Dec 04, 2012 7:36 am

i use user manager 5.22,
today i was create 1 ticket using profile : usage = 1 hour, valid = 1 day.
how to know when this ticket expiry date? or is it this ticket still can be use on the next next next year?
thanks. i hope somebody will answer my post.

so weird.this is main mikrotik forum, but no one answer my post before.

thanks.

Who is online

Users browsing this forum: ilyav3 and 108 guests