Version 21.1 by Kilight Cao on 2022/05/27 09:13

Hide last authors
Xiaoling 1.4 1 **~ Contents:**
2
3 {{toc/}}
4
Xiaoling 1.2 5 = 1. Introduction =
Xiaoling 1.1 6
Xiaoling 1.2 7 This is an Open Source LoRaWAN server from [[https:~~/~~/github.com/gotthardp/lorawan-server>>url:https://github.com/gotthardp/lorawan-server]].
Xiaoling 1.1 8
9
Edwin Chen 11.1 10 = 2. Support Devices =
Xiaoling 1.1 11
Edwin Chen 11.1 12 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:
13
14 * HP0A
15 * HP0C
16 * LPS8v2
17
18 If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually.
19
Xiaoling 15.4 20
Edwin Chen 11.1 21 == 2.1 Install lorawan server in Armbian System: ==
22
23 === Check if you have the Armbian system. ===
24
Kilight Cao 18.1 25 Run command:
Kilight Cao 20.1 26
Kilight Cao 18.1 27 (% class="box infomessage" %)
28 (((
29 uname -a
30 cat /etc/debian_version
31 )))
Edwin Chen 11.1 32
Kilight Cao 18.1 33 [[image:image-20220526172628-2.png]]
Edwin Chen 11.1 34
35 === Install lorawan server ===
36
Kilight Cao 20.1 37 Run command:
Edwin Chen 11.1 38
Kilight Cao 20.1 39 (% class="box infomessage" %)
40 (((
Kilight Cao 21.1 41 wget https://github.com/gotthardp/lorawan-server/releases/download/v0.6.7/lorawan-server_0.6.7_all.deb
Kilight Cao 20.1 42 dpkg -i lorawan-server_0.6.7_all.deb
43 )))
44
45 [[image:image-20220527085338-1.png||height="343" width="1449"]]
46
Kilight Cao 21.1 47 === Setting automatic start ===
Kilight Cao 20.1 48
Kilight Cao 21.1 49 If users want the server to start automatically after system reboot, run the command:
50
51 (% class="box infomessage" %)
52 (((
53 systemctl enable lorawan-server
54 )))
55
56 Then start/stop the server by
57
58 (% class="box infomessage" %)
59 (((
60 systemctl start lorawan-server
61 systemctl stop lorawan-server
62 )))
63
64
Edwin Chen 11.1 65 = 3. Configure Gateway =
66
67 == 3.1 Register Gateway ==
68
Xiaoling 15.2 69 [[image:image-20220526113607-1.png||height="350" width="1449"]]
Xiaoling 1.1 70
71
Xiaoling 15.2 72 [[image:image-20220526113654-2.png]]
Xiaoling 1.1 73
74
Xiaoling 15.2 75 [[image:image-20220526113743-3.png||height="474" width="1179"]]
76
77
78 [[image:image-20220526113853-4.png||height="484" width="1384"]]
79
Xiaoling 1.2 80 lorawan-server set up
Edwin Chen 11.1 81
82
83 = 4. Configure Sensors =