Changes for page Delete devices from Build-in Server
Last modified by Xiaoling on 2023/11/21 09:50
From version 8.1
edited by Xiaoling
on 2023/07/31 17:01
on 2023/07/31 17:01
Change comment:
Uploaded new attachment "1690794073644-821.png", version {1}
To version 15.1
edited by Kilight Cao
on 2023/11/20 15:39
on 2023/11/20 15:39
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +Delete devices from Build-in Server - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Main.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Kilight - Content
-
... ... @@ -1,0 +1,112 @@ 1 +(% class="wikigeneratedid" %) 2 + **Table of Contents:** 3 + 4 +{{toc/}} 5 + 6 + 7 + 8 += 1. Delete devices from built-in TTS = 9 + 10 + 11 +(% class="wikigeneratedid" %) 12 +== Method 1: == 13 + 14 +=== 1.1 Upgrade LPS8v2's TTS to HTTPS === 15 + 16 + 17 +(% style="color:blue" %)**1). Download the upgrade script** 18 + 19 +wget http:~/~/repo.dragino.com/release/tool/ttnstack/upgrade_to_https.sh && chmod +x upgrade_to_https.sh 20 + 21 +[[image:1690793819929-828.png]] 22 + 23 + 24 +(% style="color:blue" %)**2). Run the upgrade script** 25 + 26 +./upgrade_to_https.sh <step> <Local Ip Address> 27 + 28 +[[image:1690793801312-653.png]] 29 + 30 + 31 +(% style="color:red" %)**Note that:** 32 + 33 +parameter 1 tells the script which steps it should start from. 34 + 35 +parameter 2 is the configured local IP address. 36 + 37 + 38 +(% style="color:blue" %)**3). Check the TTS running status** 39 + 40 +[[image:1690793877462-490.png]] 41 + 42 + 43 +=== 2.1 Install ttn-lw-cli === 44 + 45 +==== 2.1.1 Download ttn-lw-cli ==== 46 + 47 + 48 +[[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]] 49 + 50 +[[image:1690794001186-556.png]] 51 + 52 + 53 +(% style="color:blue" %)**Login the lps8v2's tts via ttn-lw-cli** 54 + 55 +[[image:1690794013040-498.png]] 56 + 57 + 58 +(% style="color:blue" %)**Node:** 59 + 60 +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 61 + 62 +Manually modify the ttn-lw-cli configuration file .ttn-lw-cli.yml: 63 + 64 +[[image:image-20231106140006-2.png||height="509" width="823"]] 65 + 66 + 67 +(% style="color:blue" %)**ttn-lw-cli directory tree structure:** 68 + 69 +[[image:image-20231106135912-1.png]] 70 + 71 + 72 +==== 2.1.2 Delete End node ==== 73 + 74 + 75 +[[image:1690794073644-821.png]] 76 + 77 + 78 += 2. Delete devices from built-in ChirpStack = 79 + 80 + 81 +Users need to access the Linux console of the gateway through SSH, and then enter the following command to clear the built-in ChirpStack: 82 + 83 +(% class="box infomessage" %) 84 +((( 85 +**cd /usr/local/chirpstack/** 86 + 87 +**systemctl stop chirpstack** 88 + 89 +**docker-compose down** 90 +))) 91 + 92 +[[image:image-20231106094833-2.png]] 93 + 94 + 95 +(% class="box infomessage" %) 96 +((( 97 +**docker volume rm chirpstack_postgresqldata** 98 + 99 +**docker volume rm chirpstack-redisdata** 100 +))) 101 + 102 +[[image:image-20231106095035-3.png]] 103 + 104 + 105 +**Re-run ChirpStack** 106 + 107 +(% class="box infomessage" %) 108 +((( 109 +**systemctl start chirpstack** 110 +))) 111 + 112 +
- image-20231106094141-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +25.6 KB - Content
- image-20231106094833-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.9 KB - Content
- image-20231106095035-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.9 KB - Content
- image-20231106135912-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +84.9 KB - Content
- image-20231106140006-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +292.6 KB - Content