Changes for page Lorawan-server by Petr Gotthard
Last modified by Xiaoling on 2023/04/21 17:42
Change comment:
Uploaded new attachment "image-20220531144134-1.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Kilight - Content
-
... ... @@ -2,20 +2,95 @@ 2 2 3 3 {{toc/}} 4 4 5 + 6 + 7 + 8 + 5 5 = 1. Introduction = 6 6 7 7 This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]]. 8 8 9 -= 2. For Gateway = 10 10 11 -= =2.1RegisterGateway==14 += 2. Support Devices = 12 12 13 - [[image:https://wiki.dragino.com/images/b/bb/Lorawan-server_00.png||height="152" width="737"]]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: 14 14 15 -[[image:https://wiki.dragino.com/images/0/06/Lorawan-server_01.png||height="230" width="730"]] 18 +* HP0A 19 +* HP0C 20 +* LPS8v2 16 16 17 - [[image:https://wiki.dragino.com/images/f/f4/Lorawan-server_02.png||height="315"width="731"]]22 +If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually. 18 18 19 -[[image:https://wiki.dragino.com/images/b/b0/Lorawan-server_03.png||height="232" width="733"]] 20 20 25 +== 2.1 Install lorawan server in Armbian System: == 26 + 27 +=== Check if you have the Armbian system. === 28 + 29 +Run command: 30 + 31 +(% class="box infomessage" %) 32 +((( 33 + uname -a 34 + cat /etc/debian_version 35 +))) 36 + 37 +[[image:image-20220526172628-2.png]] 38 + 39 +=== Install lorawan server === 40 + 41 +Run command: 42 + 43 +(% class="box infomessage" %) 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 47 +))) 48 + 49 +[[image:image-20220527085338-1.png||height="271" width="1145"]] 50 + 51 +At this point, lorawan-server is installed 52 + 53 + 54 +== 2.2 How do start lorawan server == 55 + 56 +=== Setting the automatic startup and start/stop lorawan-server via systemctl === 57 + 58 +If users want the server to start automatically after system reboot, run the command: 59 + 60 +(% class="box infomessage" %) 61 +((( 62 + systemctl enable lorawan-server 63 +))) 64 + 65 +start/stop lorawan-server via systemctl: 66 + 67 +(% class="box infomessage" %) 68 +((( 69 + systemctl start lorawan-server 70 + systemctl stop lorawan-server 71 +))) 72 + 73 +[[image:image-20220527091541-2.png||height="81" width="896"]] 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 + 77 + 78 += 3. Configure Gateway = 79 + 80 +== 3.1 Register Gateway == 81 + 82 +[[image:image-20220526113607-1.png||height="350" width="1449"]] 83 + 84 + 85 +[[image:image-20220526113654-2.png]] 86 + 87 + 88 +[[image:image-20220526113743-3.png||height="474" width="1179"]] 89 + 90 + 91 +[[image:image-20220526113853-4.png||height="484" width="1384"]] 92 + 21 21 lorawan-server set up 94 + 95 + 96 += 4. Configure Sensors =
- image-20220524180700-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.8 KB - Content
- image-20220526113607-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.8 KB - Content
- image-20220526113654-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.3 KB - Content
- image-20220526113743-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +112.2 KB - Content
- image-20220526113853-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +284.3 KB - Content
- image-20220526171716-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content
- image-20220526172628-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.8 KB - Content
- image-20220527085338-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.5 KB - Content
- image-20220527091541-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.9 KB - Content
- image-20220531144134-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.2 KB - Content