Standalone Modem the 🥷 Ninja CLI WIKI - AT Commands
Share
BRIDGE MODE NOT POSSIBLE
NINJA QUESTIONS - LIVE CHAT - Pleade do not request for assistance via e-mails, this requires realtime support - Response time is 60-Seconds
WEB USER INTERFACE: 192.168.225.1
OFFLINE OR NO CONNECTION OVER ETHERNET BEGIN HERE: at+qmapwac=1;+cfun=1,1
TOOL KIT
PUTTY TRAY (No Install needed): https://drive.google.com/file/d/1B4VrET0zyP1HYCsRTBlpfK9GAhy8r5s9/view?usp=drivesdk
5G Driver Pack (windows only): https://drive.google.com/file/d/1BH2PPtFHijIA7vIIccT1bXUaVr0xgE1f/view?usp=drivesdk
AT COMMANDS WIKI
Here I will post the most pertinent commands
CHANGE WEB UI ADDRESS (single command)
change blue text only to same value (IP - Prefix- example 102.168.12.**)
AT+QMAP="LANIP",192.168.225.20,192.168.225.100,192.168.225.1,1
2 x ESSENTIAL STEPS
Revise IMEI (Essential Step 1)
At+egmr=1,7,"imei-inside-quotes"
Configure APN (Essential Step 2)
IPV4
at+cgdcont=1,"IP","apn-here-inside-of-quotes"
IPV4 + IPV6
at+cgdcont=1,"IPV4V6","apn-here-inside-of-quotes"
IPV6 Only
at+cgdcont=1,"IPV6","apn-here-inside-of-quotes"
Show External IP (all zeros = offline)
AT+QMAP="WWAN"
IP Passthrough AKA IPPT (NOT BRIDGE MODE)
Preferred method:
AT+QMAP="mpdn_rule",0,1,0,1,1,"
Alternate Method
AT+QETH="ipptmac",FF:FF:FF:FF:FF:FF
AT+QETH="rgmii","ENABLE",1,1
Do not replace the FF with the WAN mac this command automatically does it. To confirm your change either look at your WAN IP or run this command and you will see your WAN’s MAC - AT+QETH="ipptmac"
OPEN NAT (NOTE THIS WILL DISABLE THE WEB UI)
AT+QMAP="IPPT_NAT",0
NOTE: To revert to the default IPPT_NAT, you will need to TELNET Port 5000 and send this command - AT+QMAP="IPPT_NAT",1
USB Composition
QMI: at+qcfg="usbnet",0
ECM/PPP : at+qcfg="usbnet",1
MBIM: at+qcfg="usbnet",2
Choose SIM Slot 1 or 2 (Nano Sim)
AT+QUIMSLOT=1 or AT+QUIMSLOT=2
Show active slot: AT+QUIMSLOT?
Show Carrier Aggregation - Band INFO
At+qcainfo
Show Tower Info
at+qeng="servingcell"
Signal Metrics
AT+QCSQ
AT+QRSRP
Mode Preference
Auto: AT+QNWPREFCFG="mode_pref",auto
5G Only: AT+QNWPREFCFG="mode_pref",NR5G
5G + LTE: AT+QNWPREFCFG="mode_pref",NR5G:LTE
Disable/Enable - SA/NSA
Default: AT+QNWPREFCFG="nr5g_disable_mode",0
SA Disabled: AT+QNWPREFCFG="nr5g_disable_mode",1
NSA Disabled: AT+QNWPREFCFG="nr5g_disable_mode",2
Band Lock (examples shown here)
LTE BANDS: at+qnwprefcfg="lte_band",2:12:66
Standalone 5G Bands: at+qnwprefcfg="nr5g_band",25:41
Non-Standalone 5G Bands: at+qnwprefcfg="nsa_nr5g_band",25:41:71
Show All Compatible Bands on the RM520N-GL
at+qnwprefcfg="policy_band"
LAIDBACK COMMANDS
First Example T-Mobile sim in slot 1 - Verizon in slot 2
To use t-mobile in slot 1
at+quimslot=1;+cgdcont=1,"ipv4v6","fast.t-mobile.com"
To use verizon in slot 2
at+quimslot=2;+cgdcont=1,"ipv4v6","vzwinternet"
Next example AT&T Phone Sim slot 1, Verizon phone sim slot 2
at+quimslot=1;+cgdcont=1,"ipv4v6","enhancedphone"
at+quimslot=2;+cgdcont=1,"ipv4v6","vzwinternet"
Next example AT&T tab sim slot 1, T-Mobile Sim Slot 2
at+quimslot=1;+cgdcont=1,"ipv4v6","nrbroadband"
at+quimslot=2;+cgdcont=1,"ipv4v6","fast.t-mobile.com"
SINGLE COMMAND - REVERT ALL BAND LOCKS
AT+QNWPREFCFG="lte_band",1:2:3:4:5:8:12:13:14:17:18:19:20:25:26:28:29:30:32:34:39:40:41:42:43:46:48:66:71;+QNWPREFCFG= "nsa_nr5g_band",1:2:3:5:7:8:12:13:14:18:20:25:26:28:29:30:38:40:41:48:66:70:71:75:76:77:78:79;+QNWPREFCFG="nr5g_band",1:2:3:5:7:8:12:13:14:18:20:25:26:28:29:30:38:40:41:48:66:70:71:75:76:77:78:79 |