Changes for page Cellular network connection details and tips
Last modified by Xiaoling on 2024/08/08 09:05
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -79,7 +79,7 @@ 79 79 Fri Feb 7 01:20:30 2020 local2.info chat[29485]: OK 80 80 Fri Feb 7 01:20:30 2020 local2.info chat[29485]: ~-~- got it 81 81 (% style="color:#037691" %)Fri Feb 7 01:20:30 2020 local2.info chat[29485]: send (ATD*99#^M) ~-~-~-~--> In case the dialling process already reach here. 82 -Normally the problem is with a provider, need to check if the SIM card has balance or other requirement from the cellular operator (%%)82 +(% style="color:#037691" %)Normally the problem is with a provider, need to check if the SIM card has balance or other requirement from the cellular operator 83 83 (% style="color:black" %)Fri Feb 7 01:20:30 2020 local2.info chat[29485]: expect (CONNECT) 84 84 Fri Feb 7 01:20:30 2020 local2.info chat[29485]: ^M 85 85 Fri Feb 7 01:20:30 2020 local2.info chat[29485]: ATD*99#^M^M ... ... @@ -95,9 +95,7 @@ 95 95 96 96 root@dragino-1d25dc:~~# cat /etc/config/firewall 97 97 98 -(% class="box" %) 99 -((( 100 -config defaults 98 +{{{config defaults 101 101 option syn_flood '1' 102 102 option input 'ACCEPT' 103 103 option output 'ACCEPT' ... ... @@ -107,13 +107,13 @@ 107 107 list network 'lan' 108 108 option input 'ACCEPT' 109 109 option output 'ACCEPT' 110 - option forward 'REJECT' 108 + option forward 'REJECT' 111 111 config zone 112 112 option name 'wan' 113 113 list network 'wan' 114 114 list network 'wwan' 115 115 list network 'wan6' 116 - list network 'cellular' ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--> Add this line and reboot114 + list network 'cellular' -----------------> Add this line and reboot 117 117 option input 'REJECT' 118 118 option output 'ACCEPT' 119 119 option forward 'ACCEPT' ... ... @@ -122,7 +122,7 @@ 122 122 config forwarding 123 123 option src 'lan' 124 124 option dest 'wan' 125 - )))123 +}}} 126 126 127 127 and run **/etc/init.d/firewall reload** or reboot the device. 128 128 ... ... @@ -132,22 +132,21 @@ 132 132 133 133 Select "**Serial Port Setup**": 134 134 135 -(% class="box infomessage" %) 136 -((( 137 -root@dragino-1ef9ac:~~# minicom -s 138 -))) 133 +{{{root@dragino-1ef9ac:~# minicom -s 134 +}}} 139 139 140 140 [[image:https://wiki.dragino.com/images/thumb/0/05/4G-1.png/400px-4G-1.png||height="265" width="400"]] 141 141 142 142 Enter the minicom command 143 143 140 + 144 144 Access the serial port of the 4G module 145 145 146 146 Serial port setup is as follows: 147 147 148 -**Serial Device :** (% style="color:#037691" %)**/dev/ttyModemAT**145 +**Serial Device :** /dev/ttyModemAT 149 149 150 -**Bps/Par/Bits : (% style="color:#037691" %)9600 8N1 or 115200 8N1(%%)**147 +**Bps/Par/Bits :** 9600 8N1 or 115200 8N1 151 151 152 152 [[image:https://wiki.dragino.com/images/thumb/c/cb/EC25_1.png/400px-EC25_1.png||height="164" width="400"]] 153 153 ... ... @@ -156,22 +156,21 @@ 156 156 157 157 Enter AT+GSN in the serial port to view the IMEI 158 158 159 -For example: **(% style="color:#037691" %)860548042566627(%%)**156 +For example: 860548042566627 160 160 161 -(% class="box infomessage" %) 162 -((( 163 -AT+GSN 164 -))) 158 +{{{AT+GSN 159 +}}} 165 165 166 166 [[image:https://wiki.dragino.com/images/thumb/6/66/4G-3.png/400px-4G-3.png||height="286" width="400"]] 167 167 168 168 Enter the AT command 169 169 165 + 170 170 = 5. How does the gateway connect to the network via a USB 4G Dongle = 171 171 172 172 == 5.1 Introduction == 173 173 174 - (% style="color:red" %)**Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware**170 +Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware 175 175 176 176 This introduces a setup and configured gateway for using a USB 3g/UMTS-modem for WAN connection. 177 177 ... ... @@ -186,15 +186,13 @@ 186 186 187 187 For example, the Huawei-E3372/E8372 is using Hilink mode or NCM mode. 188 188 189 -(% class="box" %) 190 -((( 191 - Huawei-E3372/E8372 192 - Check (% style="color:#037691" %)**E3372**(% style="color:black" %) version to determine the mode. 185 +{{{ Huawei-E3372/E8372 186 + Check E3372 version to determine the mode. 193 193 The version numbers starting with 21 is NCM mode 194 194 The version numbers starting with 22 is Hilink mode 195 195 The E8372 only have Hilink mode 196 - (% style="color:red" %)Note:The e3372 in the vast majority of cases is Hilink mode197 - )))190 + Note:The e3372 in the vast majority of cases is Hilink mode 191 +}}} 198 198 199 199 == 5.3 Hilink mode == 200 200 ... ... @@ -206,9 +206,9 @@ 206 206 207 207 USB-Dongle plugs into the gateway USB port 208 208 209 -Check the USB module via comman (% style="color:#037691" %)**lsusb**203 +Check the USB module via comman lsusb 210 210 211 - (% style="color:red" %)**Note : User neet to do that connect gateway command line via ssh.**205 +Note : User neet to do that connect gateway command line via ssh. 212 212 213 213 [[image:https://wiki.dragino.com/images/2/25/Usb-4g.png||height="63" width="554"]] 214 214 ... ... @@ -216,30 +216,28 @@ 216 216 217 217 === 5.3.2 2.Detection of new network interfaces added === 218 218 219 -Command line input: (% style="color:#037691" %)**ifconfig -a**213 +Command line input: ifconfig -a 220 220 221 221 [[image:https://wiki.dragino.com/images/thumb/a/a0/Usb-4g-1.png/400px-Usb-4g-1.png||height="401" width="400"]] 222 222 223 223 Check the network 224 224 225 -In the command output user can see that the new interface added is (% style="color:#037691" %)**eth2**219 +In the command output user can see that the new interface added is eth2 226 226 227 -Usually,user can see that the new interface added is (% style="color:#037691" %)**eth2** (% style="color:black" %)or (% style="color:#037691" %)**wwan0**221 +Usually,user can see that the new interface added is eth2 or wwan0 228 228 229 229 === 5.3.3 3.Add the new interface to the network confiutation. === 230 230 231 231 Enter the configuration from the command line: 232 232 233 -(% class="box" %) 234 -((( 235 -uci set network.lte=interface 227 +{{{uci set network.lte=interface 236 236 uci set network.lte.proto=dhcp 237 -uci set network.lte.ifname=eth2 ~-~-~-~-~-~-~-~-->#This depend on the name of the new interface gateway add229 +uci set network.lte.ifname=eth2 --------->#This depend on the name of the new interface gateway add 238 238 uci commit network 239 239 uci set firewall.@zone[1].network="wan wwan wan6 lte" 240 240 uci commit firewall 241 241 /etc/init.d/network restart 242 - )))234 +}}} 243 243 244 244 [[~[~[image:https://wiki.dragino.com/images/thumb/7/73/Usb-4g-4.png/600px-Usb-4g-4.png~|~|height="116" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Usb-4g-4.png]] 245 245 ... ... @@ -247,7 +247,7 @@ 247 247 248 248 Checking Network Configurations 249 249 250 -Command line input: (% style="color:#037691" %)**ifconfig**242 +Command line input: ifconfig 251 251 252 252 [[~[~[image:https://wiki.dragino.com/images/b/b8/Usb-4g-3.png~|~|height="514" width="554"~]~]>>url:https://wiki.dragino.com/index.php/File:Usb-4g-3.png]] 253 253