<
From version < 153.1 >
edited by Xiaoye
on 2024/06/22 09:44
To version < 155.1 >
edited by Xiaoye
on 2024/06/22 10:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -535,6 +535,11 @@
535 535  * (% style="color:#0000ff" %)**Auto run**(%%) dragino_fwd after boot:  sudo systemctl enable draginofwd
536 536  * (% style="color:#0000ff" %)**Show status** (%%)of dragino_fwd:  sudo systemctl status draginofwd
537 537  
538 +
539 +
540 +
541 +
542 +
538 538  === 5.2.2 Basic Station Mode. ===
539 539  
540 540  
... ... @@ -581,59 +581,85 @@
581 581  ==== **e.) Uploda API keys into the gateway** ====
582 582  
583 583  
584 -the User can find the Basic Station configuration directory in (% style="color:#0000ff" %)**/etc/station/**(%%) there is the station.conf files, and ttnstack directory.
589 +The user can find the Basic Station configuration directory in (% style="color:#0000ff" %)**/etc/station/:**
585 585  
586 586  //**directory tree:**//
587 587  
588 -///etc/station/
589 -├── station.conf 
590 -└── ttnstack  ~-~--> ** ttnstack configuration file directory**
591 - ├── cups.trust  ~-~-->  ttnstack auth file
592 - ├── cups.uri  ~-~-->  ttnstack server URI file
593 - └── station.conf  ~-~-~-~-> backup configuration file//
593 +/etc/station/
594 +└── station.conf  ~-~--> station configuration file
594 594  
595 595  
596 -
597 597  **and then upload the downloaded keys to this directory((% style="color:#0000ff" %)/etc/station/(%%))**
598 598  
599 599  eg:
600 600  
601 -/etc/station/
602 -├── cups.key  ~-~--> uploaded by you
603 -├── lns.key  ~-~--> uploaded by you
604 -├── station.conf
601 +/etc/station/.
602 +├── cups.key
603 +├── cups.trust
604 +├── cups.uri
605 +├── lns.key
606 +└── station.conf
607 +
605 605  
609 +==== **f). Configure Gateway EUI** ====
606 606  
607 -==== **f). Configure gateway EUI and server address** ====
611 +[[image:image-20240622094409-1.png]]
608 608  
609 609  
610 -[[image:image-20230329195650-10.png]]
611 611  
612 612  
613 -After the user enters the correct parameters, the server will be run automatically
616 +==== **g). **Start the station service ====
614 614  
618 +After configuring the GWEUI and uploading the certificate, you can start the station service via the below command:
615 615  
620 +(% class="box infomessage" %)
621 +(((
622 +ln -sf /usr/bin/station_sx1302 /usr/bin/station
623 +
624 +systemctl start draginostation
625 +)))
626 +
627 +
628 +systemctl start draginostation  ~-~- start draginostation service
629 +
630 +systemctl stop draginostation  ~-~- Stop draginostation service
631 +
632 +systemctl enable draginostation ~-~- enable boot auto start draginostation service
633 +
634 +systemctl disable  draginostation  ~-~- disable boot auto start draginostation service
635 +
636 +
637 +
616 616  Tree Directory:
617 617  
618 618  /etc/station/
641 +
642 +├── cups-bak.done
643 +├── cups-bak.key
644 +├── cups-bak.trust
645 +├── cups-bak.uri
619 619  ├── cups.key
620 620  ├── cups.trust
621 621  ├── cups.uri
622 622  ├── lns.key
623 -├── start-configure.sh
624 624  ├── station.conf
625 -└── ttnstack
626 - ├── cups.trust
627 - ├── cups.uri
628 - └── station.conf
651 +├── tc-bak.crt
652 +├── tc-bak.done
653 +├── tc-bak.key
654 +├── tc-bak.trust
655 +├── tc-bak.uri
656 +├── tc.crt
657 +├── tc.key
658 +├── tc.trust
659 +└── tc.uri
660 +
629 629  
630 630  
631 -==== **g). Check station running log** ====
663 +==== **h). Check station running log** ====
632 632  
633 633  
634 634  tail -f /var/log/station.log
635 635  
636 -
637 637  [[image:image-20230329201624-11.png]]
638 638  
639 639  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0