Hide last authors
Edwin Chen 1.1 1 = Overview =
2
3 This is a general instruction for the use of Armbian base OS of Dragino devices. Current models include:
4
5 * HP0A
6 * HP0C
7 * LPS8v2
8
Edwin Chen 4.1 9 = Development Guide =
10
Kilight Cao 11.1 11 For advanced users to develop Driver/ Linux etc
Edwin Chen 4.1 12
13 == How to recompile LoRaWAN Concentrator Driver ( dragino-fwd package). ==
14
Kilight Cao 11.1 15 === Step 1. Clone dragino-fwd package ===
Edwin Chen 4.1 16
17
Kilight Cao 11.1 18 Run command clone dragino-fwd package:
19
20 (% class="box infomessage" %)
21 (((
22 git clone https:~/~/github.com/dragino/dragino_fwd_src.git
23 )))
24
25 [[image:image-20220527151010-1.png]]
26
27
28 === Step 2.Compile dragino_fwd ===
29
30
Kilight Cao 14.1 31 After cloning is complete, Run the command starts compiling:
Kilight Cao 11.1 32
33 (% class="box infomessage" %)
34 (((
35 Compile HP0D/rasspberrypi fwd:  ./hp0z-make-deb.sh d
36 Compile HP0C/HP0A fwd:  ./hp0z-make-deb.sh c
37 )))
38
39 The following example compilers HP0C fwd.
40
41 [[image:image-20220527153913-3.png]]
42
43
44 **When the compilation is complete a draginofwd-*.deb package is generated.**
45
46 [[image:image-20220527154311-4.png||height="385" width="773"]]
47
48 === Step 3. Install the dragino_fwd ===
49
Kilight Cao 14.1 50
Kilight Cao 11.1 51 Run command:
52
53 (% class="box infomessage" %)
54 (((
55 dpkg -i draginofwd-*.deb
56 )))
57
58 [[image:image-20220527154811-5.png]]
59
60
Kilight Cao 13.1 61 === Trouble Shootings ===
Kilight Cao 11.1 62
Kilight Cao 14.1 63
Kilight Cao 13.1 64 Check the dragino_fwd log:
Kilight Cao 11.1 65
66 (% class="box infomessage" %)
67 (((
68 journalctl -u draginofwd -f
69 )))
70
Kilight Cao 13.1 71 [[image:image-20220527165221-7.png||height="182" width="931"]]
Kilight Cao 11.1 72
Kilight Cao 13.1 73 Start/stop dragino_fwd via systemctl:
Kilight Cao 11.1 74
Kilight Cao 13.1 75 (% class="box infomessage" %)
76 (((
77 systemctl start draginofwd
78 systemctl stop draginofwd
79 )))
80
81
Edwin Chen 1.1 82
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0