Last modified by Xiaoling on 2023/11/21 09:50

From version 8.1
edited by Xiaoling
on 2023/07/31 17:01
Change comment: Uploaded new attachment "1690794073644-821.png", version {1}
To version 8.3
edited by Xiaoling
on 2023/07/31 17:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +Delete devices from Build-in The Things Network
Parent
... ... @@ -1,0 +1,1 @@
1 +Main.WebHome
Content
... ... @@ -1,0 +1,61 @@
1 += 1. Upgrade LPS8v2's TTS to HTTPS =
2 +
3 +
4 +**1). Download the upgrade script**
5 +
6 +wget http:~/~/repo.dragino.com/release/tool/ttnstack/upgrade_to_https.sh && chmod +x upgrade_to_https.sh
7 +
8 +[[image:1690793819929-828.png]]
9 +
10 +
11 +**2). Run the upgrade script**
12 +
13 +./upgrade_to_https.sh <step> <Local Ip Address>
14 +
15 +[[image:1690793801312-653.png]]
16 +
17 +
18 +(% style="color:red" %)**Note that:**
19 +
20 +parameter 1 tells the script which steps it should start from.
21 +
22 +parameter 2 is the configured local IP address.
23 +
24 +
25 +**3). Check the TTS running status**
26 +
27 +[[image:1690793877462-490.png]]
28 +
29 +
30 += 2. Install ttn-lw-cli =
31 +
32 +
33 +1). Download ttn-lw-cli
34 +
35 +[[https:~~/~~/www.thethingsindustries.com/docs/the-things-stack/interact/cli/installing-cli/#installing-using-pre-built-binaries>>url:https://www.thethingsindustries.com/docs/the-things-stack/interact/cli/installing-cli/#installing-using-pre-built-binaries]]
36 +
37 +[[image:1690794001186-556.png]]
38 +
39 +
40 +(% style="color:blue" %)**Login the lps8v2's tts via ttn-lw-cli**
41 +
42 +[[image:1690794013040-498.png]]
43 +
44 +
45 +(% style="color:blue" %)**Node:**
46 +
47 +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
48 +
49 +Manually modify the ttn-lw-cli configuration file .ttn-lw-cli.yml:
50 +
51 +[[image:1690794039057-792.png]]
52 +
53 +
54 +(% style="color:blue" %)**ttn-lw-cli directory tree structure:**
55 +
56 +[[image:1690794060552-527.png]]
57 +
58 +
59 +(% style="color:blue" %)**Delete End Devices.**
60 +
61 +[[image:1690794073644-821.png]]