<
From version < 1.14 >
edited by Xiaoling
on 2022/05/14 09:57
To version < 1.4 >
edited by Xiaoling
on 2022/05/14 09:22
>
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  
... ... @@ -81,7 +81,7 @@
81 81  Fri Feb  7 01:20:30 2020 local2.info chat[29485]: OK
82 82  Fri Feb  7 01:20:30 2020 local2.info chat[29485]:  ~-~- got it
83 83  (% 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.
84 -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
85 85  (% style="color:black" %)Fri Feb  7 01:20:30 2020 local2.info chat[29485]: expect (CONNECT)
86 86  Fri Feb  7 01:20:30 2020 local2.info chat[29485]: ^M
87 87  Fri Feb  7 01:20:30 2020 local2.info chat[29485]: ATD*99#^M^M
... ... @@ -93,18 +93,11 @@
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 -(% class="box" %)
105 -(((
106 -(((
107 -config defaults
98 +{{{config defaults
108 108   option syn_flood '1'
109 109   option input 'ACCEPT'
110 110   option output 'ACCEPT'
... ... @@ -114,13 +114,13 @@
114 114   list network 'lan'
115 115   option input 'ACCEPT'
116 116   option output 'ACCEPT'
117 - option forward 'REJECT' 
108 + option forward 'REJECT'
118 118  config zone
119 119   option name 'wan'
120 120   list network 'wan'
121 121   list network 'wwan'
122 122   list network 'wan6'
123 - list network 'cellular'   ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--> Add this line and reboot
114 + list network 'cellular' -----------------> Add this line and reboot
124 124   option input 'REJECT'
125 125   option output 'ACCEPT'
126 126   option forward 'ACCEPT'
... ... @@ -129,37 +129,31 @@
129 129  config forwarding
130 130   option src 'lan'
131 131   option dest 'wan'
132 -)))
133 -)))
123 +}}}
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 -(% class="box infomessage" %)
148 -(((
149 -root@dragino-1ef9ac:~~# minicom -s
150 -)))
133 +{{{root@dragino-1ef9ac:~# minicom -s
134 +}}}
151 151  
152 152  [[image:https://wiki.dragino.com/images/thumb/0/05/4G-1.png/400px-4G-1.png||height="265" width="400"]]
153 153  
154 154  Enter the minicom command
155 155  
140 +
156 156  Access the serial port of the 4G module
157 157  
158 158  Serial port setup is as follows:
159 159  
160 -**Serial Device :** (% style="color:#037691" %)**/dev/ttyModemAT**
145 +**Serial Device :** /dev/ttyModemAT
161 161  
162 -**Bps/Par/Bits :(% style="color:#037691" %) 9600 8N1 or 115200 8N1(%%)**
147 +**Bps/Par/Bits :** 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,24 +168,21 @@
168 168  
169 169  Enter AT+GSN in the serial port to view the IMEI
170 170  
171 -For example:** (% style="color:#037691" %)860548042566627(%%)**
156 +For example: 860548042566627
172 172  
173 -(% class="box infomessage" %)
174 -(((
175 -(((
176 -AT+GSN
177 -)))
178 -)))
158 +{{{AT+GSN
159 +}}}
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  
165 +
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**
170 +Prerequisite: Requires a USB 4G Dongle and a supported gateway firmware
189 189  
190 190  This introduces a setup and configured gateway for using a USB 3g/UMTS-modem for WAN connection.
191 191  
... ... @@ -200,15 +200,13 @@
200 200  
201 201  For example, the Huawei-E3372/E8372 is using Hilink mode or NCM mode.
202 202  
203 -(% class="box" %)
204 -(((
205 - Huawei-E3372/E8372
206 - 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.
207 207   The version numbers starting with 21 is NCM mode
208 208   The version numbers starting with 22 is Hilink mode
209 209   The E8372 only have Hilink mode
210 - (% style="color:red" %)Note:The e3372 in the vast majority of cases is Hilink mode
211 -)))
190 + Note:The e3372 in the vast majority of cases is Hilink mode
191 +}}}
212 212  
213 213  == 5.3 Hilink mode ==
214 214  
... ... @@ -220,9 +220,9 @@
220 220  
221 221  USB-Dongle plugs into the gateway USB port
222 222  
223 -Check the USB module via comman (% style="color:#037691" %)**lsusb**
203 +Check the USB module via comman lsusb
224 224  
225 -(% 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.
226 226  
227 227  [[image:https://wiki.dragino.com/images/2/25/Usb-4g.png||height="63" width="554"]]
228 228  
... ... @@ -230,30 +230,28 @@
230 230  
231 231  === 5.3.2 2.Detection of new network interfaces added ===
232 232  
233 -Command line input: (% style="color:#037691" %)**ifconfig -a**
213 +Command line input: ifconfig -a
234 234  
235 235  [[image:https://wiki.dragino.com/images/thumb/a/a0/Usb-4g-1.png/400px-Usb-4g-1.png||height="401" width="400"]]
236 236  
237 237  Check the network
238 238  
239 -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
240 240  
241 -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
242 242  
243 243  === 5.3.3 3.Add the new interface to the network confiutation. ===
244 244  
245 245  Enter the configuration from the command line:
246 246  
247 -(% class="box" %)
248 -(((
249 -uci set network.lte=interface
227 +{{{uci set network.lte=interface
250 250  uci set network.lte.proto=dhcp
251 -uci set network.lte.ifname=eth2    ~-~-~-~-~-~-~-~-->#This depend on the name of the new interface gateway add
229 +uci set network.lte.ifname=eth2 --------->#This depend on the name of the new interface gateway add
252 252  uci commit network
253 253  uci set firewall.@zone[1].network="wan wwan wan6 lte"
254 254  uci commit firewall
255 255  /etc/init.d/network restart
256 -)))
234 +}}}
257 257  
258 258  [[~[~[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]]
259 259  
... ... @@ -261,7 +261,7 @@
261 261  
262 262  Checking Network Configurations
263 263  
264 -Command line input: (% style="color:#037691" %)**ifconfig**
242 +Command line input: ifconfig
265 265  
266 266  [[~[~[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]]
267 267  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0