<
From version < 98.9 >
edited by Xiaoling
on 2022/05/07 13:52
To version < 98.7 >
edited by Xiaoling
on 2022/05/07 13:40
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -326,48 +326,64 @@
326 326  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. Make sure to select legacy packet forwarder.
327 327  )))
328 328  
329 +(% style="text-align:center" %)
329 329  [[image:1651745267862-321.png||height="526" width="621"]]
330 330  
332 +
333 +
334 +(% style="text-align:center" %)
331 331  [[image:1651745306744-481.png||height="478" width="621"]]
332 332  
333 333  After set up, the status should show not connected as below:
334 334  
339 +(% style="text-align:center" %)
335 335  [[image:1651745366987-458.png||height="363" width="621"]]
336 336  
337 337  
338 338  ===== 5.2.1 Download and install LoRaWAN packet forwarder =====
339 339  
340 -Enable SPI and I2C first:
345 + Enable SPI and I2C first:
341 341  
342 -a)SPI needs to be enabled on the Raspberry Pi
347 + a)SPI needs to be enabled on the Raspberry Pi
343 343  
344 -Run sudo raspi-config to open the config window
349 + Run sudo raspi-config to open the config window
345 345  
351 +(% style="text-align:center" %)
346 346  [[image:1651745476754-240.png||height="235" width="631"]]
347 347  
354 +
355 +(% style="text-align:center" %)
348 348  [[image:image-20220505181135-1.png]]
349 349  
358 +(% style="text-align:center" %)
350 350  [[image:image-20220505181135-2.png]]
351 351  
352 -In RPI , Fist: Enter root account:
353 353  
362 +
363 +
364 + In RPI , Fist: Enter root account:
365 +
366 +(% style="text-align:center" %)
354 354  [[image:1651745583363-614.png]]
355 355  
356 356  
357 -and then run:
370 + and then run:
358 358  
359 -wget [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/auto_install.sh>>url:https://www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/auto_install.sh]]
372 + wget [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/auto_install.sh>>url:https://www.dragino.com/downloads/downloads/LoRa_Gateway/PG1302/software/auto_install.sh]]
360 360  
361 -chmod +x ./auto_install.sh
374 + chmod +x ./auto_install.sh
362 362  
363 -./auto_install.sh
376 + ./auto_install.sh
364 364  
378 +(% style="text-align:center" %)
365 365  [[image:1651745611629-818.png]]
366 366  
367 -This will download the packet forwarder package from Dragino Server to RPI, and start install the package.
368 368  
369 -You can get these output:
382 + This will download the packet forwarder package from Dragino Server to RPI, and start install the package.
370 370  
384 + You can get these output:
385 +
386 +(% style="text-align:center" %)
371 371  [[image:1651745657252-173.png||height="426" width="621"]]
372 372  
373 373  
... ... @@ -374,36 +374,52 @@
374 374  ===== 5.2.2 Config Gateway ID, Frequency Band and Server address =====
375 375  
376 376  (((
377 -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.**
393 + After installation, user can find the configuration file in** /etc/lora/ **Replace the gateway ID we got above to the
378 378  )))
379 379  
380 380  (((
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.
397 +**~ gateway_ID** in file **local_conf.json**
382 382  )))
383 383  
400 +(((
401 + The default LoRaWAN server points to localhost, user need to put the correct server address to the
402 +)))
403 +
404 +(((
405 + server_address field in file **local_conf.json**, like below.
406 +)))
407 +
408 +(% style="text-align:center" %)
384 384  [[image:1651745709709-887.png||height="820" width="621"]]
385 385  
386 -User can find the TTN v3 server address from:
387 387  
388 -[[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]
412 + User can find the TTN v3 server address from:
389 389  
414 + [[Server Addresses ~| The Things Stack for LoRaWAN (thethingsindustries.com)>>url:https://www.thethingsindustries.com/docs/getting-started/server-addresses/#deployments]]
390 390  
391 -And the default frequency band is US915 in **global_conf.json** file.
392 392  
417 + And the default frequency band is US915 in **global_conf.json** file.
418 +
419 +(% style="text-align:center" %)
393 393  [[image:1651745838008-820.png||height="650" width="621"]]
394 394  
422 +
395 395  * If user want to change to other frequency bands, User can copy the file from **/etc/lora/cfg-302 **and put it into** /etc/lora/global_conf.json.**
396 396  
397 - 1).Chose your need the name of region frequency.
425 + 1).Chose your need the name of region frequency.
398 398  
427 +(% style="text-align:center" %)
399 399  [[image:1651745867516-322.png]]
400 400  
430 +
401 401   2). Use this command to copy it.
402 402  
403 403   cp /etc/lora/cfg-302/EU-global_conf.json /etc/lora/global_conf.json
404 404  
435 +(% style="text-align:center" %)
405 405  [[image:1651745984006-868.png]]
406 406  
438 +
407 407  * If user wants to change to other LoRaWAN server, modify the **global_conf.json** file.
408 408  
409 409  (% class="wikigeneratedid" %)
... ... @@ -414,36 +414,32 @@
414 414  ===== 5.2.3 Check result =====
415 415  
416 416  (((
417 -Run below command to restart the dragino_fwd:
449 + Run below command to restart the dragino_fwd:
418 418  )))
419 419  
420 420  (((
421 -(% class="box infomessage" %)
422 -(((
423 -sudo systemctl stop draginofwd
453 + sudo systemctl stop draginofwd
424 424  )))
425 425  
426 -(% class="box infomessage" %)
427 427  (((
428 -sudo systemctl start draginofwd
457 + sudo systemctl start draginofwd
429 429  )))
430 -)))
431 431  
432 432  (((
433 -debug check the ruing status of fwd:
461 + debug check the ruing status of fwd:
434 434  )))
435 435  
436 436  (((
437 -(% class="box infomessage" %)
438 -(((
439 -sudo systemctl status draginofwd
465 + sudo systemctl status draginofwd
440 440  )))
441 -)))
442 442  
468 +(% style="text-align:center" %)
443 443  [[image:1651746045057-414.png]]
444 444  
445 -The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
446 446  
472 + The dragino_fwd will start with the new gateway ID and TTN v3 should show the connection ok:
473 +
474 +(% style="text-align:center" %)
447 447  [[image:1651746078253-168.png||height="372" width="621"]]
448 448  
449 449  
... ... @@ -472,7 +472,7 @@
472 472  
473 473  === 6. Order Info ===
474 474  
475 -Part Number: **PG1302-XX**  Or  Part Number: **PG1302-PI-XX   **(Include RPi converter board for RPI 3/4)
503 + Part Number: **PG1302-XX**  Or  Part Number: **PG1302-PI-XX   **(Include RPi converter board for RPI 3/4)
476 476  
477 477  **~ XX:**
478 478  
... ... @@ -483,19 +483,18 @@
483 483  === 7. Packing Info ===
484 484  
485 485  (((
486 -**PG1302 Package Includes**:
514 +**~ PG1302 Package Includes**:
487 487  )))
488 488  
489 -(((
490 -* PG1302 x 1
517 +* (((
518 +PG1302 x 1
491 491  )))
492 -
493 -(((
494 -* LoRa Antenna x 1
520 +* (((
521 +LoRa Antenna x 1
495 495  )))
496 496  
497 497  (((
498 -**PG1302-PI Package Includes**:
525 +**~ PG1302-PI Package Includes**:
499 499  )))
500 500  
501 501  * (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0