Community discussions

MikroTik App
 
Etza
newbie
Topic Author
Posts: 46
Joined: Tue May 31, 2011 10:33 pm

active and host count

Sat Aug 18, 2012 12:01 pm

i want to put count in login page for active and host user
ip hotspot active print count-only
ip hotspot host print count-only

can any help how to input in html login pages ?????
 
angboontiong
Forum Guru
Forum Guru
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: active and host count

Sat Aug 18, 2012 10:23 pm

just wonder know what's the purpose for this?
 
Etza
newbie
Topic Author
Posts: 46
Joined: Tue May 31, 2011 10:33 pm

Re: active and host count

Sun Aug 19, 2012 7:59 pm

the wifi internet is free and i want any user know how used the wifi
so can i put in login pages :
A. now we have xx active user
B. in wifi are connected xx user last week
any help ?????

thx
br
 
angboontiong
Forum Guru
Forum Guru
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: active and host count

Tue Aug 21, 2012 4:55 pm

the wifi internet is free and i want any user know how used the wifi
so can i put in login pages :
A. now we have xx active user
B. in wifi are connected xx user last week
any help ?????

thx
br
if you offered the free services which no need any advertisement page...
you can create the dhcp server will do and set the pcq for it...

or the other way is, you can make us of the "Trial" feature...
 
Etza
newbie
Topic Author
Posts: 46
Joined: Tue May 31, 2011 10:33 pm

Re: active and host count

Tue Aug 21, 2012 11:52 pm

the wifi internet is free and i want any user know how used the wifi
so can i put in login pages :
A. now we have xx active user
B. in wifi are connected xx user last week
any help ?????

thx
br
if you offered the free services which no need any advertisement page...
you can create the dhcp server will do and set the pcq for it...

or the other way is, you can make us of the "Trial" feature...

The user login as trial user but I want in first page the counters.
Is there solution for it ???
What is the pcq ???

Many thx
Br
 
angboontiong
Forum Guru
Forum Guru
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: active and host count

Wed Aug 22, 2012 11:52 am

the wifi internet is free and i want any user know how used the wifi
so can i put in login pages :
A. now we have xx active user
B. in wifi are connected xx user last week
any help ?????

thx
br
if you offered the free services which no need any advertisement page...
you can create the dhcp server will do and set the pcq for it...

or the other way is, you can make us of the "Trial" feature...

The user login as trial user but I want in first page the counters.
Is there solution for it ???
What is the pcq ???

Many thx
Br

if you want to show how many user been use your services...
may be u can put a counter on 3rd party website and link it to you login page...

just to make sure your wallgarden have by pass the counter page will do...
 
Etza
newbie
Topic Author
Posts: 46
Joined: Tue May 31, 2011 10:33 pm

Re: active and host count

Wed Aug 22, 2012 12:41 pm

Thx for repl
I have counter for its, is continuous
Can I have counter for active users ???
 
angboontiong
Forum Guru
Forum Guru
Posts: 1136
Joined: Fri Jan 16, 2009 9:59 am

Re: active and host count

Wed Aug 22, 2012 3:42 pm

Thx for repl
I have counter for its, is continuous
Can I have counter for active users ???
there can have something to make this happened...
but i don't see any purpose for this...

if you want to track and to shown the report to somebody instead of the end user...
then you can get the oid from the mikrotik and put into your mrtg or prtg for the active user monitoring...
 
Etza
newbie
Topic Author
Posts: 46
Joined: Tue May 31, 2011 10:33 pm

Re: active and host count

Wed Aug 22, 2012 6:03 pm

Thx for repl
I have counter for its, is continuous
Can I have counter for active users ???
there can have something to make this happened...
but i don't see any purpose for this...

if you want to track and to shown the report to somebody instead of the end user...
then you can get the oid from the mikrotik and put into your mrtg or prtg for the active user monitoring...
Thx,
How can get oid ??
Sory but iam new in mikrotik
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: active and host count

Wed Aug 22, 2012 8:09 pm

Perhaps this can get you started:
chain=forward action=add-src-to-address-list src-address=<wifi subnet> src-address-list=!ActiveUsers address-list=ActiveUsers address-list-timeout=10m nth=100,1
Create a rule that will add IP (the user) to the ActiveUsers list when the IP is not already on the list. Do that every 100 packet using nth and have list entries expire in 10 minutes.

Resulting ActiveUsers list will have all active users in the last 10 minutes.
 
Etza
newbie
Topic Author
Posts: 46
Joined: Tue May 31, 2011 10:33 pm

Re: active and host count

Thu Aug 30, 2012 4:02 pm

Perhaps this can get you started:
chain=forward action=add-src-to-address-list src-address=<wifi subnet> src-address-list=!ActiveUsers address-list=ActiveUsers address-list-timeout=10m nth=100,1
Create a rule that will add IP (the user) to the ActiveUsers list when the IP is not already on the list. Do that every 100 packet using nth and have list entries expire in 10 minutes.

Resulting ActiveUsers list will have all active users in the last 10 minutes.

thx for re
but can this to pun in login html page ?
thx


any help ?????????????????????? pleaase

Who is online

Users browsing this forum: miker3000, unhuzpt and 72 guests