Can not "make" on Raspberry PI3 + Dragino Hat v1.4

Hi, my name is Nori, Japan. I tried to make LoRaWAN gateway using raspberry pi and dragino LoRa/GPS HAT article below .

There seems to be 2 problems.

(1)I couldn’t find LoraModem.c, and I couldn’t apply the changes below.
// Die(“Unrecognized transceiver”);

(2)Without applying above (1) I see the following problems when I tried to make.

pi@raspberrypi:~/dual_chan_pkt_fwd-master $ sudo make install
sudo cp -f ./dual_chan_pkt_fwd.service /lib/systemd/system/
sudo systemctl enable dual_chan_pkt_fwd.service
sudo systemctl daemon-reload
sudo systemctl start dual_chan_pkt_fwd
sudo systemctl status dual_chan_pkt_fwd -l
● dual_chan_pkt_fwd.service - Lora Packet Forwarder
Loaded: loaded (/lib/systemd/system/dual_chan_pkt_fwd.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2019-08-04 15:35:04 JST; 220ms ag
Process: 7016 ExecStart=/home/pi/dual_chan_pkt_fwd/dual_chan_pkt_fwd (code=exited, status=210/CHRO
Main PID: 7016 (code=exited, status=210/CHROOT)


Can anyone help me solve these problems?

HI, This is Nori. I added some information.

– (1) is not a problem. Branch " dual_chan_pkt_fwd_up_down" contains LoraModem.c, but branch “master” doesn’t contain the file. So it seems we don’t need it.

– For (2), “sudo systemctl status dual_chan_pkt_fwd -l” seems not to work. I tried following command, but didn’t work and showed error message shown below.

  • sudo systemctl status dual_chan_pkt_fwd

  • dual_chan_pkt_fwd.service - Lora Packet Forwarder
    Loaded: loaded (/lib/systemd/system/dual_chan_pkt_fwd.service; enabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Mon 2019-08-05 18:07:07 JST; 2s ago
    Process: 5696 ExecStart=/home/pi/dual_chan_pkt_fwd/dual_chan_pkt_fwd (code=exited, status=210/CHROOT)
    Main PID: 5696 (code=exited, status=210/CHROOT)

I think “Active:” status has to show “active [running]”, but it said "activating (auto-restart) (Result: exit-code) ". What’s wrong?

Hi NoriAbe
I’m sorry, but I’m on vacation until the end of the month. When I get back I check my old notes and see if I can help you
Bye

Batigolle,

Thank you for your reply.

It’s OK, take your time. Now it’s not an urgent issue. I deleted installed files,
and download and re-install files again. Now it’s working. I don’t know why,
what’s wrong. Please let me know if you have any information. It’s going to
be helpful for next installation.

So take your time, enjoy your vacation.