Changes for page Cellular network connection details and tips
Last modified by Kilight Cao on 2024/12/31 16:38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,9 +10,7 @@ 10 10 11 11 Enable Cellular Connection 12 12 13 -((( 14 14 If your device doesn't have a cellular module, you will see a cellular module not detected. 15 -))) 16 16 17 17 [[image:https://wiki.dragino.com/images/thumb/d/da/Cellular_10.png/600px-Cellular_10.png||height="400" width="600"]] 18 18 ... ... @@ -93,17 +93,12 @@ 93 93 94 94 = 3. Share Cellular Network for WiFi & LAN clients = 95 95 96 -((( 97 97 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. 98 -))) 99 99 100 -((( 101 101 root@dragino-1d25dc:~~# cat /etc/config/firewall 102 -))) 103 103 104 104 (% class="box" %) 105 105 ((( 106 -((( 107 107 config defaults 108 108 option syn_flood '1' 109 109 option input 'ACCEPT' ... ... @@ -130,7 +130,6 @@ 130 130 option src 'lan' 131 131 option dest 'wan' 132 132 ))) 133 -))) 134 134 135 135 and run **/etc/init.d/firewall reload** or reboot the device. 136 136 ... ... @@ -138,9 +138,7 @@ 138 138 139 139 Use SSH to access the gateway configuration page and run the minicom command 140 140 141 -((( 142 142 Select "**Serial Port Setup**": 143 -))) 144 144 145 145 (% class="box infomessage" %) 146 146 ((( ... ... @@ -170,10 +170,8 @@ 170 170 171 171 (% class="box infomessage" %) 172 172 ((( 173 -((( 174 174 AT+GSN 175 175 ))) 176 -))) 177 177 178 178 [[image:https://wiki.dragino.com/images/thumb/6/66/4G-3.png/400px-4G-3.png||height="286" width="400"]] 179 179 ... ... @@ -218,9 +218,9 @@ 218 218 219 219 USB-Dongle plugs into the gateway USB port 220 220 221 -Check the USB module via comman (% style="color:#037691" %)**lsusb**209 +Check the USB module via comman lsusb 222 222 223 - (% style="color:red" %)**Note : User neet to do that connect gateway command line via ssh.**211 +Note : User neet to do that connect gateway command line via ssh. 224 224 225 225 [[image:https://wiki.dragino.com/images/2/25/Usb-4g.png||height="63" width="554"]] 226 226 ... ... @@ -228,30 +228,28 @@ 228 228 229 229 === 5.3.2 2.Detection of new network interfaces added === 230 230 231 -Command line input: (% style="color:#037691" %)**ifconfig -a**219 +Command line input: ifconfig -a 232 232 233 233 [[image:https://wiki.dragino.com/images/thumb/a/a0/Usb-4g-1.png/400px-Usb-4g-1.png||height="401" width="400"]] 234 234 235 235 Check the network 236 236 237 -In the command output user can see that the new interface added is (% style="color:#037691" %)**eth2**225 +In the command output user can see that the new interface added is eth2 238 238 239 -Usually,user can see that the new interface added is (% style="color:#037691" %)**eth2** (% style="color:black" %)or (% style="color:#037691" %)**wwan0**227 +Usually,user can see that the new interface added is eth2 or wwan0 240 240 241 241 === 5.3.3 3.Add the new interface to the network confiutation. === 242 242 243 243 Enter the configuration from the command line: 244 244 245 -(% class="box" %) 246 -((( 247 -uci set network.lte=interface 233 +{{{uci set network.lte=interface 248 248 uci set network.lte.proto=dhcp 249 -uci set network.lte.ifname=eth2 ~-~-~-~-~-~-~-~-->#This depend on the name of the new interface gateway add235 +uci set network.lte.ifname=eth2 --------->#This depend on the name of the new interface gateway add 250 250 uci commit network 251 251 uci set firewall.@zone[1].network="wan wwan wan6 lte" 252 252 uci commit firewall 253 253 /etc/init.d/network restart 254 - )))240 +}}} 255 255 256 256 [[~[~[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]] 257 257 ... ... @@ -259,7 +259,7 @@ 259 259 260 260 Checking Network Configurations 261 261 262 -Command line input: (% style="color:#037691" %)**ifconfig**248 +Command line input: ifconfig 263 263 264 264 [[~[~[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]] 265 265