# Dragino gateway -- support TTN Basic Station

**URL:** <https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053>\
**Category:** The Things Stack v3\
**Created:** [August 27, 2021, 3:46am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053 "2021-08-27T03:46:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoye0](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/xiaoye0/32/35697_2.png) [@xiaoye0](https://www.thethingsnetwork.org/forum/u/xiaoye0)\
**Post date:** [August 27, 2021, 3:46am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/1 "2021-08-27T03:46:19Z")

</div>

if your gateway is LPS8,LIG16,LG308,DLOS8, you can refer this wiki to connect to TTN via Basic Station.  
Basic Station is more stable and secure than the generic Semtech UDP  
[https://wiki.dragino.com/index.php?title=Notes\_for\_TTN#Gateway\_Registration\_for\_Basics\_Station](https://wiki.dragino.com/index.php?title=Notes_for_TTN#Gateway_Registration_for_Basics_Station)  
 ![access gateway GUI](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/9/a/9a11fb44c53730e095daf9ba5b61be076872691c.png)  
 ![station_live_date](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/2/4/244f02318923e7121034402a9b77e32a6287f8c3.png)

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [August 27, 2021, 8:50am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/2 "2021-08-27T08:50:24Z")

</div>

I tried to connect my Dragino LPS8 with TTN Basic Station today. It does not seem to connect because of excessive clock drift.

```
2021-08-27 08:40:29.801 [SYN:INFO] Time sync qualities: min=81 q90=138 max=183 (previous q90=138)
2021-08-27 08:40:29.802 [SYN:ERRO] Repeated excessive clock drifts between MCU/SX130X#0 (3 retries): 4.3ppm (threshold 2.9ppm)
2021-08-27 08:40:32.953 [SYN:VERB] Time sync rejected: quality=144 threshold=138
2021-08-27 08:40:35.053 [SYN:ERRO] Repeated excessive clock drifts between MCU/SX130X#0 (6 retries): 3.3ppm (threshold 2.9ppm)
2021-08-27 08:40:38.204 [SYN:INFO] MCU/SX130X drift stats: min: -0.2ppm q50: +2.2ppm q80: +4.3ppm max: +8.1ppm - threshold q90: +6.2ppm
2021-08-27 08:40:38.204 [SYN:INFO] Mean MCU drift vs SX130X#0: 1.5ppm
2021-08-27 08:40:57.107 [SYN:VERB] Time sync rejected: quality=139 threshold=138
2021-08-27 08:41:03.408 [SYN:ERRO] Repeated excessive clock drifts between MCU/SX130X#0 (3 retries): 6.9ppm (threshold 6.2ppm)
2021-08-27 08:41:06.559 [SYN:ERRO] Repeated excessive clock drifts between MCU/SX130X#0 (6 retries): 6.5ppm (threshold 6.2ppm)
2021-08-27 08:41:07.610 [SYN:VERB] Time sync rejected: quality=142 threshold=138
2021-08-27 08:41:09.710 [SYN:VERB] Time sync rejected: quality=139 threshold=138
2021-08-27 08:41:16.011 [SYN:INFO] MCU/SX130X drift stats: min: -0.5ppm q50: +6.3ppm q80: +7.6ppm max: +9.0ppm - threshold q90: +9.0ppm
2021-08-27 08:41:16.012 [SYN:INFO] Mean MCU drift vs SX130X#0: 5.9ppm
2021-08-27 08:41:18.112 [SYN:INFO] Time sync qualities: min=87 q90=139 max=144 (previous q90=138)
2021-08-27 08:41:22.313 [SYN:VERB] Time sync rejected: quality=141 threshold=139
2021-08-27 08:41:28.614 [SYN:VERB] Time sync rejected: quality=167 threshold=139
2021-08-27 08:41:34.915 [SYN:VERB] Time sync rejected: quality=145 threshold=139
2021-08-27 08:41:43.316 [SYN:ERRO] Repeated excessive clock drifts between MCU/SX130X#0 (3 retries): 11.7ppm (threshold 9.0ppm)
2021-08-27 08:41:46.467 [SYN:ERRO] Repeated excessive clock drifts between MCU/SX130X#0 (6 retries): 10.3ppm (threshold 9.0ppm)
2021-08-27 08:41:49.618 [SYN:VERB] Time sync rejected: quality=199 threshold=139
```

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [August 27, 2021, 8:51am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/3 "2021-08-27T08:51:28Z")

</div>

My old Dragino LPS8 does not seem to be good enough for TTN Basic Station.  
Amendment: Now, after a “Reboot” of the gateway it is connected but still problems with time-sync.  
Note: LoRa packet  
2021-08-27 08:55:21.527 [SYN:INFO] Time sync qualities: min=80 q90=119 max=135 (previous q90=2147483647)  
2021-08-27 08:55:21.527 [SYN:VERB] Time sync rejected: quality=135 threshold=119  
2021-08-27 08:55:36.228 [SYN:VERB] Time sync rejected: quality=135 threshold=119  
2021-08-27 08:55:38.329 [SYN:VERB] Time sync rejected: quality=134 threshold=119

---

<div class="post-metadata">

**Author:** ![xiaoye0](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/xiaoye0/32/35697_2.png) [@xiaoye0](https://www.thethingsnetwork.org/forum/u/xiaoye0)\
**Post date:** [August 27, 2021, 9:45am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/4 "2021-08-27T09:45:02Z")

</div>

could you share your station confiuration page in the gateway GUI?

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [August 27, 2021, 10:17am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/5 "2021-08-27T10:17:48Z")

</div>

Here we go:

![BasicStation_config](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/8/5/8518b134fb53fe04bb67e044a117aad36ec53268.jpeg)

---

<div class="post-metadata">

**Author:** ![hellebauer](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hellebauer/32/35697_2.png) [@hellebauer](https://www.thethingsnetwork.org/forum/u/hellebauer)\
**Post date:** [September 9, 2021, 12:26pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/6 "2021-09-09T12:26:33Z")

</div>

Keep us posted !

Following snapshot is showing similar issues/values as well. Snapshot is from the setup Wiki for LPS8+BasicStation [Notes for TTN - Wiki for Dragino Project](https://wiki.dragino.com/index.php?title=Notes_for_TTN#Gateway_Registration_for_Basics_Station)  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/8/e/8ec776df3023c5a86a317b349d3cd981dd8c52d6.png)

Maybe start comparing hardware revisons of LPS8?  
New features advertised by Dragino, are not necessarily supported by “older” hardware.  
Just had a case like that with a 6 month old LDDS75.

Anyhow, I’ll keep my LPS8 on the UDP forwarder for now.

---

<div class="post-metadata">

**Author:** ![MatthewSt](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/matthewst/32/44686_2.png) [@MatthewSt](https://www.thethingsnetwork.org/forum/u/MatthewSt)\
**Post date:** [October 2, 2021, 10:31pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/7 "2021-10-02T22:31:25Z")

</div>

I didn’t use the version of the firmware linked (as there was a later version) but I was unable to get the `DEFAULT_CERTIFICATE` button to do anything on that screen. The page would re-render and some input controls would appear and then disappear but it would show a similar message:

`Not Found CA certificate,User can clicking DEFAULTde CERTIFICATE to install certificate`

(That’s copied exactly from the screen: typos, spacing and all)

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 3, 2021, 7:04am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/8 "2021-10-03T07:04:47Z")

</div>

What later version do you mean? In the moment I only find the openvpn-version with the implementation of Basicstation and an experimental version with BasicStation without openvpn.  
Both versions are causing timing-errors in the log of my LIG16 and LPS8 and I cannot see the gateway-traffic anymore.

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 3, 2021, 7:06am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/9 "2021-10-03T07:06:33Z")

</div>

I had no problems to install the certificate, neither on LIG16 nor on LPS8 using the experimental firmware.

---

<div class="post-metadata">

**Author:** ![MatthewSt](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/matthewst/32/44686_2.png) [@MatthewSt](https://www.thethingsnetwork.org/forum/u/MatthewSt)\
**Post date:** [October 3, 2021, 10:45am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/10 "2021-10-03T10:45:00Z")

</div>

I downloaded the Sep 29th version from [here](https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Test_Firmware/) (The linked article points you to the Aug 27th one).

I’ll wait for the October one and see if that fixes it. Sticking with UDP for now

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 3, 2021, 1:06pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/11 "2021-10-03T13:06:47Z")

</div>

This is the experimental firmware. I have some problems with this version (timing errors, missing “Gateway Traffic”).

> [@LIG16 troubleshooting](https://www.thethingsnetwork.org/forum/t/lig16-troubleshooting/44649/52):
>
> This morning I tried to connect my LIG16 to TTS Basic Station using the beta firmware. I could connect without problems, data-packages were transferred from my gateway to TTS. I could see all my nodes in their applications. But then I observed that the system-log of my gateway filled up with “Time sync rejected”-messages. 2021-09-11 06:58:14.551 [SYN:INFO] Mean MCU drift vs SX130X#0: -1.8ppm 2021-09-11 06:58:33.457 [SYN:VERB] Time sync rejected: quality=346 threshold=340 2021-09-11 06:58:46.06…

---

<div class="post-metadata">

**Author:** ![xiaoye0](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/xiaoye0/32/35697_2.png) [@xiaoye0](https://www.thethingsnetwork.org/forum/u/xiaoye0)\
**Post date:** [October 8, 2021, 12:59pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/12 "2021-10-08T12:59:01Z")

</div>

I use the latest firmware of lgw–build-v5.4.1633695703-20211008-2023 which is working fine  
[https://www.dragino.com/downloads/downloads/LoRa\_Gateway/LG02-OLG02/Firmware/Release/lgw--build-v5.4.1633695703-20211008-2023/dragino-lgw--v5.4.1633695703-squashfs-sysupgrade.bin](https://www.dragino.com/downloads/downloads/LoRa_Gateway/LG02-OLG02/Firmware/Release/lgw--build-v5.4.1633695703-20211008-2023/dragino-lgw--v5.4.1633695703-squashfs-sysupgrade.bin)  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/9/1/91c1dd538a0ad3f8db9cb755788156b0c1a19057.jpeg)  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/d/4d0968fba1712dae5eee61f78cb866dbf3d8da8d.png)  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/1/0/10f254c19d73ca3d03e1d93f171ab25804319f66.png)

---

<div class="post-metadata">

**Author:** ![xiaoye0](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/xiaoye0/32/35697_2.png) [@xiaoye0](https://www.thethingsnetwork.org/forum/u/xiaoye0)\
**Post date:** [October 8, 2021, 1:00pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/13 "2021-10-08T13:00:24Z")

</div>

![bc5035c184e61f8a6a6d54126c35d6d](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/5/a513df10fa95a373447e2cc48e47ed41b1597ed2.png)

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 8, 2021, 2:06pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/14 "2021-10-08T14:06:46Z")

</div>

You are totally right. There is a new firmware since a few hours. I can confirm that “LogRead/GatewayTraffic” now works.

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 8, 2021, 4:06pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/15 "2021-10-08T16:06:37Z")

</div>

But only for Semtech UDP. Using Basics Station with firmware lgw-5.4.1633695703 the “LogRead/GatewayTraffic” stays empty.  
“Previous Log: Station” is still filled up with: “Time sync rejected: quality=348 threshold=341” - whatever this means.

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 9, 2021, 5:40am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/16 "2021-10-09T05:40:47Z")

</div>

This morning I switched back to Semtech UDP. I need to monitor my gateway-traffic.

---

<div class="post-metadata">

**Author:** ![xiaoye0](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/xiaoye0/32/35697_2.png) [@xiaoye0](https://www.thethingsnetwork.org/forum/u/xiaoye0)\
**Post date:** [October 9, 2021, 6:20am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/17 "2021-10-09T06:20:45Z")

</div>

do you use the gateway is LIG16？

---

<div class="post-metadata">

**Author:** ![xiaoye0](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/xiaoye0/32/35697_2.png) [@xiaoye0](https://www.thethingsnetwork.org/forum/u/xiaoye0)\
**Post date:** [October 9, 2021, 6:23am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/18 "2021-10-09T06:23:20Z")

</div>

you can back to the Semtech UDP without complex operations,I will check this function of station traffic monitor

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [October 9, 2021, 9:48am UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/19 "2021-10-09T09:48:13Z")

</div>

Yes, this gateway is a LIG16. It was no problem to switch back to Semtech UDP.

---

<div class="post-metadata">

**Author:** ![Sgrobler](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/sgrobler/32/35697_2.png) [@Sgrobler](https://www.thethingsnetwork.org/forum/u/Sgrobler)\
**Post date:** [November 2, 2021, 4:17pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053/20 "2021-11-02T16:17:10Z")

</div>

Tried to migrate my LPS8 from V2 to V3 console. Using the Basic Station setup as described above. Console says “disconnected”, but the blue light on the device is steady which indicates “device alive with lorawan connection”. Using the LPS8 LogRead, gateway traffic is empty. Am I connected or not?

[Next page](https://www.thethingsnetwork.org/forum/t/dragino-gateway-support-ttn-basic-station/51053.md?page=2)
