3 | | LTE-4G ref [https://teklager.se/en/knowledge-base/openwrt-4g-wwan-configuration/ here] |
| 3 | LTE-4G ref [https://teklager.se/en/knowledge-base/openwrt-4g-wwan-configuration/ here] [[br]] |
| 4 | |
| 5 | Get signal info status |
| 6 | {{{ |
| 7 | #!sh |
| 8 | root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-signal-info |
| 9 | { |
| 10 | "type": "lte", |
| 11 | "rssi": -68, |
| 12 | "rsrq": -14, |
| 13 | "rsrp": -100, |
| 14 | "snr": 2.000000 |
| 15 | } |
| 16 | root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-data-status |
| 17 | "connected" |
| 18 | root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-current-settings |
| 19 | { |
| 20 | "pdp-type": "ipv4", |
| 21 | "ip-family": "ipv4", |
| 22 | "mtu": 1500, |
| 23 | "ipv4": { |
| 24 | "ip": "172.30.0.9", |
| 25 | "gateway": "172.30.0.10", |
| 26 | "subnet": "255.255.255.252" |
| 27 | }, |
| 28 | "ipv6": { |
| 29 | |
| 30 | }, |
| 31 | "domain-names": { |
| 32 | |
| 33 | } |
| 34 | } |
| 35 | root@OpenWrt:~# |
| 36 | }}} |