Changes for page Lorawan-server by Petr Gotthard
Last modified by Xiaoling on 2023/04/21 17:42
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoling - Content
-
... ... @@ -1,4 +1,4 @@ 1 -**~ Contents:** 1 +**~ Table of Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -6,13 +6,15 @@ 6 6 7 7 8 8 9 -= 1. Introduction = 9 += 1. Introduction = 10 10 11 + 11 11 This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]]. 12 12 13 13 14 -= 2. Support Devices = 15 += 2. Support Devices = 15 15 17 + 16 16 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: 17 17 18 18 * HP0A ... ... @@ -22,28 +22,33 @@ 22 22 If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually. 23 23 24 24 25 -== 2.1 Install lorawan server in Armbian System :==27 +== 2.1 Install lorawan server in Armbian System == 26 26 27 -=== Check if you have the Armbian system .===29 +=== 2.1.1 Check if you have the Armbian system === 28 28 29 -Run command: 30 30 32 +(% style="color:blue" %)**Run command:** 33 + 31 31 (% class="box infomessage" %) 32 32 ((( 33 - uname -a 34 - cat /etc/debian_version 36 +**uname -a** 37 + 38 +**cat /etc/debian_version ** 35 35 ))) 36 36 37 37 [[image:image-20220526172628-2.png]] 38 38 39 -=== Install lorawan server === 40 40 41 - Runcommand:44 +=== 2.1.2 Install lorawan server === 42 42 46 + 47 +(% style="color:blue" %)**Run command:** 48 + 43 43 (% class="box infomessage" %) 44 44 ((( 45 - wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb 46 - dpkg -i lorawan-server_0.6.7_all.deb 51 +**wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb************** 52 + 53 +**dpkg -i lorawan-server_0.6.7_all.deb ** 47 47 ))) 48 48 49 49 [[image:image-20220527085338-1.png||height="271" width="1145"]] ... ... @@ -51,38 +51,43 @@ 51 51 At this point, lorawan-server is installed 52 52 53 53 54 -== 2.2 How do start lorawan server == 61 +== 2.2 How do start lorawan server == 55 55 56 -=== Setting the automatic startup and start/stop lorawan-server via systemctl === 63 +=== 2.2.1 Setting the automatic startup and start/stop lorawan-server via systemctl === 57 57 58 -If users want the server to start automatically after system reboot, run the command: 59 59 66 +(% style="color:blue" %)**If users want the server to start automatically after system reboot, run the command:** 67 + 60 60 (% class="box infomessage" %) 61 61 ((( 62 - systemctl enable lorawan-server 70 +**~ systemctl enable lorawan-server** 63 63 ))) 64 64 65 -start/stop lorawan-server via systemctl: 66 66 74 +(% style="color:blue" %)**start/stop lorawan-server via systemctl:** 75 + 67 67 (% class="box infomessage" %) 68 68 ((( 69 - systemctl start lorawan-server 70 - systemctl stop lorawan-server 78 +**~ systemctl start lorawan-server** 79 + 80 + ** systemctl stop lorawan-server** 71 71 ))) 72 72 73 73 [[image:image-20220527091541-2.png||height="81" width="896"]] 74 74 75 -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]] 76 76 86 +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]] 77 77 78 -= 3. Configure Gateway = 79 79 80 -= =3.1Register Gateway ==89 += 3. Configure Gateway = 81 81 91 +== 3.1 Register Gateway == 92 + 93 + 82 82 [[image:image-20220531144134-1.png||height="623" width="965"]] 83 83 84 84 85 -Back to the page of Semtech UDP check the secondary server settings and click the button of **Save&Apply** 97 +Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.** 86 86 87 87 88 88 ... ... @@ -97,27 +97,32 @@ 97 97 98 98 [[image:image-20220531144957-4.png||height="425" width="970"]] 99 99 100 -= 4. Configure Sensors = 101 101 102 -= =Step 1.Add theNetworks ==113 += 4. Configure Sensors = 103 103 115 +== 4.1 Step 1. Add the Networks == 116 + 117 + 104 104 **The following are examples of adding EU868 frequency nodes** 105 105 106 106 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]] 107 107 122 + 108 108 (% class="box" %) 109 109 ((( 110 -1.Input the NetID* ~-~-> 125 +1. Input the NetID* ~-~-> Random 6 digits 111 111 112 -2.Choose the Region* ~-~-> EU 863-870MHz 127 +2. Choose the Region* ~-~-> EU 863-870MHz 113 113 114 -3.Gateway Power ~-~-> Default value of EU868 is 16dBm 129 +3. Gateway Power ~-~-> Default value of EU868 is 16dBm 115 115 ))) 116 116 117 117 [[image:image-20220601184816-1.png||height="608" width="958"]] 118 118 119 -**Configuration of ADR** 120 120 135 + 136 +(% style="color:blue" %)**Configuration of ADR** 137 + 121 121 (% class="box" %) 122 122 ((( 123 123 Max EIRP(dBm) * ~-~-> 16 ... ... @@ -139,8 +139,10 @@ 139 139 140 140 [[image:image-20220601185451-2.png||height="612" width="953"]] 141 141 142 -**Configuration of Channels** 143 143 160 + 161 +(% style="color:blue" %)**Configuration of Channels** 162 + 144 144 (% class="box" %) 145 145 ((( 146 146 Initial Channels ~-~-> eg. 0 - 2 ... ... @@ -148,10 +148,13 @@ 148 148 149 149 [[image:image-20220601190313-3.png||height="549" width="958"]] 150 150 151 -Finally, click "submit", Complete the Add Networks step. 152 152 153 - ==Step2.Createnewgroup==171 +Finally, click** "(% style="color:blue" %)submit"(%%)**, Complete the Add Networks step. 154 154 173 + 174 +== 4.2 Step 2. Create new group == 175 + 176 + 155 155 (% class="box" %) 156 156 ((( 157 157 Name ~-~-> custom ... ... @@ -162,18 +162,24 @@ 162 162 [[image:image-20220601200220-4.png||height="533" width="968"]] 163 163 164 164 165 -== Step 3. Create new profile == 187 +== 4.3 Step 3. Create new profile == 166 166 189 + 167 167 [[image:image-20220601203544-5.png||height="494" width="982"]] 168 168 169 169 170 -== Step 4. Create new device == 193 +== 4.4 Step 4. Create new device == 171 171 195 + 172 172 [[image:image-20220601203837-6.png||height="577" width="983"]] 173 173 174 174 175 -== Checking node Status == 199 +== 4.5 Checking node Status == 176 176 201 + 177 177 [[image:image-20220601204155-7.png||height="484" width="990"]] 178 178 204 + 179 179 [[image:image-20220601204545-8.png||height="404" width="995"]] 206 + 207 +