Community discussions

MikroTik App
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

How to enable or disable user?

Sat Mar 26, 2011 8:16 pm

Hello,

i want to know that how we can disable or enable user from webpage. Like login page of hotspot.

Waiting for answer.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to enable or disable user?

Sat Mar 26, 2011 8:54 pm

You cannot do any such thing from a page hosted on the router. You would need an external server that hosts the page. Then you can make API calls from there.
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

Re: How to enable or disable user?

Sat Mar 26, 2011 9:11 pm

is API working on routeros v2.9.7... if yes then please tell me the full procedure of connection api with server and commands of api for disable and enable user.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to enable or disable user?

Sat Mar 26, 2011 9:37 pm

a) 2.9 is no longer supported, upgrade
b) read the manual! There is extensive and clear API documentation there.
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

Re: How to enable or disable user?

Mon Mar 28, 2011 1:47 pm

we upgraded to v3.22.. Now tell i want to do a prepaid recharge system. like if anyone want to enable his account after 30 days he/she enter card number if card number will correct his/her account will enable from the mikrotik os.

Please tell me about it..
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

Re: How to enable or disable user?

Wed Mar 30, 2011 8:42 pm

can anyone please reply.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: How to enable or disable user?

Mon Apr 04, 2011 11:08 am

for that you have to look at RADIUS (user-manager) solutions, where you can print vauchers, make billing etc.
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

Re: How to enable or disable user?

Mon Apr 04, 2011 6:35 pm

can you please send me any link or tell me how can i activate Radius in my routeros.
 
MICPROF
Member Candidate
Member Candidate
Posts: 106
Joined: Thu Jan 27, 2011 7:22 pm
Contact:

Re: How to enable or disable user?

Mon Apr 04, 2011 7:05 pm

Hi,

You can't make that in mikrotik with use webpage , but when use radius server and make time to enable and disable user auto ..
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

Re: How to enable or disable user?

Mon Apr 04, 2011 7:58 pm

any one please guide me about radius server.
 
MICPROF
Member Candidate
Member Candidate
Posts: 106
Joined: Thu Jan 27, 2011 7:22 pm
Contact:

Re: How to enable or disable user?

Tue Apr 05, 2011 7:37 pm

Hello,


Any version from radius server , last version 3.9
 
rajamani779
Member Candidate
Member Candidate
Topic Author
Posts: 125
Joined: Sat Mar 26, 2011 7:56 pm

Re: How to enable or disable user?

Tue Apr 05, 2011 10:50 pm

Hello,

and how can i integrate or Active Radius server with Routeros.