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