Hide last authors
Xiaoling 1.4 1 (% class="wikigeneratedid" %)
Xiaoling 52.4 2 **~ Table of Contents:**
Xiaoling 1.1 3
Xiaoling 1.6 4 {{toc/}}
Xiaoling 1.4 5
Xiaoling 48.4 6
7
8
Xiaoling 1.4 9 = 1. Introduction =
10
Xiaoling 52.5 11
Xiaoling 1.4 12 (((
Xiaoling 1.7 13 (((
Kilight Cao 63.1 14 The Dragino LoRaWAN gateway can communicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server:
Xiaoling 1.4 15 )))
Xiaoling 1.7 16 )))
Xiaoling 1.1 17
Xiaoling 1.4 18 (((
Xiaoling 1.7 19 (((
Xiaoling 1.2 20 Below list the support products and Requirements:
Xiaoling 1.4 21 )))
Xiaoling 1.7 22 )))
Xiaoling 1.1 23
Xiaoling 1.4 24 1. (((
Xiaoling 1.7 25 (((
Xiaoling 1.4 26 LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]]
27 )))
Xiaoling 1.7 28 )))
Xiaoling 1.4 29 1. (((
Xiaoling 1.7 30 (((
Xiaoling 1.4 31 Firmware version since :[[LG02_LG08~~-~~-build-v5.4.1590459021-20200526-1012>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
Xiaoling 32.2 32
33
Xiaoling 1.4 34 )))
Xiaoling 1.7 35 )))
Xiaoling 1.1 36
Kilight Cao 63.1 37 = 2. Gateway Registration for Semtech UDP =
Xiaoling 1.1 38
Xiaoling 1.4 39 == 2.1 Step 1: Get Gateway ETH0 MAC Address ==
Xiaoling 1.1 40
Xiaoling 52.6 41
Kilight Cao 63.1 42 Dragino LoRaWAN gateway uses ETH0 MAC address to generate Gateway ID to communicate with LORIOT, The user needs to find the ETH0 MAC in the "System -> System Overview" menu.
43
44
45 [[image:image-20220831110558-1.png||height="595" width="909"]]
46
47
48 == 2.2 Step 2: Register Gateway ==
49
50
51 [[image:image-20220831111032-2.png||height="617" width="1263"]]
52
53
54 **Choose gateway model**
55
Kilight Cao 65.1 56 [[image:image-20220831111132-3.png||height="596" width="1223"]]
Kilight Cao 63.1 57
58
Kilight Cao 65.1 59 (% style="color:red" %)**Special reminder: **If the user does not find the gateway Model, then **git ~-~-> Packet Forwarder Semtech**  can be selected
60
61 [[image:image-20220831115222-11.png||height="596" width="1221"]]
62
63
Kilight Cao 63.1 64 **Enter the ETH0 MAC of the gateway**
65
66 [[image:image-20220831111307-4.png||height="850" width="1237"]]
67
68
69 [[image:image-20220831111821-5.png||height="604" width="1239"]]
70
71
72 == 2.3 Step 3: Back to Semtech UDP page ==
73
74
75 Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.**
76
77 (% class="box infomessage" %)
Xiaoling 1.4 78 (((
Kilight Cao 63.1 79 Server Address:  ~-~-> LORIOT Different servers use different addresses, Such as: **next.loriot.io**
Xiaoling 52.6 80
Kilight Cao 63.1 81 Uplink /Downlink Port :  ~-~-> 1780
82 )))
83
84 [[image:image-20220831112553-7.png]]
85
86
87
88 == 2.4 Step 4: Check Connection ==
89
90
91 (((
92 LORIOT will show disconnect if Gateway doesn't connect
93 )))
94
95 (((
96 LORIOT will show connect if Gateway connect to LORIOT ok.
97 )))
98
99 [[image:image-20220831114125-8.png||height="561" width="1150"]]
100
101
102 == 2.5  Trouble Shooting ==
103
104
105 User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page.
106
107 [[image:image-20220831114647-9.png||height="706" width="894"]]
108
109
110 and recode the station log in the (% style="color:blue" %)** LogRead  ~-~->  Recode Log**(%%) page.
111
112 [[image:image-20220831114746-10.png||height="292" width="972"]]
113
114
Kilight Cao 66.1 115 = 3. Gateways are connected using LORIOT software =
116
Kilight Cao 63.1 117 == 3.1 Step 1: Get Gateway ETH0 MAC Address ==
118
119
120 (((
121 Dragino LoRaWAN gateway use ETH0 MAC address to generate Gateway ID to communicate with LORIOT, User can get the ETH0 MAC address from SSH access and run **ifconfig** command.
122
Xiaoling 52.6 123
Xiaoling 1.4 124 )))
Xiaoling 1.1 125
Xiaoling 4.2 126 [[image:image-20220524175559-2.png]]
Xiaoling 1.1 127
Xiaoling 1.2 128 Get ETH0 MAC address
Xiaoling 1.1 129
Xiaoling 52.7 130
Xiaoling 1.4 131 (((
Xiaoling 52.7 132 (% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.**
Xiaoling 32.2 133
134
Xiaoling 1.4 135 )))
Xiaoling 1.1 136
Kilight Cao 63.1 137 == 3.2 Step 2: Choose LORIOT service ==
Xiaoling 1.1 138
Xiaoling 52.10 139
Xiaoling 49.3 140 [[image:image-20220531182035-1.png]]
Xiaoling 1.1 141
Xiaoling 1.2 142 Choose to use LORIOT as LoRaWAN service provider
Xiaoling 1.1 143
Xiaoling 49.3 144
Xiaoling 52.8 145
Xiaoling 50.2 146 [[image:image-20220531182109-2.png]]
Xiaoling 1.1 147
Xiaoling 1.2 148 Install and choose the LORIOT server to be used
149
Xiaoling 32.2 150
Xiaoling 52.8 151
Kilight Cao 63.1 152 == 3.3 Step 3: Checking Connection Status ==
Xiaoling 1.2 153
Xiaoling 52.10 154
Xiaoling 51.2 155 [[image:image-20220531182202-3.png]]
Xiaoling 1.2 156
157 Click to Home page and check the connection status
158
Xiaoling 32.2 159
Xiaoling 52.9 160
Kilight Cao 63.1 161 == 3.4 Step 4: Setup Account in LORIOT ==
Xiaoling 1.2 162
Xiaoling 52.9 163
Xiaoling 1.2 164 Login [[LORIOT>>url:https://www.loriot.io/]] and create account
165
Xiaoling 52.2 166 [[image:image-20220531182253-4.png]]
Xiaoling 1.2 167
168 Log in LORIOT portal
169
170
Xiaoling 52.9 171
Xiaoling 1.4 172 Choose to use the server same as the gateway setting
173
Xiaoling 32.2 174 [[image:image-20220526111312-1.png||height="493" width="1098"]]
Xiaoling 1.2 175
176 Choose server
177
178
Xiaoling 52.9 179
Xiaoling 1.4 180 Create a New Network
181
Xiaoling 32.2 182 [[image:image-20220526111425-2.png||height="579" width="1378"]]
Xiaoling 1.2 183
184 Create a New Network
185
186
Xiaoling 32.2 187 [[image:image-20220526111500-3.png]]
Xiaoling 1.5 188
Xiaoling 1.2 189 Create a New Network
190
Xiaoling 32.2 191
Xiaoling 52.9 192
Kilight Cao 63.1 193 == 3.5 Step 5: Register the gateway ==
Xiaoling 1.2 194
Xiaoling 52.9 195
Xiaoling 32.2 196 [[image:image-20220526111650-4.png]]
Xiaoling 1.2 197
198 Register the Gateway in LORIOT
199
200
Xiaoling 52.9 201
Xiaoling 1.2 202 Choose LG308 as gateway model
203
Xiaoling 32.2 204 [[image:image-20220526111742-5.png||height="496" width="1372"]]
Xiaoling 1.2 205
206 Choose LG308 as gateway model
207
208
Xiaoling 52.9 209
Xiaoling 1.2 210 Input Gateway ETH0 address
211
Xiaoling 35.2 212 [[image:image-20220526111918-6.png||height="744" width="1336"]]
Xiaoling 1.2 213
214 Choose SX1301 Reference and use SPI protocol
215
216
Xiaoling 52.9 217
Xiaoling 1.2 218 Choose the right Frequency Band and input location
219
Xiaoling 35.2 220 [[image:image-20220526112029-7.png||height="620" width="1306"]]
Xiaoling 1.2 221
222 Set up regional settings.
223
Xiaoling 45.2 224
Xiaoling 52.9 225
Kilight Cao 63.1 226 == 3.6 Step 6: Check Connection ==
Xiaoling 1.2 227
Xiaoling 52.9 228
Xiaoling 1.5 229 (((
Xiaoling 1.2 230 LORIOT will show disconnect if Gateway doesn't connect
Xiaoling 1.5 231 )))
Xiaoling 1.2 232
Xiaoling 1.5 233 (((
Xiaoling 1.2 234 LORIOT will show connect if Gateway connect to LORIOT ok.
Xiaoling 52.9 235
236
Xiaoling 1.5 237 )))
Xiaoling 1.2 238
Xiaoling 36.2 239 [[image:image-20220526112143-8.png||height="654" width="1373"]]
Xiaoling 1.2 240
241 Status: Connected
242
Xiaoling 45.2 243
Xiaoling 52.9 244
Kilight Cao 63.1 245 == 3.7 Debug If there is connection issue ==
Xiaoling 1.2 246
Xiaoling 52.9 247
Xiaoling 1.2 248 User can check if loriot is running by checking the web ui
249
Xiaoling 52.9 250
Xiaoling 45.2 251 [[image:image-20220526112917-18.png]]
Xiaoling 1.2 252
253 Status: Connected
254
Xiaoling 52.9 255
Xiaoling 1.11 256 (((
Xiaoling 1.2 257 If user want to see more log, he can run below commands in Linux and see the full log:
Xiaoling 1.11 258 )))
Xiaoling 1.2 259
Xiaoling 1.5 260 (% class="box" %)
261 (((
Xiaoling 1.8 262 (((
Xiaoling 1.11 263 ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9
264 /usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io
Xiaoling 1.5 265 )))
Xiaoling 1.8 266 )))
Xiaoling 1.2 267
Xiaoling 1.11 268 (((
Xiaoling 52.9 269
270
Xiaoling 1.2 271 Above two commands will first kill the loriot process and run it again to get more output.
Xiaoling 1.11 272 )))
Xiaoling 1.2 273
Xiaoling 47.2 274 [[image:image-20220530145011-1.png]]
Xiaoling 1.2 275
276 Get more debug info
277
Xiaoling 45.2 278
Xiaoling 52.9 279
Kilight Cao 63.1 280 = 4. End Device Note =
Xiaoling 1.2 281
Kilight Cao 63.1 282 == 4.1 Downlink Setup ==
Xiaoling 1.2 283
Xiaoling 52.9 284
Xiaoling 48.2 285 [[image:image-20220530145133-2.png]]
Xiaoling 1.2 286
Xiaoling 45.2 287
Xiaoling 41.2 288 [[image:image-20220526112416-11.png]]
Xiaoling 1.2 289
Xiaoling 45.2 290
Xiaoling 41.2 291 [[image:image-20220526112459-12.png]]
Xiaoling 1.2 292
Xiaoling 45.2 293
Xiaoling 41.2 294 [[image:image-20220526112537-13.png]]
Xiaoling 1.2 295
Xiaoling 45.2 296
Xiaoling 41.2 297 [[image:image-20220526112608-14.png||height="610" width="1382"]]
Xiaoling 1.2 298
Xiaoling 45.2 299
Xiaoling 44.2 300 [[image:image-20220526112655-15.png]]
Xiaoling 1.2 301
Xiaoling 45.2 302
Xiaoling 44.2 303 [[image:image-20220526112719-16.png]]
Xiaoling 1.2 304
Xiaoling 45.2 305
Xiaoling 44.2 306 [[image:image-20220526112759-17.png||height="483" width="1386"]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0