Hi all,
Is there any API by which I can fetch all connected users from simple queue with name, IP, tx,rx etc.
I can fetch users from hotspot but I have pppoe users as well. (only limited records are displayed though).
Thanks in advance.
Hi all,
Is there any API by which I can fetch all connected users from simple queue with name, IP, tx,rx etc.
I can fetch users from hotspot but I have pppoe users as well. (only limited records are displayed though).
Thanks in advance.
If you know the target IP of the queue (which you can find by inspecting the “address” of an active PPPoE connection), you can just supply that in a query, e.g.
/ppp/active/get
=number=user1
=value-name=address
!done
=ret=192.168.88.100
/queue/simple/print
?target=192.168.88.100/32
!re
=name=queue1
=target=192.168.88.100/32
...
!done
Thanks for quick response.
But I want list of all connected users with name, rx,tx etc. Not aware about IP address of user.
Would appreciate help with example.