Community discussions

MikroTik App
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Where can users check their usage?

Tue Oct 09, 2012 9:55 pm

Is there a URL that users can go to where they can see how much data / time they have used and how much they have remaining? I'm using v5.16.

If there is no URL, then are there some server variables I can use to display that information on the Hotspot status page?

thanks,

Gareth
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Re: Where can users check their usage?

Wed Oct 10, 2012 12:49 pm

Okay, so I've discovered that users are supposed to be able to login and check their usage here, http://[my-router-ip]/user, but it doesn't work... it just says "invalid username or password" when I try it.

Thoughts anyone? Am I doing something wrong? I've tried doing this with v4 and v5, but the result is always the same... :(
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26385
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Where can users check their usage?

Wed Oct 10, 2012 12:56 pm

are they using Hotspot? Please clarify your setup in more detail
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Re: Where can users check their usage?

Wed Oct 10, 2012 1:22 pm

Yes, users login via hotspot.

Hotspot IP is 172.23.0.254 and it uses the user manager on router IP 10.1.1.10 as its radius server. User "gareth" is set up as a user at 10.1.1.10/userman
Image

So, if I login as user "gareth" at 172.23.0.254/login and I proceed to 10.1.1.10/user and try to login, then I get the following error message:
Image


I have the same problem when i use usermanager v5
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Where can users check their usage?

Wed Oct 10, 2012 1:37 pm

There is no such page /login.

Please use correct URL link to get User Manager user page,
http://wiki.mikrotik.com/wiki/User_Manager/User_page
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Re: Where can users check their usage?

Wed Oct 10, 2012 1:43 pm

There is no such page /login.
Yes there is - it's on the hotspot. User first logs on to the Hotspot at 172.23.0.254/login and then tries to login to the user manager at 10.1.1.10/user, as described in the link you posted.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Where can users check their usage?

Wed Oct 10, 2012 1:46 pm

Have you tried to open correct user page?

http://Router_IP_address/user?subs=publicID
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Re: Where can users check their usage?

Wed Oct 10, 2012 1:50 pm

Yes, the url I tried was http://10.1.1.10/user?subs=subscribers, where "subscribers" is the public id of the user's owner (customer)
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Re: Where can users check their usage?

Wed Oct 10, 2012 2:32 pm

Okay, so I've managed to get this working (sort of...) in the v5 user manager that I'm testing with.

I have my customers set up like this:
Image

... and my user was set up like this:
Image

With this setup, if I went to http://10.1.1.10/user?subs=subscribers and tried to login as user "gareth", it would say invalid "username or password".


However, if I change the user's owner to admin, like this:
Image

... and I go to http://10.1.1.10/user?subs=admin, then I can login as user "gareth" :-D , which is at least better than nothing I suppose , but I really need to keep users separated under the three different customer profiles. So why is this happening and how can i fix it??? :?

Your help would really be appreciated!
 
Gareth
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Sat Apr 24, 2010 7:45 am
Location: South Africa

Re: Where can users check their usage?

Thu Oct 11, 2012 8:42 am

Okay, so maybe the problem is that the "vouchers", "subscribers" and "holidaymakers" customers need to have owner permissions, because only a customer with owner permissions can be a subscriber. So based on this premise, I cleared the database and added all three as owners via the terminal e.g.
/tool user-manager customer
add login=vouchers password="" permissions=owner public-id=vouchers
add login=subscribers password="" permissions=owner public-id=subscribers
add login=holidaymakers password="" permissions=owner public-id=holidaymakers
... but after I did this, I ran into major problems when creating profiles and limitations.

e.g.
- user manager seems to randomly assign ownership of profiles to the wrong subscribers
- limitations are not added correctly to profiles; I tried adding three limitations to a newly created profile, but it only added two. No amount of deleting and recreating the limitations and profiles would fix the problem.

I assumed that the database had become corrupted, so I exported it to a file (via the terminal), cleared the database and recreated it (via the terminal). The result of this operation, was that all the profiles I had created under the "vouchers" subscriber were added to "admin" and I could not add them to any new users I tried to create using the "vouchers" subscriber.

I think that all in all, I've cleared and recreated the user manager database from scratch about 15 times since yesterday.
.
.
.
.
... PLEASE HELP

I've spent two weeks trying to get User Manager set up correctly, but it is by far the most buggy piece of ill-documented software (e.g. 1, 2, 3, 4) I have ever come across. I am satisfied that I know how to set up Profiles, Limitations and Users correctly in v5 (when there is only 1 owner), but how on Earth do I create users that belong to one of 3 different subscribers and still allow them to login and check their usage, by clicking on links like this?

http://10.1.1.10/user?subs=subscribers
http://10.1.1.10/user?subs=vouchers
http://10.1.1.10/user?subs=holidaymakers
 
johntehilah
just joined
Posts: 4
Joined: Sat Oct 11, 2014 10:15 pm

Re: Where can users check their usage?

Fri Oct 17, 2014 4:28 pm

I have hotspot setup properly and working fine on ver6.2, I aneed hotspot user to be able to check thier usage and data balance, please how do I achieve this? can someone point me in the right direction please?
 
dennyglover
just joined
Posts: 15
Joined: Fri Dec 27, 2013 2:05 pm

Re: Where can users check their usage?

Fri Aug 19, 2016 1:52 pm

where can pppoe and hotspot users check their usage easily,

Who is online

Users browsing this forum: vagrik and 58 guests