Changes for page PG1302 -- LoRaWAN Concentrator User Manual
Last modified by Kilight Cao on 2024/06/22 10:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -95,8 +95,10 @@ 95 95 96 96 ==== 2.1 System structure ==== 97 97 98 -This example is an example to show how to set up the PG1302 + RPi as a LoRaWAN gateway to use with [[TheThingsNetwork>>url:http://www.thethingsnetwork.org/]](TTN) LoRaWAN server. Set up method for other server are similar.98 + This example is an example to show how to set up the PG1302 + RPi as a LoRaWAN gateway to use with [[TheThingsNetwork>>url:http://www.thethingsnetwork.org/]](TTN) LoRaWAN server. 99 99 100 + Set up method for other server are similar. 101 + 100 100 (% style="text-align:center" %) 101 101 [[image:1651743698677-436.png||height="457" width="686"]] 102 102 ... ... @@ -141,10 +141,19 @@ 141 141 142 142 ==== 4.3 Access the Linux console ==== 143 143 144 -Connect the RPI Ethernet port to your router, RPi will obtain an IP address from your router. In the router’s management portal, you should be able to find what IP address the router has assigned to the RPI. You can use this IP to connect the WEB UI or SSH access of RPI. 146 +((( 147 + Connect the RPI Ethernet port to your router, RPi will obtain an IP address from your router. In the router’s management portal, you should be 148 +))) 145 145 146 -Make sure your PC and the RPI is in the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]]) to access it. Below are screenshots 150 +((( 151 + able to find what IP address the router has assigned to the RPI. You can use this IP to connect the WEB UI or SSH access of RPI. 152 +))) 147 147 154 +((( 155 + Make sure your PC and the RPI is in the same network, then use a SSH tool (such as [[putty>>url:http://www.chiark.greenend.org.uk/~~sgtatham/putty/download.html]]) to access it. Below are screenshots 156 +))) 157 + 158 + 148 148 (% style="text-align:center" %) 149 149 [[image:1651744193675-591.png||height="450" width="466"]] 150 150 ... ... @@ -171,15 +171,14 @@ 171 171 172 172 ===== 4.4.1 Home page ===== 173 173 174 - 185 + Open a browser on the PC and type the RPI ip address 175 175 176 - [[http:~~/~~/IP_ADDRESS** **>>url:http://192.168.1.xx/]] (If the IP is assigned by uplink router) 187 + [[http:~~/~~/IP_ADDRESS** **>>url:http://192.168.1.xx/]] (If the IP is assigned by uplink router) 177 177 189 + You will see the login interface of RPI as shown below. 178 178 179 - Youwillseethelogininterfaceof RPI as shown below.191 + The account details for Web Login are: 180 180 181 - The account details for Web Login are: 182 - 183 183 **~ User Name: root** 184 184 185 185 **~ Password: dragino** ... ... @@ -220,24 +220,21 @@ 220 220 (% style="text-align:center" %) 221 221 [[image:1651744767914-283.png||height="352" width="621"]] 222 222 233 + Note *: See this instruction for how to configure TTN. 223 223 235 + [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_TTN>>url:https://wiki.dragino.com/index.php?title=Notes_for_TTN||style="background-color: rgb(255, 255, 255);"]] 224 224 225 - Note *: See this instruction for how to configure TTN. 226 226 227 - [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_TTN>>url:https://wiki.dragino.com/index.php?title=Notes_for_TTN]] 228 - 229 - 230 230 ====== 4.4.3.2 Basic Station ====== 231 231 232 232 (% style="text-align:center" %) 233 233 [[image:1651744890629-683.png||height="380" width="621"]] 234 234 243 + Note *: See this instruction for how to configure TTN. 235 235 236 - Note *: SeethisnstructionforhowtofigureTTN.245 + [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core>>url:https://wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core]] 237 237 238 - [[https:~~/~~/wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core>>url:https://wiki.dragino.com/index.php?title=Notes_for_AWS-IoT-Core]] 239 239 240 - 241 241 ===== 4.4.4 LogRead ===== 242 242 243 243 ====== 4.4.4.1 LoRa Log ====== ... ... @@ -245,13 +245,12 @@ 245 245 (% style="text-align:center" %) 246 246 [[image:1651744955955-452.png||height="571" width="621"]] 247 247 255 + Show the frequency for LoRa Radio and traffics. 248 248 249 - Show the frequency for LoRa Radio and traffics. 250 250 251 - 252 252 ====== 4.4.4.2 System Log ====== 253 253 254 - 260 + Show system log. 255 255 256 256 (% style="text-align:center" %) 257 257 [[image:1651745003470-264.png||height="477" width="621"]] ... ... @@ -270,7 +270,7 @@ 270 270 271 271 ==== 5.1 OS requirement ==== 272 272 273 - 279 + RPI in this example is RPI model 4B with fresh Raspbian OS install. 274 274 275 275 pi@raspberrypi:~~$ cat /etc/os-release 276 276 ... ... @@ -295,17 +295,17 @@ 295 295 296 296 ==== 5.2 Get Gateway ID in Raspberry and input this in TTN v3. ==== 297 297 298 - 304 + In RPI, run below command to get a Gateway ID 299 299 300 - 306 + (% class="mark" %)ifconfig eth0 301 301 302 302 (% style="text-align:center" %) 303 303 [[image:1651745210205-512.png||height="130" width="621"]] 304 304 305 305 306 - 312 + We got the ether (eth0 MAC) address is b8:27:eb:49:62:bc). Add ffff at the end and remove “:” to get the gateway ID: b827ebxxxxbcffff. Input this to TTN v3. 307 307 308 - 314 + Make sure to select legacy packet forwarder. 309 309 310 310 (% style="text-align:center" %) 311 311 [[image:1651745267862-321.png||height="526" width="621"]] ... ... @@ -370,9 +370,9 @@ 370 370 371 371 ===== 5.2.2 Config Gateway ID, Frequency Band and Server address ===== 372 372 373 - 379 + After installation, user can find the configuration file in** /etc/lora/ **Replace the gateway ID we got above to the **gateway_ID** in file **local_conf.json** 374 374 375 - 381 + The default LoRaWAN server points to localhost, user need to put the correct server address to the server_address field in file **local_conf.json**, like below. 376 376 377 377 (% style="text-align:center" %) 378 378 [[image:1651745709709-887.png||height="820" width="621"]]