# DRAGINO problems and solutions topic part 1

**URL:** <https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951>\
**Category:** \[obsolete\] SCPF\
**Created:** [August 14, 2017, 9:56am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951 "2017-08-14T09:56:40Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![ck210400](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/c/f4b2a3/32.png) [@ck210400](https://www.thethingsnetwork.org/forum/u/ck210400)\
**Post date:** [September 13, 2017, 9:29am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/50 "2017-09-13T09:29:19Z")

</div>

I’m using a Raspberry Pi 3 and a dragino lora shield as a gateway, while it works for 10 packets or so it stops after that. I’m still getting it on the gateway but doesn’t show on TTN. It works again after I create another device and use it’s credentials (ABP)

---

<div class="post-metadata">

**Author:** ![ChristianH](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/christianh/32/41253_2.png) [@ChristianH](https://www.thethingsnetwork.org/forum/u/ChristianH)\
**Post date:** [September 22, 2017, 2:35pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/51 "2017-09-22T14:35:04Z")

</div>

My WiFi-Router uses the package openvpn-polarssl and has the tun0-interface within the “green” zone.

For openvpn-openssl a tutorial is here:  
[https://wiki.openwrt.org/doc/howto/vpn.openvpn](https://wiki.openwrt.org/doc/howto/vpn.openvpn)

---

<div class="post-metadata">

**Author:** ![mattltm](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mattltm/32/18080_2.png) [@mattltm](https://www.thethingsnetwork.org/forum/u/mattltm)\
**Post date:** [September 22, 2017, 7:10pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/52 "2017-09-22T19:10:42Z")

</div>

Thanks ChristianH.

Unfortunately, the Dragino is running a modified version of OpenWRT and it crashes if you try and bring up the tun0 interface. Dragion are looking into it so maybe they will issue a fix.

In the meantime, I have written a script that creates an SSH tunnel to a remote server and I run what I need via that.

---

<div class="post-metadata">

**Author:** ![LucasRestivo](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/lucasrestivo/32/16309_2.png) [@LucasRestivo](https://www.thethingsnetwork.org/forum/u/LucasRestivo)\
**Post date:** [December 12, 2017, 10:19pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/53 "2017-12-12T22:19:34Z")

</div>

Hello,  
I have a gateway (Raspberry Pi 3 + dragino) and only one mote (arduino + dragino).

1. in Traffic Gateway, I’m getting payload from several DevAddr, but next to me there is only my mote.
2. in the Traffic Gateway also, I can see the packets arriving, but in the Application Data it does not show anything.

![app](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/d/d82b7ac4e6183530bf52222b8660b320d4ff46e9.jpg) ![gw](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/f/ffd096b57aa43116297dde027e6c608f0b3e68d0.jpg)

Has anyone seen anything like this?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [December 12, 2017, 10:52pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/54 "2017-12-12T22:52:37Z")

</div>

> [@LucasRestivo](#):
>
> I’m getting payload from several DevAddr, but next to me there is only my mote.

With long range radio, other nodes obviously don’t need to be close to your gateway. But as all payloads are 25 bytes: can you confirm that all packets you’re receiving match the times that your node is sending? (Or did your node only send at 19:44:46?)

> [@LucasRestivo](#):
>
> in the Traffic Gateway also, I can see the packets arriving, but in the Application Data it does not show anything

Unless all different DevAddr lines are in fact your node: receiving transmissions on a gateway but not in an application often means that the keys are wrong. I assume you added the node (device) to the application in TTN Console? Also see [Hex, lsb or msb?](https://www.thethingsnetwork.org/forum/t/hex-lsb-or-msb/2809)

---

<div class="post-metadata">

**Author:** ![LucasRestivo](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/lucasrestivo/32/16309_2.png) [@LucasRestivo](https://www.thethingsnetwork.org/forum/u/LucasRestivo)\
**Post date:** [December 18, 2017, 7:19pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/55 "2017-12-18T19:19:50Z")

</div>

arjanvanb, Thank you for your quick reply!

I was able to figure out the problem and now I’m broadcasting normally, the packages are also appearing on the Application tab.  
The problem was that in the lorabase.h file, the base frequency of operation was incorrect. I changed to 915 MHz and disabled all other channels. It’s working perfectly now! 🤩  
the question that I am unraveling now is when inserting an LM35 in the node, I can visualize the temperature monitor and transmit it to the gateway, but in TTN it appears payload with 00 00 00.

the data configuration on my sensor node is::  
static uint8\_t mydata [4] = {temperatura};

there may be some misconfiguration here…

---

<div class="post-metadata">

**Author:** ![orvillesion](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/o/3da27b/32.png) [@orvillesion](https://www.thethingsnetwork.org/forum/u/orvillesion)\
**Post date:** [February 9, 2018, 4:42pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/56 "2018-02-09T16:42:13Z")

</div>

Hello,

I’m a newbie in building gateway and I don’t know if I build my gateway wrong. My gateway is dragino Lg01. When trying to join ABP my connection in my gateway are OK. I received the data from my node in ttn console. But when I try using OTAA, I don’t received any data in the ttn console. But upon checking the traffic in my gateway in ttn console there is a joint request of my node. Only join request. I also tried to connect to the other gateway by looking available gateway in the ttn map and went to the location and the connection of OTAA in the ttn console was OK. I received the data from my node. Can you help me to figure out what’s wrong in my gateway?

In this link [http://wiki.dragino.com/index.php?title=Connect\_to\_TTN](http://wiki.dragino.com/index.php?title=Connect_to_TTN) I followed the tutorial in building the gateway.

---

<div class="post-metadata">

**Author:** ![ganymean](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ganymean/32/11199_2.png) [@ganymean](https://www.thethingsnetwork.org/forum/u/ganymean)\
**Post date:** [February 26, 2018, 1:25pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/57 "2018-02-26T13:25:28Z")

</div>

Hi everyone

I am testing Dragino’s single channel gateway and Lora device in the AS923 environment.  
Please tell me how to solve some of the problems that I am facing.

1. Test environment

1. LoRa gateway  
LG 01-JP (firmware IOT-4.3.0, single\_pkt\_fwd\_v 002.hex)
2. LoRa device  
Lora mini Dev + [Arduino-LMIC for LG01-JP for AS923](https://github.com/openwave-co-jp/arduino-lmic-master-for-LG01-JP)

```
+ helloworld_otaa.ino / helloworld_abp.ino

```

1. Problems faced

When both OTAA and ABP exceed the frame counter 140, the TTN connection is lost.

OTAA Frameup Counter: 144  
ABP Frameup Counter: 147

3.My Sketch - setup () function  
OTAA

> LMIC\_setClockError (MAX\_CLOCK\_ERROR \* 1/100);  
> LMIC\_setLinkCheckMode(0);  
> LMIC.dn2Dr = AS923\_DR\_SF9;  
> LMIC\_setDrTxpow (AS923\_DR\_SF9, 13);

ABP

> LMIC\_setClockError (MAX\_CLOCK\_ERROR \* 1/100);  
> LMIC\_setLinkCheckMode (0);  
> LMIC. Dn2Dr = AS923\_DR\_SF9;  
> LMIC\_setDrTxpow (DR\_SF9, 13);

regards,

---

<div class="post-metadata">

**Author:** ![jezd](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jezd/32/46461_2.png) [@jezd](https://www.thethingsnetwork.org/forum/u/jezd)\
**Post date:** [February 26, 2018, 2:28pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/58 "2018-02-26T14:28:16Z")

</div>

Just noticed that Dragino LG01 have released new firmware and lorawan scripts for Single Channel gateway

[http://wiki.dragino.com/index.php?title=Mesh\_IoT\_Firmware](http://wiki.dragino.com/index.php?title=Mesh_IoT_Firmware)

> **[dragino/Arduino-Profile-Examples](https://github.com/dragino/Arduino-Profile-Examples/tree/master/libraries/Dragino/examples/LoRa/LoRaWAN)**
>
> Example for Dragino LoRa Devices. . Contribute to dragino/Arduino-Profile-Examples development by creating an account on GitHub.

Not tested, may look later to see whats changed… added downloads packets it says

---

<div class="post-metadata">

**Author:** ![ganymean](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ganymean/32/11199_2.png) [@ganymean](https://www.thethingsnetwork.org/forum/u/ganymean)\
**Post date:** [February 27, 2018, 2:24am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/59 "2018-02-27T02:24:30Z")

</div>

Hi, jezd.

Thank you for your reply.

I have not tested it since I read the new firmware and single channel forwarder release. Because it does not support AS923.

---

<div class="post-metadata">

**Author:** ![ganymean](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ganymean/32/11199_2.png) [@ganymean](https://www.thethingsnetwork.org/forum/u/ganymean)\
**Post date:** [February 27, 2018, 11:09pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/60 "2018-02-27T23:09:05Z")

</div>

Hi, jezd.

According to your advice, I changed the firmware of LG01-JP to IOT-4.3.2 and packet forwarder to single\_pkt\_fwd\_v003.hex, but the problem was not solved.

ABP stops at 147 and OTAA stops at 144 or 145.

regards.

---

<div class="post-metadata">

**Author:** ![jezd](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jezd/32/46461_2.png) [@jezd](https://www.thethingsnetwork.org/forum/u/jezd)\
**Post date:** [February 27, 2018, 11:18pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/61 "2018-02-27T23:18:49Z")

</div>

My advice? anyway, I updated the code here and the basics still seem to work, I didnt do any more testing than that - I did note they single\_pkt\_fwd\_v003.hex code didnt change the version number reported by the internal web page, in fact I dont think they changed the old version in the source code

Playing with single channel gateways just reminded how incredibly limiting they are sadly - its back in the cupboard for now

---

<div class="post-metadata">

**Author:** ![Batigolle](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/batigolle/32/38442_2.png) [@Batigolle](https://www.thethingsnetwork.org/forum/u/Batigolle)\
**Post date:** [March 20, 2018, 1:53pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/62 "2018-03-20T13:53:38Z")

</div>

Hello @HaSch  
I’m trying to build a gateway with Raspberry PI3 and Dragino Hat, which allows downstream messages.

Looking in the forum, I found your post in which you claim to have tried the code this code: [https://github.com/bokse001/dual\_chan\_pkt\_fwd/tree/dual\_chan\_pkt\_fwd\_up\_down](https://github.com/bokse001/dual_chan_pkt_fwd/tree/dual_chan_pkt_fwd_up_down)  
and after some changes you are able to make it work.

I’m not able to find other posts on the subject, being the post dated,  
I ask you to confirm if it works and allows the downstream messages.

Thanks

---

<div class="post-metadata">

**Author:** ![HaSch](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hasch/32/35713_2.png) [@HaSch](https://www.thethingsnetwork.org/forum/u/HaSch)\
**Post date:** [March 20, 2018, 10:52pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/63 "2018-03-20T22:52:19Z")

</div>

@Batigolle  
I can confirm that Pi 3 with Dragino Hat works with the modified boksem code as I described with up and download.

---

<div class="post-metadata">

**Author:** ![Batigolle](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/batigolle/32/38442_2.png) [@Batigolle](https://www.thethingsnetwork.org/forum/u/Batigolle)\
**Post date:** [March 21, 2018, 8:47am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/64 "2018-03-21T08:47:33Z")

</div>

Thanks HaSch  
I will try this code with your changes

---

<div class="post-metadata">

**Author:** ![kramer92](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kramer92/32/25844_2.png) [@kramer92](https://www.thethingsnetwork.org/forum/u/kramer92)\
**Post date:** [March 21, 2018, 3:39pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/65 "2018-03-21T15:39:19Z")

</div>

Has anyone done any dragino + mqtt direct application? the dragino firing the packages to the server on a normal pc via mqtt?

---

<div class="post-metadata">

**Author:** ![Batigolle](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/batigolle/32/38442_2.png) [@Batigolle](https://www.thethingsnetwork.org/forum/u/Batigolle)\
**Post date:** [March 26, 2018, 9:46am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/66 "2018-03-26T09:46:07Z")

</div>

Hi all  
I did the test with Raspberry PI3 and Dragino Hat v1.4 and  
I confirm that with the changes suggested by @HaSch ,  
it works  
by also receiving the Downstream Messages !

I made a further modification to the global\_conf.json file

For the test I used a sensor with the code .ino taken from the examples folder of tftelkamp / single\_chan\_pkt\_fwd.git,  
subsequently modified, to transmit, only on channel 868100000

The default installation on the raspberry, / bokse001 / dual\_chan\_pkt\_fwd  
receive the messages only on channel 868300000, so I modified the global\_conf.json file  
by inverting the values of the two freq and freq\_2 fields  
from  
{ “freq”: 868100000,  
“freq\_2”: 868300000,  
…  
to  
{ “freq”: 868300000,  
“freq\_2”: 868100000,  
…

Finally,  
in the sensor code, to receive the DownStream message,  
I added the following line of code, inside the setup () function, before do\_send (& sendjob);

```
 // Let LMIC offset for +/- 1% clock error
 LMIC_setClockError (MAX_CLOCK_ERROR * 10/100);
```

---

<div class="post-metadata">

**Author:** ![kramer92](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kramer92/32/25844_2.png) [@kramer92](https://www.thethingsnetwork.org/forum/u/kramer92)\
**Post date:** [March 26, 2018, 5:33pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/67 "2018-03-26T17:33:55Z")

</div>

Hello. Using my LG01P gateway, I am not able to transmit the incoming data (via LoRa) to the server. Someone with similar problem? Each time you transmit different, always forward the same value to the server

---

<div class="post-metadata">

**Author:** ![Batigolle](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/batigolle/32/38442_2.png) [@Batigolle](https://www.thethingsnetwork.org/forum/u/Batigolle)\
**Post date:** [March 29, 2018, 12:20pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/68 "2018-03-29T12:20:28Z")

</div>

Hi all  
to implement, a gateway with Raspberry PI3 + Dragino Hat v1.4, which allows to use the Downstream messages, I opened a new Topic where I gathered all the information  
[LINK TOPIC](https://www.thethingsnetwork.org/forum/t/gateway-with-raspberry-pi3-dragino-hat-v1-4-and-downstream-messages/13284?u=batigolle)

---

<div class="post-metadata">

**Author:** ![bhumiknayak](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bhumiknayak](https://www.thethingsnetwork.org/forum/u/bhumiknayak)\
**Post date:** [March 30, 2018, 7:06am UTC](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951/69 "2018-03-30T07:06:18Z")

</div>

Hello Everyone, I’m from India and ordering A Dragino Gateway with 868 Mhz option.  
But my node SX1272 sends payload from 865 to 867 Mhz Frequency.  
Does Dragino scan the spectrum from 865 to 868 Mhz ?  
We have already tested successfully our node device with Kerlink and MultiConnect Conduit with 868 Mhz as they are able to scan and receive from 865 to 868 Mhz range.  
And will I be able to receive the data with Dragino 868 Mhz ?

[Previous page](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951.md?page=2)

[Next page](https://www.thethingsnetwork.org/forum/t/dragino-problems-and-solutions-topic-part-1/8951.md?page=4)
