RUT906 Hotspot Package - chilli_query not working

RUT906, firmware RUT9M_R_00.07.11.1, after installing the Hotspot package I wanted to use “chilli_query” to change “on the fly” two parameters - maxbwup and maxbwdown for a selected session.
in Hotspot configuration I have set:

  • interface: RUT906_xxx (not LAN)
  • mode: MAC authentication
  • landing page Internal

I executed the commands
root@RUT906:~# chilli_query list sessionid 77e406a06756b55e
E8-5A-8B-0B-BE-09 192.168.2.1 pass 77e406a06756b55e 1 E8-5A-8B-0B-BE-09 9226/0 93/0 16167057/0 2326603/0 0 0 0 0/0 0/0 http://connectivitycheck.gstatic.com/generate_204 vlan=(null)
root@RUT906:~# chilli_query update sessionid 77e406a06756b55e maxbwdown 500000
root@RUT906:~# chilli_query update sessionid 77e406a06756b55e maxbwup 500000
root@RUT906:~# chilli_query list sessionid 77e406a06756b55e
E8-5A-8B-0B-BE-09 192.168.2.1 pass 77e406a06756b55e 1 E8-5A-8B-0B-BE-09 9258/0 29/0 16167900/0 2327955/0 0 0 0 0%/500000 1%/0 http://connectivitycheck.gstatic.com/generate_204 vlan=(null)

From the last command it appears that one parameter was changed (why only one?), but it did not affect the actual transfer speed for this client.

This is important to me, could someone help me with this please.
Thanks in advance for all advice.

I’ve checked this on the RUT955 with RUT9_R_00.07.06.16 and it works like a charm there

Hello,

Could you kindly share the output from the RUT955?
Thank you!

Best regards,

Helo,
Here you are.
As you see the last output shows the changes and the results was confirmed by speedtest-net. Bandwidth was decreased according to settings.
Hope this help you solve the problem on RUT906.

root@RUT955:~# chilli_query list mac 3A-F5-07-C6-DD-70

3A-F5-07-C6-DD-70 192.168.2.11 pass 3b9aca0000000000 1 3A-F5-07-C6-DD-70 137/0 55/0 73521/80000000 26175/20000000 0 0 0 0%/3000000 0%/5000000 http :// connectivitycheck.gstatic .com/generate_204 vlan=(null)

root@RUT955:~# chilli_query update ip 192.168.2.11 maxbwup 100000

root@RUT955:~# chilli_query list mac 3A-F5-07-C6-DD-70

3A-F5-07-C6-DD-70 192.168.2.11 pass 3b9aca0000000000 1 3A-F5-07-C6-DD-70 169/0 15/0 2176115/0 291066/0 0 0 0 0%/100000 2117%/0 http://connectivitycheck.gstatic .com/generate_204 vlan=(null)

root@RUT955:~# chilli_query update ip 192.168.2.11 maxbwdown 500000

root@RUT955:~# chilli_query list mac 3A-F5-07-C6-DD-70

3A-F5-07-C6-DD-70 192.168.2.11 pass 3b9aca0000000000 1 3A-F5-07-C6-DD-70 187/0 0/0 2282411/0 347106/0 0 0 0 35%/0 0%/500000 http :// connectivitycheck.gstatic.com / generate_204 vlan=(null)

Hello,

Could you please confirm if you are still experiencing the issue after upgrading to the latest 7.11.2 firmware version? You can download it here.

Best regards,

Hello,
yes, I’m still experiencing the issue after upgrading to the latest 7.11.2

firmware RUT9M_R_00.07.11.2, have a look at below:

root@RUT906:~# chilli_query list
B6-C8-99-FA-7D-83 192.168.2.4 pass 77e566a067613aab 1 B6-C8-99-FA-7D-83 50/0 21/0 57272/80000000 38141/20000000 0 0 30000000 0%/2000000 0%/5000000 http://connectivitycheck.gstatic.com/generate_204 vlan=(null)

root@RUT906:~# tc class show dev br-lan
class htb 1:14 root prio 0 rate 5Mbit ceil 5Mbit burst 1600b cburst 1600b

root@RUT906:~# chilli_query update sessionid 77e566a067613aab maxbwup 100000

root@RUT906:~# chilli_query list sessionid 77e566a067613aab
B6-C8-99-FA-7D-83 192.168.2.4 pass 77e566a067613aab 1 B6-C8-99-FA-7D-83 193/0 13/0 1004485/0 80914/0 0 0 0 0%/100000 0%/0 http://connectivitycheck.gstatic.com/generate_204 vlan=(null)

root@RUT906:~# chilli_query update sessionid 77e566a067613aab maxbwdown 100000

root@RUT906:~# chilli_query list sessionid 77e566a067613aab
B6-C8-99-FA-7D-83 192.168.2.4 pass 77e566a067613aab 1 B6-C8-99-FA-7D-83 219/0 39/0 1004485/0 80914/0 0 0 0 0%/0 0%/100000 http://connectivitycheck.gstatic.com/generate_204 vlan=(null)

root@RUT906:~# tc class show dev br-lan
class htb 1:14 root prio 0 rate 5Mbit ceil 5Mbit burst 1600b cburst 1600b

and no effect to the client

Hello,

I have sent you a form. Once you complete it, I will contact you privately. For the Ticket ID, please use “10905”.

Best regards,

Hello,

I have forwarded this information to our RnD team. While they investigate, they suggested using the RutOS API, which is the officially supported tool. The chilli_query command is an open-source utility that may not function reliably.

The API documentation can be found here: Teltonika Networks Web API

Regarding the command, you should execute the following in the terminal:
api get /hotspot/groups/config '{"id":"default"}

Please let me know if you need any further assistance.

Best regards,