RUTX50 GSMCTL / UBUS command to get LTE signal strenth etc

Hello!

I am looking for cli command in order to read the current signal strenght (RSSI / dBm) of the cellular modem also the current frequency/band would be good to know! The device is RUTX50 running RUTX_R_00.07.08.2. Can you help?

I have already tried using “gsmctl -q”
Failed to get request. ERR: Not found
ERROR: Couldn’t retrieve data

and also

“ubus call gsm.modem0 get_signal_query”
Command failed: Not found

root@RUTX08:~# ubus list
boardjson
connchecker
dhcp
dnsmasq
dnsmasq.dns
file
gsm
hostapd
hotplug.block
hotplug.dhcp
hotplug.firmware
hotplug.gsm
hotplug.ieee80211
hotplug.iface
hotplug.ipsec
hotplug.mctl
hotplug.neigh
hotplug.net
hotplug.ntp
hotplug.openvpn
hotplug.tftp
hotplug.tty
hotplug.usb
hotplug.usbmisc
ioman.gpio.din1
ioman.gpio.dout1
ip_block
iwinfo
lan_info
ledman
log
mctl
mdcollect
mnfinfo
mobifd
modbus_client
mwan3
network
network.device
network.interface
network.interface.lan
network.interface.loopback
network.interface.wan
network.rrdns
network.wireless
networkmap
port_events
profile
rc
rms
rpc-sys
rut_fota
serial
service
session
sms_limit
system
uci
uhttpd
wpa_supplicant

Best Regards
Jonas

updated fw to latest [RUTX_R_00.07.08.3]

adding below info:

  • Internal modem firmware version

RG501QEUAAR12A11M4G_04.200.04.200

  • Kernel version

5.10.217

update, so using the built in CLI in the webgui of the RUTX50 it works fine.
both
ubus call gsm.modem0 get_signal_query
and gsmctl -q works

but they dont work in puTTy, can someone explain why? I log in with same credentials…
doh

Are you writing those with " or without " ? You need to put these commands without " . Also, maybe encoding or line ending causes the problem in Putty, try to play with these settings.

Using Putty … are you logging in with username = root (NOT your normal login username e.g. admin), and password = the one you normally use as admin?

This topic was automatically closed after 15 days. New replies are no longer allowed.