1. Upgrade LPS8v2's TTS to HTTPS

1). Download the upgrade script

wget http://repo.dragino.com/release/tool/ttnstack/upgrade_to_https.sh && chmod +x upgrade_to_https.sh

1690793819929-828.png

2). Run the upgrade script

./upgrade_to_https.sh <step> <Local Ip Address>

1690793801312-653.png

Note that:

parameter 1 tells the script which steps it should start from.

parameter 2 is the configured local IP address.

3). Check the TTS running status

1690793877462-490.png

2. Install ttn-lw-cli

1). Download ttn-lw-cli

https://www.thethingsindustries.com/docs/the-things-stack/interact/cli/installing-cli/#installing-using-pre-built-binaries

1690794001186-556.png

Login the lps8v2's tts via ttn-lw-cli

1690794013040-498.png

Node:

You need to configure a ca certificate for the cli, The ca certificate is inside the gateway and the directory path is : /usr/lib/ttn-stack/ca.pem

Manually modify the ttn-lw-cli configuration file .ttn-lw-cli.yml:

1690794039057-792.png

ttn-lw-cli directory tree structure:

1690794060552-527.png

Delete End Devices.

1690794073644-821.png

Tags:
Created by Xiaoling on 2023/07/31 16:56
    
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0