# Dragino LoRa Gateway is not connecting to TTN server

**URL:** <https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718>\
**Category:** \[obsolete\] SCPF\
**Created:** [July 3, 2019, 5:21am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718 "2019-07-03T05:21:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![leewens\_1303](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/leewens_1303/32/25844_2.png) [@leewens\_1303](https://www.thethingsnetwork.org/forum/u/leewens_1303)\
**Post date:** [July 3, 2019, 5:21am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/1 "2019-07-03T05:21:10Z")

</div>

I am trying to connect my Dragino Lora Gateway to TTN server using the link that I mentioned below  
[https://wiki.dragino.com/index.php?title=Connect\_to\_TTN](https://wiki.dragino.com/index.php?title=Connect_to_TTN)

Here are the snapshots of my gateway device sticker on the back side with information about it and TTN page where it shows not connected and also dragino page with IP 10.130.1.1 all step mention in official dragino site that I performed but not able to connect gateway to TTN server. Please help me where I am wrong.

![Screenshot%20(16)](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/5/b/5b918428368e97e76293d339107cc9d1bdf425e3.png) ![Screenshot%20(22)](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/5/f/5f7d6989b28007db51a64a1ba7388a5ebb89058b.png) ![Screenshot%20(23)](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/1/d/1d40ddfa94b61f2a5781c08357411ffa53eafe97.png) ![Screenshot%20(24)](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/a/4a78b25455416a28a3721f180feac480779053ec.png) ![Dragino](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/c/2/c23994aba26965e3c94bb0e8c67eea00af96ab68.jpeg)

---

<div class="post-metadata">

**Author:** ![LoRaTracker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loratracker/32/48502_2.png) [@LoRaTracker](https://www.thethingsnetwork.org/forum/u/LoRaTracker)\
**Post date:** [July 3, 2019, 5:51am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/2 "2019-07-03T05:51:15Z")

</div>

There was a thread on here just yesterday about the Dragino gateway, might be worth a read;

> [@Dragino LG-01 connected but no packets](https://www.thethingsnetwork.org/forum/t/dragino-lg-01-connected-but-no-packets/27683):
>
> Has anyone ever successfully connected the Dragino LG-01 gateway to The Things Network and received traffic? For the past 2 months I’ve been reading forums (similar question to this one), trying different packet forwarding firmware and altered End Node configurations, such as RX/TX Frequencies. My gateway is connected to The Things Network however no packets ever are uploaded. Notably, I can see via my admin panel of my Dragino, that it is receiving my end node packets, however the problem se…

---

<div class="post-metadata">

**Author:** ![Explorex](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/explorex/32/35697_2.png) [@Explorex](https://www.thethingsnetwork.org/forum/u/Explorex)\
**Post date:** [July 6, 2019, 4:50am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/3 "2019-07-06T04:50:53Z")

</div>

Have you made sure you’ve connected your gateway to the internet?

---

<div class="post-metadata">

**Author:** ![SzymonJk](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/szymonjk/32/35697_2.png) [@SzymonJk](https://www.thethingsnetwork.org/forum/u/SzymonJk)\
**Post date:** [July 15, 2019, 8:51am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/4 "2019-07-15T08:51:29Z")

</div>

I have the same problem. You solved it?

---

<div class="post-metadata">

**Author:** ![Kilnageer](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kilnageer/32/46842_2.png) [@Kilnageer](https://www.thethingsnetwork.org/forum/u/Kilnageer)\
**Post date:** [October 13, 2019, 11:35am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/5 "2019-10-13T11:35:45Z")

</div>

I have wired up a Draguino Gps/Lora Hat to a Raspberry Pi Zero W and while the software looks happy I see no connection on my TTN Console. Any suggestions?

---

<div class="post-metadata">

**Author:** ![Kilnageer](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kilnageer/32/46842_2.png) [@Kilnageer](https://www.thethingsnetwork.org/forum/u/Kilnageer)\
**Post date:** [October 14, 2019, 8:10pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/6 "2019-10-14T20:10:56Z")

</div>

Fixed. I needed to use:  
#define SERVER1 “52.169.76.203” // router.eu.thethings.network  
in main.cpp and not:  
#define SERVER1 “52.169.76.255” // eu.thethings.network

## Now get, which include successful node data: pi@tola\_ttn\_gateway:~/single\_chan\_pkt\_fwd $ ./single\_chan\_pkt\_fwd SX1276 detected, starting. Gateway ID: b8:27:eb:ff:ff:e0:ce:2b Listening at SF7 on 868.100000 Mhz.

stat update: {“stat”:{“time”:“2019-10-14 20:02:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:03:02 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:03:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:04:02 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:04:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:05:02 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:05:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:06:02 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:06:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:07:02 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:07:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
Packet RSSI: -57, RSSI: -102, SNR: 9, Length: 34  
rxpk update: {“rxpk”:[{“tmst”:1822415974,“chan”:0,“rfch”:0,“freq”:868.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9,“rssi”:-57,“size”:34,“data”:“QNsQASaAAAADxqubkV4WnhbrIjorjJy+eHLzXtueE91zeg==”}]}  
stat update: {“stat”:{“time”:“2019-10-14 20:08:02 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:1,“rxok”:1,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}  
stat update: {“stat”:{“time”:“2019-10-14 20:08:32 GMT”,“lati”:52.71000,“long”:-8.88000,“alti”:6,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel [Gateway",“mail”:"kilnageer@gmail.com](mailto:Gateway%22,%22mail%22:%22kilnageer@gmail.com)”,“desc”:""}}

---

<div class="post-metadata">

**Author:** ![Nilaim](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/nilaim/32/25844_2.png) [@Nilaim](https://www.thethingsnetwork.org/forum/u/Nilaim)\
**Post date:** [May 23, 2020, 11:38am UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/7 "2020-05-23T11:38:56Z")

</div>

So much for a “cheap” “starter” “kit”; first thing you have to do is buy another gateway because it doesn’t “start”, after wasting hours to understand why because there is no tutorial…

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [May 23, 2020, 12:59pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/8 "2020-05-23T12:59:25Z")

</div>

Because the hardware is not capable of implementing a LoRaWAN compliant gateway any tutorials would only help you setup hardware that leads to further wasted hours of both you and may-be other TTN users. This is Lora hardware useful for your own Lora experiments, not for LoRaWAN. Dragino has the LPS8 and LG308 for LoRaWAN.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [May 23, 2020, 1:00pm UTC](https://www.thethingsnetwork.org/forum/t/dragino-lora-gateway-is-not-connecting-to-ttn-server/27718/9 "2020-05-23T13:00:12Z")

</div>


