<
From version < 1.15 >
edited by Xiaoling
on 2022/05/14 09:59
To version < 1.5 >
edited by Xiaoling
on 2022/05/14 09:25
>
Change comment: There is no comment for this version

Summary

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,19 +130,14 @@
130 130   option src 'lan'
131 131   option dest 'wan'
132 132  )))
133 -)))
134 134  
135 -(((
136 136  and run **/etc/init.d/firewall reload** or reboot the device.
137 -)))
138 138  
139 139  = 4. How does the gateway view the International Mobile Equipment Identity (IMEI) =
140 140  
141 141  Use SSH to access the gateway configuration page and run the minicom command
142 142  
143 -(((
144 144  Select "**Serial Port Setup**":
145 -)))
146 146  
147 147  (% class="box infomessage" %)
148 148  (((
... ... @@ -157,9 +157,9 @@
157 157  
158 158  Serial port setup is as follows:
159 159  
160 -**Serial Device :** (% style="color:#037691" %)**/dev/ttyModemAT**
148 +**Serial Device :** (% style="color:#037691" %)/dev/ttyModemAT
161 161  
162 -**Bps/Par/Bits :(% style="color:#037691" %) 9600 8N1 or 115200 8N1(%%)**
150 +**Bps/Par/Bits :**(% style="color:#037691" %) 9600 8N1 or 115200 8N1
163 163  
164 164  [[image:https://wiki.dragino.com/images/thumb/c/cb/EC25_1.png/400px-EC25_1.png||height="164" width="400"]]
165 165  
... ... @@ -168,66 +168,56 @@
168 168  
169 169  Enter AT+GSN in the serial port to view the IMEI
170 170  
171 -For example:** (% style="color:#037691" %)860548042566627(%%)**
159 +For example: (% style="color:#037691" %)860548042566627
172 172  
173 -(% class="box infomessage" %)
174 -(((
175 -(((
176 - AT+GSN
177 -)))
178 -)))
161 +{{{AT+GSN
162 +}}}
179 179  
180 180  [[image:https://wiki.dragino.com/images/thumb/6/66/4G-3.png/400px-4G-3.png||height="286" width="400"]]
181 181  
182 182  Enter the AT command
183 183  
168 +
184 184  = 5. How does the gateway connect to the network via a USB 4G Dongle =
185 185  
186 186  == 5.1 Introduction ==
187 187  
188 -(% style="color:red" %)**Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware**
173 +Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware
189 189  
190 -(((
191 191  This introduces a setup and configured gateway for using a USB 3g/UMTS-modem for WAN connection.
192 -)))
193 193  
194 -(((
195 195  Many mode (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. For more information: [[https:~~/~~/openwrt.org/docs/guide-user/network/wan/wwan/3gdongle>>url:https://openwrt.org/docs/guide-user/network/wan/wwan/3gdongle]]
196 -)))
197 197  
198 -(((
199 199  This is not beginner-friendly due to too many protocols.
200 -)))
201 201  
181 +
202 202  == 5.2 How to use the USB-Dongle at the gateway ==
203 203  
204 204  Most of the products can be used on the gateway, but because their protocols are different, they are not used in the same way.
205 205  
206 -(((
207 207  For example, the Huawei-E3372/E8372 is using Hilink mode or NCM mode.
208 -)))
209 209  
210 -(% class="box" %)
211 -(((
212 - Huawei-E3372/E8372
213 - Check (% style="color:#037691" %)**E3372**(% style="color:black" %) version to determine the mode.
188 +{{{ Huawei-E3372/E8372
189 + Check E3372 version to determine the mode.
214 214   The version numbers starting with 21 is NCM mode
215 215   The version numbers starting with 22 is Hilink mode
216 216   The E8372 only have Hilink mode
217 -**~ **(% style="color:red" %)**Note:The e3372 in the vast majority of cases is Hilink mode**
218 -)))
193 + Note:The e3372 in the vast majority of cases is Hilink mode
194 +}}}
219 219  
220 220  == 5.3 Hilink mode ==
221 221  
222 -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/]]
198 +Gateway upgrade to the specified firmware:
223 223  
200 +[[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/]]
201 +
224 224  === 5.3.1 1.Plugs into the device ===
225 225  
226 226  USB-Dongle plugs into the gateway USB port
227 227  
228 -Check the USB module via comman (% style="color:#037691" %)**lsusb**
206 +Check the USB module via comman lsusb
229 229  
230 -(% style="color:red" %)**Note : User neet to do that connect gateway command line via ssh.**
208 +Note : User neet to do that connect gateway command line via ssh.
231 231  
232 232  [[image:https://wiki.dragino.com/images/2/25/Usb-4g.png||height="63" width="554"]]
233 233  
... ... @@ -235,30 +235,28 @@
235 235  
236 236  === 5.3.2 2.Detection of new network interfaces added ===
237 237  
238 -Command line input: (% style="color:#037691" %)**ifconfig -a**
216 +Command line input: ifconfig -a
239 239  
240 240  [[image:https://wiki.dragino.com/images/thumb/a/a0/Usb-4g-1.png/400px-Usb-4g-1.png||height="401" width="400"]]
241 241  
242 242  Check the network
243 243  
244 -In the command output user can see that the new interface added is (% style="color:#037691" %)**eth2**
222 +In the command output user can see that the new interface added is eth2
245 245  
246 -Usually,user can see that the new interface added is (% style="color:#037691" %)**eth2** (% style="color:black" %)or (% style="color:#037691" %)**wwan0**
224 +Usually,user can see that the new interface added is eth2 or wwan0
247 247  
248 248  === 5.3.3 3.Add the new interface to the network confiutation. ===
249 249  
250 250  Enter the configuration from the command line:
251 251  
252 -(% class="box" %)
253 -(((
254 -uci set network.lte=interface
230 +{{{uci set network.lte=interface
255 255  uci set network.lte.proto=dhcp
256 -uci set network.lte.ifname=eth2    ~-~-~-~-~-~-~-~-->#This depend on the name of the new interface gateway add
232 +uci set network.lte.ifname=eth2 --------->#This depend on the name of the new interface gateway add
257 257  uci commit network
258 258  uci set firewall.@zone[1].network="wan wwan wan6 lte"
259 259  uci commit firewall
260 260  /etc/init.d/network restart
261 -)))
237 +}}}
262 262  
263 263  [[~[~[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]]
264 264  
... ... @@ -266,7 +266,7 @@
266 266  
267 267  Checking Network Configurations
268 268  
269 -Command line input: (% style="color:#037691" %)**ifconfig**
245 +Command line input: ifconfig
270 270  
271 271  [[~[~[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]]
272 272  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0