Changes for page Cellular network connection details and tips
Last modified by Kilight Cao on 2024/12/31 16:38
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Kilight - Content
-
... ... @@ -6,10 +6,10 @@ 6 6 7 7 8 8 9 -= 1. Enable Cellular Connection = 9 += **1. Enable Cellular Connection** = 10 10 11 11 12 -If your device has a Cellular module, you can see the below screenshot. enable the cellular connection here. 12 +//If your device has a Cellular module, you can see the below screenshot. enable the cellular connection here.// 13 13 14 14 [[image:image-20220601110850-2.png]] 15 15 ... ... @@ -17,23 +17,25 @@ 17 17 18 18 19 19 ((( 20 -If your device doesn't have a cellular module, you will see a cellular module not detected. 20 +//If your device doesn't have a cellular module, you will see a cellular module not detected.// 21 21 ))) 22 22 23 23 [[image:image-20220527153544-2.png]] 24 24 25 25 26 -= 2. How to Debug if Cellular connection fails = 27 27 27 += **2. How to Debug if Cellular connection fails** = 28 28 29 -If there is a problem with the cellular connection. Please check the below points: 30 30 30 +//If there is a problem with the cellular connection. Please check the below points~:// 31 31 32 -== 2.1 Do you order the model with a cellular option == 33 33 34 34 35 - Makesureyou order the model withthecellular option.Can check by command or via the Web UI.34 +== **2.1 Do you order the model with a cellular option** == 36 36 36 + 37 +//Make sure you order the model with the cellular option. Can check by command or via the Web UI.// 38 + 37 37 (% class="box" %) 38 38 ((( 39 39 //root@dragino-1bbd90:~~# lsusb ... ... @@ -45,14 +45,15 @@ 45 45 [[image:image-20220601110748-1.png]] 46 46 47 47 48 -== 2.2 Do you input the SIM card correctly == 49 49 51 +== **2.2 Do you input the SIM card correctly** == 50 50 51 -**Below command can check if you have a SIM card inserted, or via Web UI** 52 52 53 -* Make sure to Power Off when you insert the SIM card and power on the device. The device doesn't support auto-detect SIM card on power on 54 -* Make sure you have the correct direction to insert the SIM card. Every device has an example photo in the manual for the direction. 54 +**//Below command can check if you have a SIM card inserted, or via Web UI//** 55 55 56 +* //Make sure to Power Off when you insert the SIM card and power on the device. The device doesn't support auto-detect SIM card on power on// 57 +* //Make sure you have the correct direction to insert the SIM card. Every device has an example photo in the manual for the direction.// 58 + 56 56 (% class="box" %) 57 57 ((( 58 58 //root@dragino-1dadd8:~~# **comgt -d /dev/ttyUSB3** ... ... @@ -68,20 +68,21 @@ 68 68 69 69 70 70 (% class="wikigeneratedid" %) 71 -**(% style="color:red" %)Note:(%%)**(% style="color:red" %) **If the icon is missing some information, like SIM, Network, or Signal, which may be due to the display bug.** 74 +//**(% style="color:red" %)Note:(%%)**(% style="color:red" %) **If the icon is missing some information, like SIM, Network, or Signal, which may be due to the display bug.**// 72 72 73 73 (% class="wikigeneratedid" %) 74 -Please check the IP address is displayed and the Internet displays "OK", it works properly. 77 +//Please check the IP address is displayed and the Internet displays "OK", it works properly.// 75 75 76 76 (% class="wikigeneratedid" %) 77 77 [[image:image-20220527153827-5.png]] 78 78 79 79 80 -== 2.3 Check dialing info == 81 81 84 +== **2.3 Check dialing info** == 82 82 83 -run "**logread -f**" in gateway CLI。 84 84 87 +//run "**logread -f**" in gateway CLI。// 88 + 85 85 (% class="box" %) 86 86 ((( 87 87 Fri Feb 7 01:20:28 2020 daemon.notice pppd[29452]: pppd 2.4.7 started by root, uid 0 ... ... @@ -123,51 +123,57 @@ 123 123 ))) 124 124 125 125 126 -== 2.4 If the following situation occurs, how can users solve this problem? == 127 127 128 -== =2.4.1The gateway can readtheSIMcard,But theInternet isdisplayedasFail.===131 +== **2.4 If the following situation occurs, how can users solve this problem?** == 129 129 130 130 131 - Userscancheckwhether the APN matchedbythe SIM cardiscorrect.134 +=== **2.4.1 The gateway can read the SIM card, But the Internet is displayed as Fail.** === 132 132 133 -Regarding what APN your SIM card should use, Users can search for the APN corresponding to the SIM card by Google or ask the carrier. 134 134 137 +//Users can check whether the APN matched by the SIM card is correct.// 135 135 139 +//Regarding what APN your SIM card should use, Users can search for the APN corresponding to the SIM card by Google or ask the carrier.// 140 + 141 + 136 136 [[image:image-20220718155937-1.png||height="562" width="497"]] 137 137 138 138 139 -=== 2.4.2 The gateway can read the SIM card, But the Internet is displayed as Fail, and at the same time Network displays the carrier network. === 140 140 146 +=== **2.4.2 The gateway can read the SIM card, But the Internet is displayed as Fail, and at the same time Network displays the carrier network.** === 141 141 142 -It should be SIM card no flow, users can insert SIM cards into the mobile phone for testing. 143 143 149 +//It should be SIM card no flow, users can insert SIM cards into the mobile phone for testing.// 144 144 151 + 145 145 [[image:1658131428288-728.png||height="538" width="494"]] 146 146 147 147 148 -=== 2.4.3 The gateway can't read the SIM card, and the Internet is displayed as Fail. === 149 149 156 +=== **2.4.3 The gateway can't read the SIM card, and the Internet is displayed as Fail.** === 150 150 151 -Users need to check whether the SIM card type is suitable for the EC25 module. 152 152 159 +//Users need to check whether the SIM card type is suitable for the EC25 module.// 153 153 161 + 154 154 [[image:1658131612484-845.png||height="549" width="499"]] 155 155 156 156 157 -=== 2.4.4 SIM display:~*~**SIM ERROR~*~** Check SIM is inserted test SIM in a mobile phone? === 158 158 166 +=== **2.4.4 SIM display:~*~**SIM ERROR~*~** Check SIM is inserted test SIM in a mobile phone?** === 159 159 160 -Users can insert SIM cards into the mobile phone for testing. 161 161 169 +//Users can insert SIM cards into the mobile phone for testing.// 162 162 171 + 163 163 [[image:image-20220718160804-3.png||height="602" width="500"]] 164 164 165 165 166 -= 3. Share Cellular Network for WiFi & LAN clients = 167 167 176 += **3. Share Cellular Network for WiFi & LAN clients** = 168 168 178 + 169 169 ((( 170 -By default, the Cellular Network won't be shared with the WiFi or LAN clients. If users need to share with them, the user can modify the file. 180 +//By default, the Cellular Network won't be shared with the WiFi or LAN clients. If users need to share with them, the user can modify the file.// 171 171 ))) 172 172 173 173 (% class="box" %) ... ... @@ -204,17 +204,19 @@ 204 204 ))) 205 205 206 206 ((( 207 -and run **/etc/init.d/firewall reload** or **reboot the device**.217 +//and run **/etc/init.d/firewall reload** or reboot the device.// 208 208 209 209 210 -= 4. Switching between Cellular and Ethernet and Wi-Fi networks = 211 211 221 += **4. Switching between Cellular and Ethernet and Wi-Fi networks** = 212 212 213 -By default, Cell is the backup WAN where the Ethernet or Wi-Fi network is used first if they are available. 214 214 215 - OncetheEthernetoftheWi-Fi networkisunavailablewhere thegatewaynetworkwill switchto a Cellnetwork fromEthernetor Wi-Fi.224 +//By default, Cell is the backup WAN where the Ethernet or Wi-Fi network is used first if they are available.// 216 216 226 +//Once the Ethernet of the Wi-Fi network is unavailable where the gateway network will switch to a Cell network from Ethernet or Wi-Fi.// 217 217 228 + 229 + 218 218 **Enable Cellular and connect Ethernet at the same time** 219 219 220 220 ETH icon is displayed as [[image:1658135519305-444.png||height="18" width="19"]] Indicates that Ethernet is the main working network. ... ... @@ -222,48 +222,53 @@ 222 222 Cell icon is displayed as [[image:1658135500498-725.png||height="17" width="17"]] Indicates that Cellular is the backup WAN. 223 223 224 224 225 - ==4.1 Switching between Cellular and Ethernetnetworks==237 +(% style="display:none" %) (%%) 226 226 239 +== **4.1 Switching between Cellular and Ethernet networks** == 227 227 228 -When connecting to the AP WiFI of the gateway, users can access the Web UI of the gateway through the default address 10.130.1.1 229 229 242 +//When connecting to the AP WiFI of the gateway, users can access the Web UI of the gateway through the default address 10.130.1.1// 243 + 230 230 [[image:image-20220606140622-2.png||height="664" width="1106"]] 231 231 232 232 233 -**Remove the network cable from the WAN port on the gateway, the gateway will switch to a Cellular network.** 247 +//**Remove the network cable from the WAN port on the gateway, the gateway will switch to a Cellular network.**// 234 234 235 235 [[image:image-20220606140859-4.png||height="687" width="1107"]] 236 236 237 237 (% style="display:none" %) (%%) 238 238 239 -== 4.2 Switching between Cellular and WiFi networks == 240 240 254 +== **4.2 Switching between Cellular and WiFi networks** == 241 241 256 + 242 242 (% class="wikigeneratedid" %) 243 -Enable **Cellular** and connect **WiFi** at the same time 258 +//Enable **Cellular** and connect **WiFi** at the same time// 244 244 245 -WiFi icon is displayed as [[image:1658135519305-444.png||height="23" width="24"]] Indicates that WiFi is the main working network. 260 +//WiFi icon is displayed as //[[image:1658135519305-444.png||height="23" width="24"]] Indicates that WiFi is the main working network. 246 246 247 -Cell icon is displayed as 262 +//Cell icon is displayed as //[[image:1658135500498-725.png||height="23" width="22"]]// Indicates that Cellular is the backup WAN.// 248 248 249 249 250 250 [[image:image-20220606141113-7.png||height="678" width="1106"]] 251 251 252 252 253 -**Close the WiFi WAN, the gateway will switch to a Cellular network.** 268 +//**Close the WiFi WAN, the gateway will switch to a Cellular network.**// 254 254 255 255 [[image:image-20220606140932-5.png||height="687" width="1107"]] 256 256 257 257 258 -== 4.3 At the same time start Cellular and Ethernet and Wi-Fi networks == 259 259 274 +== **4.3 At the same time start Cellular and Ethernet and Wi-Fi networks** == 260 260 276 + 261 261 [[image:image-20220606140328-1.png||height="682" width="1108"]] 262 262 279 + 263 263 264 264 ))) 265 265 266 -= 5. How does the gateway view the International Mobile Equipment Identity (IMEI) = 283 += **5. How does the gateway view the International Mobile Equipment Identity (IMEI)** = 267 267 268 268 269 269 Users can get the IMEI via Linux command, but you have to access the gateway CLI. ... ... @@ -282,12 +282,12 @@ 282 282 == **How does the gateway access the Quetel module directly (to send AT commands)** == 283 283 284 284 285 -Users can access the gateway CLI and run the minicom command to get the configuration interface. 302 +//Users can access the gateway CLI and run the minicom command to get the configuration interface.// 286 286 287 287 ((( 288 288 289 289 290 -**Enter the minicom command, then select the option ''serial port setup".** 307 +**//Enter the minicom command, then select the option ''serial port setup".//** 291 291 ))) 292 292 293 293 (% class="box infomessage" %) ... ... @@ -308,7 +308,7 @@ 308 308 ))) 309 309 310 310 311 -(% style="color:red" %)**Note: Enter the corresponding letter to change the configuration, like A,B,C** 328 +(% style="color:red" %)//**Note: Enter the corresponding letter to change the configuration, like A,B,C**// 312 312 313 313 [[image:image-20220527154154-7.png]] 314 314 ... ... @@ -317,11 +317,11 @@ 317 317 318 318 319 319 ((( 320 -Enter (% style="color:blue" %)**AT+GSN **(%%)in the interface to get the IMEI, 337 +//Enter (% style="color:blue" %)**AT+GSN **(%%)in the interface to get the IMEI,// 321 321 ))) 322 322 323 323 ((( 324 -**For example: (% style="color:#037691" %)860548042566627(%%)** 341 +//**For example: (% style="color:#037691" %)860548042566627(%%)**// 325 325 ))) 326 326 327 327 (% class="box infomessage" %) ... ... @@ -338,11 +338,11 @@ 338 338 339 339 340 340 ((( 341 -Enter (% style="color:blue" %)**AT+QCCID **(%%)in the interface to get the ICCID, 358 +//Enter (% style="color:blue" %)**AT+QCCID **(%%)in the interface to get the ICCID,// 342 342 ))) 343 343 344 344 ((( 345 -**For example: (% style="color:#037691" %)89860118005400261748(%%)** 362 +//**For example: (% style="color:#037691" %)89860118005400261748(%%)**// 346 346 347 347 (% class="box infomessage" %) 348 348 ((( ... ... @@ -352,39 +352,40 @@ 352 352 353 353 [[image:1678675878256-777.png]] 354 354 372 += **6. How does the gateway connect to the network via a USB 4G Dongle** = 355 355 356 -= 6. How does the gateway connect to the network via a USB 4G Dongle = 357 357 358 -== 6.1 Introduction == 375 +== **6.1 Introduction** == 359 359 360 360 361 -(% style="color:red" %)**Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware** 378 +(% style="color:red" %)**//Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware//** 362 362 363 363 ((( 364 -This introduces a setup and configured gateway for using a USB 3g/UMTS-modem for WAN connection. 381 +//This introduces a setup and configured gateway for using a USB 3g/UMTS-modem for WAN connection.// 365 365 366 366 367 367 ))) 368 368 369 369 ((( 370 -Many modes (and most **LTE**) USB modems provide **qmi**, **mbim**, **ncm**, **rndis** protocol for connection instead of legacy **ppp** protocol, they are faster and better, overall recommended. 387 +//Many modes (and most **LTE**) USB modems provide **qmi**, **mbim**, **ncm**, **rndis** protocol for connection instead of legacy **ppp** protocol, they are faster and better, overall recommended.// 371 371 ))) 372 372 373 373 ((( 374 -This is not beginner-friendly due to too many protocols. 391 +//This is not beginner-friendly due to too many protocols.// 375 375 376 -For more information: [[https:~~/~~/openwrt.org/docs/guide-user/network/wan/wwan/3gdongle>>url:https://openwrt.org/docs/guide-user/network/wan/wwan/3gdongle]] 393 +//For more information: [[https:~~/~~/openwrt.org/docs/guide-user/network/wan/wwan/3gdongle>>url:https://openwrt.org/docs/guide-user/network/wan/wwan/3gdongle]]// 377 377 395 + 378 378 379 379 ))) 380 380 381 -== 6.2 How to use the USB Dongle at the gateway == 399 +== **6.2 How to use the USB Dongle at the gateway** == 382 382 383 383 384 -Most of the products can be used on the gateway, but because their protocols are different, they are not used in the same way. 402 +//Most of the products can be used on the gateway, but because their protocols are different, they are not used in the same way.// 385 385 386 386 ((( 387 -For example, the Huawei-E3372/E8372 is using **Hilink mode** or **NCM mode**. 405 +//For example, the Huawei-E3372/E8372 is using **Hilink mode** or **NCM mode**.// 388 388 ))) 389 389 390 390 (% class="box" %) ... ... @@ -398,35 +398,38 @@ 398 398 ))) 399 399 400 400 401 -== 6.3 Hilink mode == 402 402 420 +== **6.3 Hilink mode** == 403 403 422 + 404 404 //Gateway upgrade to the specified firmware:[[Hilink.mode~~-~~-build-v5.4.1625627505>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308-LG301/Firmware/USB-Dongle_firmware/Hilink.mode--build-v5.4.1625627505-20210707-1113/]]// 405 405 406 406 407 -=== 6.3.1 Plugs into the device === 408 408 427 +=== **6.3.1 Plugs into the device** === 409 409 429 + 410 410 ((( 411 -USB-Dongle plugs into the gateway USB port 431 +//USB-Dongle plugs into the gateway USB port// 412 412 ))) 413 413 414 414 ((( 415 -Check the USB module via command (% style="color:#037691" %)**lsusb** 435 +//Check the USB module via command (% style="color:#037691" %)**lsusb**// 416 416 ))) 417 417 418 418 ((( 419 -(% style="color:red" %)**Note: Users need to that connect to the gateway command line via ssh.** 439 +(% style="color:red" %)//**Note: Users need to that connect to the gateway command line via ssh.**// 420 420 ))) 421 421 422 422 [[image:image-20220527154739-9.png]] 423 423 424 424 425 -=== 6.3.2 Detection of new network interfaces added === 426 426 446 +=== **6.3.2 Detection of new network interfaces added** === 427 427 428 -Check network configuration command line input: 429 429 449 +//Check network configuration command line input: // 450 + 430 430 (% class="box infomessage" %) 431 431 ((( 432 432 ((( ... ... @@ -436,14 +436,15 @@ 436 436 437 437 [[image:image-20220527154822-10.png]] 438 438 439 -In the command, the output user can see that the new interface added is (% style="color:#037691" %)**eth2** 460 +//In the command, the output user can see that the new interface added is (% style="color:#037691" %)**eth2**// 440 440 441 -Usually, the user can see that the new interface added is (% style="color:#037691" %)**eth2** (% style="color:black" %)or (% style="color:#037691" %)**wwan0** 462 +//Usually, the user can see that the new interface added is (% style="color:#037691" %)**eth2** (% style="color:black" %)or (% style="color:#037691" %)**wwan0**// 442 442 443 443 444 -=== 6.3.3 Add the new interface to the network configuration. === 445 445 466 +=== **6.3.3 Add the new interface to the network configuration.** === 446 446 468 + 447 447 //Enter the configuration from the command line~:// 448 448 449 449 (% class="box" %) ... ... @@ -466,64 +466,62 @@ 466 466 467 467 [[image:image-20220527155013-12.png]] 468 468 469 -Now, Gateway is configured to access the internet on the LTE network. 491 +//Now, Gateway is configured to access the internet on the LTE network.// 470 470 471 471 472 -== 6.4 NCM mode == 473 473 495 +== **6.4 NCM mode** == 474 474 475 -== 6.5 Troubleshooting == 476 476 477 -== =6.5.1The USB-Dongleinterface cannotobtainthe IP address.===498 +== **6.5 Troubleshooting** == 478 478 479 479 480 - PleasetrythisUSBdongleto access theinternet on your PC, to makesure this USB donglecanrmallyaccesstheinternet.501 +=== **6.5.1 The USB-Dongle interface cannot obtain the IP address.** === 481 481 482 482 483 - =7.Howto reducedata traffic=504 +//Please try this USB dongle to access the internet on your PC, to make sure this USB dongle can normally access the internet.// 484 484 485 -== 7.1 How the gateway will consume data traffic == 486 486 487 -Below list the place where the data traffic will use. 488 488 489 -* Valid uplink data to LoRaWAN server or IoT server. ( We can't reduce this as they are the data we want) 490 -* Invalid uplink sensor data to LoRaWAN serevr. ( See Filter unwanted packets) 491 -* LoRaWAN Status push or polling data to LoRaWAN server . ( We can reduce this part , see below for discussion) 492 -* System Keep Alive data. ( To ensure the system is more robust, can be disabled) 493 -* Auto update ( Software auto update, can be disabled) 508 += **7. How to reduce data traffic** = 494 494 495 -=== 7.1.1 LoRaWAN Status push or polling data to LoRaWAN server === 496 496 497 - Whengatewayconnect to LoRaWAN server via LoRaWAN protocol, besidesthe sensor datauplink/downlink.gateway willstill need to:511 +== **7.1 Reduce Status Uplink Interval** == 498 498 499 -* Uplink self-status to the LoRaWAN server every 30s. the users can adjust **Keep Alive Period** as below 500 -* Check LoRaWAN server status every 5 seconds to see if there is valid downlink command to sensors. We don't provide WEB UI option to modify this time, because the modify of this settings will lead to fail on OTAA Join and Downlink commands. 501 501 514 +**//The gateways will use the data traffic below two places.//** 515 + 516 + 517 +//1. There is the data traffic from LoRa package Forward which were the gateway status package and sensor end node uplink/downlink.// 518 + 519 +//For this case, by default, the gateway will uplink self-status to the LoRaWAN server per the 30s. the users can adjust the interval time.// 520 + 502 502 [[image:image-20220527155108-13.png]] 503 503 504 504 505 -=== 7.1.2 System Keep Alive data === 506 506 507 - SystemKeepAliveData isused tocheckgateway-network statusandfix possibleissue.Gateway will check every15 secondsand generatetraffic.525 +//2. There is the data traffic from the gateway check self-network status. by default, the gateway will check the network per 15s.// 508 508 509 - Baseon15secondspercheck,the data traffic isabout 2M data traffic per day.Users can adjust**KeepaliveInterval**as below.527 +//For this case, We have monitored the loss of data traffic, which is the loss of 2M data traffic per day. the users can adjust the interval time following screenshots.// 510 510 511 -[[image:image-20220527155 229-15.png||height="511" width="986"]]529 +[[image:image-20220527155358-16.png]] 512 512 531 +//System General interface// 513 513 514 -=== 7.1.3 Auto update === 515 515 516 - Gateway will check for update every day for new configureor software. User can disablethem by below method.534 +[[image:image-20220527155229-15.png]] 517 517 536 +//Keepalive script interval time settings// 518 518 519 -=== 7.1.4 Filter unwanted packets === 520 520 521 -When gateway connect to LoRaWAN server via LoRaWAN protocol , Gateway will by default get every possible LoRaWAN packets and forward to LoRaWAN server. If there are sensors from others in the same area, such sensor data will also be forward to LoRaWAN server ( they will be ignore by the server). This also consume data. 522 522 540 +== **7.2 Filter unwanted packets** == 541 + 542 + 523 523 See [[How to filter unwanted packets>>doc:Main.Filter unwanted LoRaWAN packets.WebHome]] 524 524 525 525 526 -== 7. 2Usage statistics ==546 +== **7.3 Usage statistics** == 527 527 528 528 529 529 ~1. Activate LuCI and connect to SSH following [[these instructions>>doc:Main.Install Luci in the new UI firmware.WebHome]] ... ... @@ -543,7 +543,6 @@ 543 543 544 544 [[image:image-20221124135102-2.png]] 545 545 546 - 547 547 4. View the graphs and statistics using by going to **Statistics > Graphs** **> Interfaces > 3g-cellullar** 548 548 549 549 [[image:image-20221124134927-1.png]]