Changes for page Notes for LORIOT
Last modified by Kilight Cao on 2024/01/11 09:02
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 20 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,194 +1,238 @@ 1 1 (% class="wikigeneratedid" %) 2 -**~ Contents:**2 +**~ ** 3 3 4 +(% class="wikigeneratedid" %) 5 +**Table of Contents:** 6 + 4 4 {{toc/}} 5 5 9 + 10 + 11 + 6 6 = 1. Introduction = 7 7 14 + 8 8 ((( 9 9 ((( 10 -The Dragino LoRaWAN gateway can commuicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server: 17 +The Dragino LoRaWAN gateway can communicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server: 11 11 ))) 12 12 ))) 13 13 14 14 ((( 15 15 ((( 16 -Below list the support products andRequirements:23 +Below list the products and requirements that support communication with LORIOT using Semtech UDP: 17 17 ))) 18 18 ))) 19 19 20 -1. ((( 21 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 26 ((( 27 - Firmwareversionince:[[LG02_LG08~~-~~-build-v5.4.1590459021-20200526-1012>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]29 + ~1. 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]],[[LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]],[[LG308N>>https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]] 28 28 31 +((( 32 +((( 33 + 2. Firmware version since : [[lgw~~-~~-build-v5.4.1661158991-20220822-1704>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 34 + 29 29 30 30 ))) 31 31 ))) 38 +))) 39 +))) 32 32 33 -= 2. Gateway Setup Instruction =41 += 2. Gateway Registration for Semtech UDP = 34 34 35 35 == 2.1 Step 1: Get Gateway ETH0 MAC Address == 36 36 45 + 46 +Dragino LoRaWAN gateway uses ETH0 MAC address to generate Gateway EUI to communicate with LORIOT, The user needs to find the ETH0 MAC in the "(% style="color:blue" %)**System -> System Overview**" (%%)menu. 47 + 48 + 49 +[[image:image-20220831110558-1.png||height="595" width="909"]] 50 + 51 + 52 +== 2.2 Step 2: Register Gateway == 53 + 54 + 55 +[[image:image-20220831111032-2.png||height="595" width="1219"]] 56 + 57 + 58 +(% style="color:blue" %)**Choose gateway model** 59 + 60 +[[image:image-20220831111132-3.png||height="596" width="1223"]](% style="display:none" %) 61 + 62 + 63 +(% style="color:red" %)**Special reminder: **(%%)If the user does not find the gateway Model, then (% style="color:blue" %)**git ~-~-> Packet Forwarder Semtech**(%%) can be selected 64 + 65 +[[image:image-20220831115222-11.png||height="596" width="1221"]] 66 + 67 + 68 +(% style="color:blue" %)**Enter the ETH0 MAC of the gateway** 69 + 70 +[[image:image-20220831111307-4.png||height="850" width="1237"]] 71 + 72 + 73 +[[image:image-20220831111821-5.png||height="604" width="1239"]] 74 + 75 + 76 +== 2.3 Step 3: Back to Semtech UDP page == 77 + 78 + 79 +Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.** 80 + 81 +(% class="box infomessage" %) 37 37 ((( 38 -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. 83 +Server Address: ~-~-> LORIOT Different servers use different addresses, Such as: **next.loriot.io** 84 + 85 +Uplink /Downlink Port : ~-~-> 1780 39 39 ))) 40 40 41 -[[image:image-20220 524175559-2.png]]88 +[[image:image-20220831112553-7.png]] 42 42 43 -Get ETH0 MAC address 44 44 91 +== 2.4 Step 4: Check Connection == 92 + 93 + 45 45 ((( 46 -**Note**: To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version. 95 +LORIOT will show disconnect if Gateway doesn't connect 96 +))) 47 47 48 - 98 +((( 99 +LORIOT will show connect if Gateway connect to LORIOT ok. 49 49 ))) 50 50 51 - ==2.2Step2: ChooseLORIOT service==102 +[[image:image-20220831114125-8.png||height="561" width="1150"]] 52 52 53 -[[image:image-20220524175626-3.png]] 54 54 55 - ChoosetoseLORIOT as LoRaWAN service provider105 +== 2.5 Trouble Shooting == 56 56 57 -[[image:image-20220524175646-4.png]] 58 58 59 - Installandchoose theLORIOTservertobeused108 +User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page. 60 60 110 +[[image:image-20220831114647-9.png||height="706" width="894"]] 61 61 62 -== 2.3 Step 3: Checking Connection Status == 63 63 64 - [[image:image-20220524175703-5.png]]113 +and recode the station log in the (% style="color:blue" %)** LogRead ~-~-> Recode Log**(%%) page. 65 65 66 - Click to Home paged check the connectionstatus115 +[[image:image-20220831114746-10.png||height="292" width="972"]] 67 67 117 +(% style="display:none" %) (%%) 68 68 69 -= =2.4 Step4: Setup AccountinLORIOT==119 += 3. Gateway Registration for Basics Station = 70 70 71 -Login [[LORIOT>>url:https://www.loriot.io/]] and create account 72 72 73 - [[image:image-20220524175722-6.png]]122 +The LoRa Basics™ Station protocol simplifies the management of large-scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to LORIOT. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]] 74 74 75 -Log in LORIOT portal 124 +((( 125 +(% style="color:blue" %)**Below list the support products and Requirements:** 126 +))) 76 76 128 +1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.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]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]] 77 77 78 - Choosetousetheserversameasthegatewaysetting130 + 2. Firmware version since : 79 79 80 -[[image:image-20220526111312-1.png||height="493" width="1098"]] 81 81 82 - Chooseserver133 +(% style="color:blue" %)**What do you need to prepare?** 83 83 135 +A gateway that can access the internet normally 84 84 85 -Create a New Network 86 86 87 - [[image:image-20220526111425-2.png||height="579"width="1378"]]138 +== 3.1 Step 1: Register Gateway == 88 88 89 - CreateaNewNetwork140 +(% style="display:none" %) (%%) 90 90 142 +[[image:image-20231101162122-1.png||height="528" width="1022"]] 91 91 92 -[[image:image-20220526111500-3.png]] 93 93 94 - Create aNewNetwork145 +Enter the gateway ID into the Custom EUI 95 95 147 +[[image:image-20231101162623-2.png||height="526" width="1024"]] 96 96 97 -== 2.5 Step 5: Register the gateway == 98 98 99 - [[image:image-20220526111650-4.png]]150 +== 3.2 Step 2: Generate and Download TLS Certificate == 100 100 101 -Register the Gateway in LORIOT 102 102 153 +[[image:image-20231101163647-3.png||height="529" width="1024"]] 103 103 104 -Choose LG308 as gateway model 105 105 106 - [[image:image-20220526111742-5.png||height="496"width="1372"]]156 +Download LORIOT's three TLS certificates, which are: 107 107 108 - ChooseLG308asgatewaymodel158 +(% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt , "Gateway EUI".gws.loriot.io.key** 109 109 160 +[[image:image-20231101163743-4.png||height="528" width="1024"]] 110 110 111 -Input Gateway ETH0 address 112 112 113 -[[image:image-20220526111918-6.png||height="744" width="1336"]] 114 114 115 - ChooseSX1301ReferenceanduseSPIprotocol164 +== 3.3 Step 3: Access the gateway GUI == 116 116 117 117 118 - Choose the rightFrequencyBandandinputlocation167 +User need to upload the TLS certificate and configure the LNS URI 119 119 120 -[[image:image-20220526112029-7.png||height="620" width="1306"]] 121 121 122 -S etupregional settings.170 +== 3.4 Step 4: Configure Station == 123 123 124 124 125 - ==2.6Step6:CheckConnection==173 +User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate. 126 126 127 -((( 128 -LORIOT will show disconnect if Gateway doesn't connect 129 -))) 175 +(% style="color:blue" %)**just to clarify:** 130 130 131 -((( 132 -LORIOT will show connect if Gateway connect to LORIOT ok. 133 -))) 177 + Server URI ~-~-> Server Address, Example: wss:~/~/ap2.loriot.io:717 178 + TLS CA Certificate ~-~-> 179 + TLS Key ~-~-> 180 + TLS Certificate ~-~-> 134 134 135 -[[image:image-20220526112143-8.png||height="654" width="1373"]] 136 136 137 -Stat us:Connected183 +== 3.5 Start Station == 138 138 139 139 140 - ==2.7 DebugIf there is connectionissue ==186 +When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT. 141 141 142 -User can check if loriot is running by checking the web ui 143 143 144 - [[image:image-20220526112917-18.png]]189 +== 3.6 Check Connection == 145 145 146 -Status: Connected 147 147 148 -((( 149 -If user want to see more log, he can run below commands in Linux and see the full log: 150 -))) 192 +If user completes the above steps,which will see Log in the LORIOT. 151 151 152 -(% class="box" %) 153 -((( 154 -((( 155 -ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 156 -/usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io 157 -))) 158 -))) 194 +[[image:image-20231101165306-5.png||height="542" width="1050"]] 159 159 160 -((( 161 -Above two commands will first kill the loriot process and run it again to get more output. 162 -))) 163 163 164 - [[image:image-20220530145011-1.png]]197 +== 3.7 Trouble Shooting == 165 165 166 -Get more debug info 167 167 200 +User can check the station log in the** LogRead ~-~-> System Log **page. 168 168 169 - = 3.EndDeviceNote202 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135845-15.png?rev=1.1||alt="image-20220526135845-15.png"]] 170 170 171 -== 3.1 Downlink Setup == 172 172 173 - [[image:image-20220530145133-2.png]]205 +and recode the station log in the** LogRead ~-~-> Recode Log** page. 174 174 207 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135940-16.png?rev=1.1||alt="image-20220526135940-16.png"]] 175 175 176 -[[image:image-20220526112416-11.png]] 177 177 210 += 4. End Device Note = 178 178 179 - [[image:image-20220526112459-12.png]]212 +== 4.1 Downlink Setup == 180 180 181 181 182 -[[image:image-202205 26112537-13.png]]215 +[[image:image-20220530145133-2.png||height="523" width="1170"]] 183 183 184 184 185 -[[image:image-202205261126 08-14.png||height="610" width="1382"]]218 +[[image:image-20220526112416-11.png||height="576" width="1171"]] 186 186 187 187 188 -[[image:image-20220526112 655-15.png]]221 +[[image:image-20220526112459-12.png||height="403" width="1176"]] 189 189 190 190 191 -[[image:image-202205261127 19-16.png]]224 +[[image:image-20220526112537-13.png||height="392" width="1180"]] 192 192 193 193 194 -[[image:image-20220526112759-17.png||height="483" width="1386"]] 227 +[[image:image-20220526112608-14.png||height="520" width="1178"]] 228 + 229 + 230 +[[image:image-20220526112655-15.png||height="238" width="1181"]] 231 + 232 + 233 +[[image:image-20220526112719-16.png||height="316" width="1188"]] 234 + 235 + 236 +[[image:image-20220526112759-17.png||height="415" width="1191"]] 237 + 238 +
- image-20220531182035-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +265.0 KB - Content
- image-20220531182109-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.2 KB - Content
- image-20220531182202-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +313.4 KB - Content
- image-20220531182253-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +464.2 KB - Content
- image-20220831110558-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.1 KB - Content
- image-20220831111032-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +96.7 KB - Content
- image-20220831111132-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +333.1 KB - Content
- image-20220831111307-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +103.1 KB - Content
- image-20220831111821-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +319.6 KB - Content
- image-20220831111946-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +319.6 KB - Content
- image-20220831112553-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +364.7 KB - Content
- image-20220831114125-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +137.1 KB - Content
- image-20220831114647-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +70.4 KB - Content
- image-20220831114746-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.2 KB - Content
- image-20220831115222-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.7 KB - Content
- image-20231101162122-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +377.7 KB - Content
- image-20231101162623-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +242.0 KB - Content
- image-20231101163647-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +124.7 KB - Content
- image-20231101163743-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +167.6 KB - Content
- image-20231101165306-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +219.7 KB - Content