Changes for page Lorawan-server by Petr Gotthard
Last modified by Xiaoling on 2023/04/21 17:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,7 +6,7 @@ 6 6 7 7 8 8 9 -= 1. Introduction = 9 += 1. Introduction = 10 10 11 11 12 12 This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]]. ... ... @@ -13,7 +13,7 @@ 13 13 14 14 15 15 16 -= 2. Support Devices = 16 += 2. Support Devices = 17 17 18 18 19 19 All current LoRaWAN gateway can support the connection to this LoRaWAN server. Some gateway models have this lorawan server built-in by default. They are: ... ... @@ -22,34 +22,39 @@ 22 22 * HP0C 23 23 * LPS8v2 24 24 25 +If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually. 25 25 26 26 27 -If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually. 28 28 29 +== 2.1 Install lorawan server in Armbian System == 29 29 30 30 31 -== 2.1 InstalllorawanserverinArmbianSystem:==32 +=== 2.1.1 Check if you have the Armbian system === 32 32 33 -=== Check if you have the Armbian system. === 34 34 35 -Run command: 35 +(% style="color:blue" %)**Run command:** 36 36 37 37 (% class="box infomessage" %) 38 38 ((( 39 - uname -a 40 - cat /etc/debian_version 39 +**uname -a** 40 + 41 +**cat /etc/debian_version ** 41 41 ))) 42 42 43 43 [[image:image-20220526172628-2.png]] 44 44 45 -=== Install lorawan server === 46 46 47 -Run command: 48 48 48 +=== 2.1.2 Install lorawan server === 49 + 50 + 51 +(% style="color:blue" %)**Run command:** 52 + 49 49 (% class="box infomessage" %) 50 50 ((( 51 - wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb 52 - dpkg -i lorawan-server_0.6.7_all.deb 55 +**wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb********** 56 + 57 +**dpkg -i lorawan-server_0.6.7_all.deb ** 53 53 ))) 54 54 55 55 [[image:image-20220527085338-1.png||height="271" width="1145"]] ... ... @@ -57,19 +57,22 @@ 57 57 At this point, lorawan-server is installed 58 58 59 59 60 -== 2.2 How do start lorawan server == 61 61 62 -== =Settingthe automaticstartup and start/stoplorawan-servervia systemctl===66 +== 2.2 How do start lorawan server == 63 63 64 - Ifuserswant theserverto start automaticallyafter systemreboot,run the command:68 +=== 2.2.1 Setting the automatic startup and start/stop lorawan-server via systemctl === 65 65 70 + 71 +(% style="color:blue" %)**If users want the server to start automatically after system reboot, run the command:** 72 + 66 66 (% class="box infomessage" %) 67 67 ((( 68 68 systemctl enable lorawan-server 69 69 ))) 70 70 71 -start/stop lorawan-server via systemctl: 72 72 79 +(% style="color:blue" %)**start/stop lorawan-server via systemctl:** 80 + 73 73 (% class="box infomessage" %) 74 74 ((( 75 75 systemctl start lorawan-server ... ... @@ -78,17 +78,20 @@ 78 78 79 79 [[image:image-20220527091541-2.png||height="81" width="896"]] 80 80 89 + 81 81 By default, the server listens on HTTP port 8080 and expects "admin" as both username and password. Users can access it via a web browser by entering the URL, where is the IP or the hostname of your server. [[http:~~/~~/ip_address:8080>>http://ip_address:8080]] 82 82 83 83 84 -= 3. Configure Gateway = 85 85 86 -= =3.1Register Gateway ==94 += 3. Configure Gateway = 87 87 96 +== 3.1 Register Gateway == 97 + 98 + 88 88 [[image:image-20220531144134-1.png||height="623" width="965"]] 89 89 90 90 91 -Back to the page of Semtech UDP check the secondary server settings and click the button of **Save&Apply** 102 +Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply** 92 92 93 93 94 94 ... ... @@ -103,27 +103,33 @@ 103 103 104 104 [[image:image-20220531144957-4.png||height="425" width="970"]] 105 105 106 -= 4. Configure Sensors = 107 107 108 -== Step 1. Add the Networks == 109 109 119 += 4. Configure Sensors = 120 + 121 + 122 +== 4.1 Step 1. Add the Networks == 123 + 124 + 110 110 **The following are examples of adding EU868 frequency nodes** 111 111 112 112 See this link for more frequency configurations [[https:~~/~~/github.com/gotthardp/lorawan-server/blob/master/doc/Regions.md>>https://github.com/gotthardp/lorawan-server/blob/master/doc/Regions.md]] 113 113 129 + 114 114 (% class="box" %) 115 115 ((( 116 -1.Input the NetID* ~-~-> 132 +1. Input the NetID* ~-~-> Random 6 digits 117 117 118 -2.Choose the Region* ~-~-> EU 863-870MHz 134 +2. Choose the Region* ~-~-> EU 863-870MHz 119 119 120 -3.Gateway Power ~-~-> Default value of EU868 is 16dBm 136 +3. Gateway Power ~-~-> Default value of EU868 is 16dBm 121 121 ))) 122 122 123 123 [[image:image-20220601184816-1.png||height="608" width="958"]] 124 124 125 -**Configuration of ADR** 126 126 142 +(% style="color:blue" %)**Configuration of ADR** 143 + 127 127 (% class="box" %) 128 128 ((( 129 129 Max EIRP(dBm) * ~-~-> 16 ... ... @@ -145,8 +145,10 @@ 145 145 146 146 [[image:image-20220601185451-2.png||height="612" width="953"]] 147 147 148 -**Configuration of Channels** 149 149 166 + 167 +(% style="color:blue" %)**Configuration of Channels** 168 + 150 150 (% class="box" %) 151 151 ((( 152 152 Initial Channels ~-~-> eg. 0 - 2 ... ... @@ -154,10 +154,14 @@ 154 154 155 155 [[image:image-20220601190313-3.png||height="549" width="958"]] 156 156 157 -Finally, click "submit", Complete the Add Networks step. 158 158 159 - ==Step2.Createnewgroup==177 +Finally, click** "(% style="color:blue" %)submit"(%%)**, Complete the Add Networks step. 160 160 179 + 180 + 181 +== 4.2 Step 2. Create new group == 182 + 183 + 161 161 (% class="box" %) 162 162 ((( 163 163 Name ~-~-> custom ... ... @@ -168,18 +168,27 @@ 168 168 [[image:image-20220601200220-4.png||height="533" width="968"]] 169 169 170 170 171 -== Step 3. Create new profile == 172 172 195 +== 4.3 Step 3. Create new profile == 196 + 197 + 173 173 [[image:image-20220601203544-5.png||height="494" width="982"]] 174 174 175 175 176 -== Step 4. Create new device == 177 177 202 +== 4.4 Step 4. Create new device == 203 + 204 + 178 178 [[image:image-20220601203837-6.png||height="577" width="983"]] 179 179 180 180 181 -== Checking node Status == 182 182 209 +== 4.5 Checking node Status == 210 + 211 + 183 183 [[image:image-20220601204155-7.png||height="484" width="990"]] 184 184 214 + 185 185 [[image:image-20220601204545-8.png||height="404" width="995"]] 216 + 217 +