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. 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. 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,39 +22,34 @@ 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. 26 26 27 27 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 == 30 30 31 31 32 -== =2.1.1Checkif you havetheArmbiansystem ===31 +== 2.1 Install lorawan server in Armbian System: == 33 33 33 +=== Check if you have the Armbian system. === 34 34 35 - (% style="color:blue" %)**Run command:**35 +Run command: 36 36 37 37 (% class="box infomessage" %) 38 38 ((( 39 -**uname -a** 40 - 41 -**cat /etc/debian_version ** 39 + uname -a 40 + cat /etc/debian_version 42 42 ))) 43 43 44 44 [[image:image-20220526172628-2.png]] 45 45 45 +=== Install lorawan server === 46 46 47 +Run command: 47 47 48 -=== 2.1.2 Install lorawan server === 49 - 50 - 51 -(% style="color:blue" %)**Run command:** 52 - 53 53 (% class="box infomessage" %) 54 54 ((( 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 ** 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 58 58 ))) 59 59 60 60 [[image:image-20220527085338-1.png||height="271" width="1145"]] ... ... @@ -62,22 +62,19 @@ 62 62 At this point, lorawan-server is installed 63 63 64 64 60 +== 2.2 How do start lorawan server == 65 65 66 -== 2.2Howdo start lorawan62 +=== Setting the automatic startup and start/stop lorawan-server via systemctl === 67 67 68 - ===2.2.1 Settingtheautomaticstartupand start/stoplorawan-serverviasystemctl===64 +If users want the server to start automatically after system reboot, run the command: 69 69 70 - 71 -(% style="color:blue" %)**If users want the server to start automatically after system reboot, run the command:** 72 - 73 73 (% class="box infomessage" %) 74 74 ((( 75 75 systemctl enable lorawan-server 76 76 ))) 77 77 71 +start/stop lorawan-server via systemctl: 78 78 79 -(% style="color:blue" %)**start/stop lorawan-server via systemctl:** 80 - 81 81 (% class="box infomessage" %) 82 82 ((( 83 83 systemctl start lorawan-server ... ... @@ -86,20 +86,17 @@ 86 86 87 87 [[image:image-20220527091541-2.png||height="81" width="896"]] 88 88 89 - 90 90 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]] 91 91 92 92 84 += 3. Configure Gateway = 93 93 94 -= 3. Configure Gateway =86 +== 3.1 Register Gateway == 95 95 96 -== 3.1 Register Gateway == 97 - 98 - 99 99 [[image:image-20220531144134-1.png||height="623" width="965"]] 100 100 101 101 102 -Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply**91 +Back to the page of Semtech UDP check the secondary server settings and click the button of **Save&Apply** 103 103 104 104 105 105 ... ... @@ -114,14 +114,10 @@ 114 114 115 115 [[image:image-20220531144957-4.png||height="425" width="970"]] 116 116 106 += 4. Configure Sensors = 117 117 118 - 119 -= 4. Configure Sensors = 120 - 121 - 122 122 == Step 1. Add the Networks == 123 123 124 - 125 125 **The following are examples of adding EU868 frequency nodes** 126 126 127 127 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]] ... ... @@ -128,11 +128,11 @@ 128 128 129 129 (% class="box" %) 130 130 ((( 131 -1. 116 +1.Input the NetID* ~-~-> Random 6 digits 132 132 133 -2. 118 +2.Choose the Region* ~-~-> EU 863-870MHz 134 134 135 -3. 120 +3.Gateway Power ~-~-> Default value of EU868 is 16dBm 136 136 ))) 137 137 138 138 [[image:image-20220601184816-1.png||height="608" width="958"]]