Show last authors
1 (% class="wikigeneratedid" %)
2 **~ Contents:**
3
4 {{toc/}}
5
6 = 1. Introduction =
7
8 (((
9 (((
10 The Dragino LoRaWAN gateway can commuicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server:
11 )))
12 )))
13
14 (((
15 (((
16 Below list the support products and Requirements:
17 )))
18 )))
19
20 1. (((
21 (((
22 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]]
23 )))
24 )))
25 1. (((
26 (((
27 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/]]
28 )))
29 )))
30
31 = 2. Gateway Setup Instruction =
32
33 == 2.1 Step 1: Get Gateway ETH0 MAC Address ==
34
35 (((
36 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.
37 )))
38
39 [[image:image-20220524175559-2.png]]
40
41 Get ETH0 MAC address
42
43 (((
44 **Note**: To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.
45 )))
46
47 == 2.2 Step 2: Choose LORIOT service ==
48
49 [[image:image-20220524175626-3.png]]
50
51 Choose to use LORIOT as LoRaWAN service provider
52
53 [[image:image-20220524175646-4.png]]
54
55 Install and choose the LORIOT server to be used
56
57 == 2.3 Step 3: Checking Connection Status ==
58
59 [[image:image-20220524175703-5.png]]
60
61 Click to Home page and check the connection status
62
63 == 2.4 Step 4: Setup Account in LORIOT ==
64
65 Login [[LORIOT>>url:https://www.loriot.io/]] and create account
66
67 [[image:image-20220524175722-6.png]]
68
69 Log in LORIOT portal
70
71
72 Choose to use the server same as the gateway setting
73
74 [[image:image-20220524175734-7.png]]
75
76 Choose server
77
78
79 Create a New Network
80
81 [[image:image-20220524175802-8.png]]
82
83 Create a New Network
84
85
86 [[image:image-20220524175829-9.png]]
87
88 Create a New Network
89
90 == 2.5 Step 5: Register the gateway ==
91
92 [[image:image-20220524175850-10.png]]
93
94 Register the Gateway in LORIOT
95
96
97 Choose LG308 as gateway model
98
99 [[image:image-20220524175908-11.png]]
100
101 Choose LG308 as gateway model
102
103
104 Input Gateway ETH0 address
105
106 [[image:image-20220524175952-12.png]]
107
108 Choose SX1301 Reference and use SPI protocol
109
110
111 Choose the right Frequency Band and input location
112
113 [[image:image-20220524180017-13.png]]
114
115 Set up regional settings.
116
117 == 2.6 Step 6: Check Connection ==
118
119 (((
120 LORIOT will show disconnect if Gateway doesn't connect
121 )))
122
123 (((
124 LORIOT will show connect if Gateway connect to LORIOT ok.
125 )))
126
127 [[image:image-20220524180039-14.png]]
128
129 Status: Connected
130
131 == 2.7 Debug If there is connection issue ==
132
133 User can check if loriot is running by checking the web ui
134
135 [[image:image-20220524180100-15.png]]
136
137 Status: Connected
138
139 (((
140 If user want to see more log, he can run below commands in Linux and see the full log:
141 )))
142
143 (% class="box" %)
144 (((
145 (((
146 ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9
147 /usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io
148 )))
149 )))
150
151 (((
152 Above two commands will first kill the loriot process and run it again to get more output.
153 )))
154
155 [[image:image-20220524180131-16.png]]
156
157 Get more debug info
158
159 = 3. End Device Note =
160
161 == 3.1 Downlink Setup ==
162
163 [[image:image-20220524180155-17.png]]
164
165 [[image:image-20220524180216-18.png]]
166
167 [[image:image-20220524180237-19.png]]
168
169 [[image:image-20220524180257-20.png]]
170
171 [[image:image-20220524180320-21.png]]
172
173 [[image:image-20220524180336-22.png]]
174
175 [[image:image-20220524180352-23.png]]
176
177 [[image:image-20220524180408-24.png]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0