doc:appunti:hardware:tl-mr6400_openwrt
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:hardware:tl-mr6400_openwrt [2023/10/31 15:17] – [Upgrade to OpenWRT 22.05.0] niccolo | doc:appunti:hardware:tl-mr6400_openwrt [2025/07/02 16:54] (current) – [LTE signal strenght LEDs] niccolo | ||
|---|---|---|---|
| Line 141: | Line 141: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ^ RSSI  ^ Usability  | ||
| + | | -60 | Good | | ||
| + | | -70   | Acceptable  | ||
| + | | -90   | Barely usable  | ||
| + | |||
| + | The **uqmi** can be used to get several info about the current connection, e.g. the **MCC** (Mobile Country Code), **MNC** (Mobile Network Code), **TAC** (Tracking Area Code, knwon also as **LAC**, Local Area Code): | ||
| + | |||
| + | < | ||
| + | uqmi --device=/ | ||
| + | { | ||
| + |         " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + | }, | ||
| + |         " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + |                 " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | :!: **NOTICE**: Some services - like [[https:// | ||
| + | |||
| + | **ECI = enodeb_id * 256 + cell_id** | ||
| + | |||
| + | So, in the example above, we have that the Cell ID is: | ||
| + | |||
| + | **%%ECI = 344505 * 256 + 7 = 88193287%%** | ||
| + | |||
| Line 222: | Line 268: | ||
| #!/bin/sh | #!/bin/sh | ||
| - | RSSI=" | + | RSSI=" | 
| if ! echo " | if ! echo " | ||
| - |         echo " | + |         echo " | 
| - | exit | + | exit | 
| - | fi | + | fi | 
| echo " | echo " | ||
| - |                                | + | |
| LED1=$(readlink -f / | LED1=$(readlink -f / | ||
| LED2=$(readlink -f / | LED2=$(readlink -f / | ||
| LED3=$(readlink -f / | LED3=$(readlink -f / | ||
| - | + | ||
| - | if [ " | + | if [ " | 
|         echo none > $LED1/ |         echo none > $LED1/ | ||
|         echo none > $LED2/ |         echo none > $LED2/ | ||
|         echo none > $LED3/ |         echo none > $LED3/ | ||
| - | elif [ " | + | elif [ " | 
|         echo default-on > $LED1/ |         echo default-on > $LED1/ | ||
| - |         echo none > $LED2/ | + |         echo none > $LED2/ | 
| - |         echo none > $LED3/ | + |         echo none > $LED3/ | 
| - | elif [ " | + | elif [ " | 
|         echo default-on > $LED1/ |         echo default-on > $LED1/ | ||
|         echo default-on > $LED2/ |         echo default-on > $LED2/ | ||
| - |         echo none > $LED3/ | + |         echo none > $LED3/ | 
| - | else                                    | + | else | 
|         echo default-on > $LED1/ |         echo default-on > $LED1/ | ||
|         echo default-on > $LED2/ |         echo default-on > $LED2/ | ||
|         echo default-on > $LED3/ |         echo default-on > $LED3/ | ||
| - | fi                                      | + | fi | 
| </ | </ | ||
| Line 320: | Line 366: | ||
|   * https:// |   * https:// | ||
| - | This is the list of all the extra packages  | + | This is the list of all the extra packages installed: | 
| - | ^ Packages installed and required space ^^ | + | ^ Package  | 
| - | ^ uqmi_2022-11-29-0.11_mipsel_24kc.ipk  | + | | uqmi_2022-11-29-0.11_mipsel_24kc.ipk  | 
| - | ^ openvpn  | + | | openvpn  | 
| - | ^ luci-app-openvpn  | + | | luci-app-openvpn  | 
| - | ^ tcpdump-mini  | + | | tcpdump-mini  | 
| - | ^ snmpd                                  | + | | snmpd                                  | 
| - | ^ luci-app-snmpd  | + | | luci-app-snmpd  | 
| - | ^ etherwake  | + | | etherwake  | 
| - | ^ coreutils-base64  | + | | coreutils-base64  | 
| + | |||
| + | ===== Sending and receiving SMS ===== | ||
| + | |||
| + | Once installed the **uqmi** package, there is a daemon process **/ | ||
| + | |||
| + |   * **/ | ||
| + |   * **/ | ||
| + | |||
| + | To send a message just create a text file into the **/ | ||
| + | |||
| + | < | ||
| + | +393274445556 | ||
| + | Hello, World! | ||
| + | </ | ||
| + | |||
| + | Received messages will be saved automatically into **/ | ||
| + | |||
| + | < | ||
| + | [Phone Number|CallerID] | ||
| + | Tex message. | ||
| + | </ | ||
| + | |||
| + | If you stop the running uqmi_d.sh daemon, it is possibile to retrieve received messages from **sim** or from **me** (memory). Get first the list of messages availables and then retrieve one: | ||
| + | |||
| + | < | ||
| + | uqmi -d / | ||
| + | uqmi -s -d / | ||
| + | </ | ||
| ===== Web References ===== | ===== Web References ===== | ||
| Line 338: | Line 412: | ||
|   * **[[https:// |   * **[[https:// | ||
|   * **[[https:// |   * **[[https:// | ||
| + |   * **[[https:// | ||
| + |   * **[[https:// | ||
doc/appunti/hardware/tl-mr6400_openwrt.1698761847.txt.gz · Last modified:  by niccolo
                
                