Table of Contents:

Overview

This is a general instruction for the use of Armbian base OS of Dragino devices. Current models include:

  • HP0A
  • HP0C
  • LPS8v2

Development Guide

For advanced users to develop Driver/ Linux etc

Advance

SSH Access for Linux console

Connect the HP0C Ethernet port to your router and HP0C will obtain an IP address from your router. In the router’s management portal, you should be able to find what IP address the router has assigned to the HP0C. You can use this IP to connect the SSH access of HP0C.

IP address:     IP address of HP0C

Port:         22

User Name:      root

Password:         draginohp (default)

After logging in, you will be in the Linux console and can enter commands as shown below.

How to burn from SD card to eMMC

image-20220602112051-1.png

image-20220602112058-2.png

image-20220602112106-3.png

image-20220602112113-4.png

image-20220602112119-5.png

image-20220602112125-6.png

image-20220602112131-7.png

How to recompile LoRaWAN Concentrator Driver ( dragino-fwd package).

Step 1. Clone dragino-fwd package

Run command clone dragino-fwd package:

git clone https://github.com/dragino/dragino_fwd_src.git

image-20220527151010-1.png

Step 2. Compile dragino_fwd

After cloning is complete, Run the command starts compiling:

Compile HP0D/rasspberrypi fwd:                      ./hp0z-make-deb.sh  d
Compile HP0C/HP0A fwd:                                 ./hp0z-make-deb.sh  c

The following example compilers HP0C fwd.

image-20220527153913-3.png

When the compilation is complete a draginofwd-*.deb package is generated.

image-20220527154311-4.png

Step 3. Install the dragino_fwd

Run command:

dpkg -i draginofwd-*.deb 

image-20220527154811-5.png

Step 4. Test

Check the dragino_fwd log:

journalctl -u draginofwd -f

image-20220527165221-7.png

Start/stop dragino_fwd via systemctl:

systemctl start draginofwd
systemctl stop draginofwd

 

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0