Hide last authors
Xiaoling 1.4 1 **~ Contents:**
2
3 {{toc/}}
4
Xiaoling 26.2 5
6
7
8
Xiaoling 1.2 9 = 1. Introduction =
Xiaoling 1.1 10
Xiaoling 1.2 11 This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]].
Xiaoling 1.1 12
13
Edwin Chen 11.1 14 = 2. Support Devices =
Xiaoling 1.1 15
Edwin Chen 11.1 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
18 * HP0A
19 * HP0C
20 * LPS8v2
21
22 If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually.
23
Xiaoling 15.4 24
Edwin Chen 11.1 25 == 2.1 Install lorawan server in Armbian System: ==
26
27 === Check if you have the Armbian system. ===
28
Kilight Cao 18.1 29 Run command:
Kilight Cao 20.1 30
Kilight Cao 18.1 31 (% class="box infomessage" %)
32 (((
33 uname -a
34 cat /etc/debian_version
35 )))
Edwin Chen 11.1 36
Kilight Cao 18.1 37 [[image:image-20220526172628-2.png]]
Edwin Chen 11.1 38
39 === Install lorawan server ===
40
Kilight Cao 20.1 41 Run command:
Edwin Chen 11.1 42
Kilight Cao 20.1 43 (% class="box infomessage" %)
44 (((
Kilight Cao 21.1 45 wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb
Kilight Cao 20.1 46 dpkg -i lorawan-server_0.6.7_all.deb
47 )))
48
Kilight Cao 23.1 49 [[image:image-20220527085338-1.png||height="271" width="1145"]]
Kilight Cao 20.1 50
Kilight Cao 23.1 51 At this point, lorawan-server is installed
Kilight Cao 20.1 52
Xiaoling 26.2 53
Kilight Cao 26.3 54 == 2.2 How do start lorawan server ==
Kilight Cao 23.1 55
Kilight Cao 24.1 56 === Setting the automatic startup and start/stop lorawan-server via systemctl ===
Kilight Cao 23.1 57
Kilight Cao 21.1 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
Kilight Cao 24.1 65 start/stop lorawan-server via systemctl:
Kilight Cao 21.1 66
67 (% class="box infomessage" %)
68 (((
Kilight Cao 23.1 69 systemctl start lorawan-server
Kilight Cao 21.1 70 systemctl stop lorawan-server
71 )))
72
Kilight Cao 23.1 73 [[image:image-20220527091541-2.png||height="81" width="896"]]
Kilight Cao 21.1 74
Kilight Cao 23.1 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
Edwin Chen 11.1 77
Kilight Cao 25.1 78 = 3. Configure Gateway =
Edwin Chen 11.1 79
Kilight Cao 25.1 80 == 3.1 Register Gateway ==
Kilight Cao 24.1 81
Xiaoling 15.2 82 [[image:image-20220526113607-1.png||height="350" width="1449"]]
Xiaoling 1.1 83
84
Xiaoling 15.2 85 [[image:image-20220526113654-2.png]]
Xiaoling 1.1 86
87
Xiaoling 15.2 88 [[image:image-20220526113743-3.png||height="474" width="1179"]]
89
90
91 [[image:image-20220526113853-4.png||height="484" width="1384"]]
92
Xiaoling 1.2 93 lorawan-server set up
Edwin Chen 11.1 94
95
Kilight Cao 25.1 96 = 4. Configure Sensors =
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0