# Gateway status not connected, no data visible

**URL:** <https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138>\
**Category:** Uncategorized\
**Created:** [August 23, 2018, 6:43pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138 "2018-08-23T18:43:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![IoT\_Marco](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/iot_marco/32/45432_2.png) [@IoT\_Marco](https://www.thethingsnetwork.org/forum/u/IoT_Marco)\
**Post date:** [August 23, 2018, 6:43pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138/1 "2018-08-23T18:43:25Z")

</div>

Hi,

I have a problem with the correct working of this gateway.

Gateway Lorank 8  
[BeagleBoard.org](http://BeagleBoard.org) Debian Image 2016-05-13  
Linux lorank8 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux  
running Poly-packet forwarder,

TTN entry in global\_conf.json:  
{ “server\_address”: “router.eu.thethings.network”,  
“serv\_port\_up”: 1700,  
“serv\_port\_down”: 1700,

and: “stat\_format”: “semtech”,

added in local\_conf.json:  
“gps”: true,  
“fake\_gps”: true,

Frequency Plan : Europe868MHz  
Router; ttn-router-eu  
Starting poly\_pkt\_fwd in foreground:

```
##### 2018-08-23 18:46:40 GMT #####
### [UPSTREAM] ###
# RF packets received by concentrator: 2
# CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
# RF packets forwarded: 2 (104 bytes)
# PUSH_DATA datagrams sent: 3 (816 bytes)
# PUSH_DATA acknowledged: 0.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 3 (0.00% acknowledged)
# PULL_RESP(onse) datagrams received: 0 (0 bytes)
# RF packets sent to concentrator: 0 (0 bytes)
# TX errors: 0
### BEACON IS DISABLED!
### [JIT] ###
# INFO: JIT queue contains 0 packets.
# INFO: JIT queue contains 0 beacons.
### [GPS] ###
# No time keeping possible due to fake gps.
# Manual GPS coordinates: latitude 51.41279, longitude 5.47990, altitude 18 m
### [PERFORMANCE] ###
# Upstream radio packet quality: 100.00%.
# Upstream datagram acknowledgment quality for server "52.18.106.103" is 0.00%.
# Upstream datagram acknowledgment quality for server "router.eu.thethings.network" is 0.00%.
# Downstream heart beat acknowledgment quality for server "52.18.106.103" is 0.00%.
# Downstream heart beat acknowledgment quality for server "router.eu.thethings.network" is 0.00%.
# Downstream datagram content quality for server "52.18.106.103" is 0.00%.
# Downstream datagram content quality for server "router.eu.thethings.network" is 0.00%.
# Downstream radio transmission quality for server "52.18.106.103" is 0.00%.
# Downstream radio transmission quality for server "router.eu.thethings.network" is 0.00%.
# Semtech status report send.
##### END #####

```

This gateway has a static IP address and has recently been registered.  
The status remains “not connected”, and although it seems that data is forwarded, it is not visible at the TTN Console.  
The gateway is visible on [http://noc.thethingsnetwork.org](http://noc.thethingsnetwork.org): and I can ping to 8.8.8.8 (google) but tracroute gives:

root@lorank8:~# traceroute [www.google.com](http://www.google.com)  
[www.google.com](http://www.google.com): Name or service not known

I created a dns-nameservers 8.8.8.8 8.8.4.4 entry in /etc/network/interfaces but that had no effect

Is this a DNS issue? Does anyone have an idea how I can solve this?

Kind regard,  
Marco

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [August 23, 2018, 7:01pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138/2 "2018-08-23T19:01:55Z")

</div>

Hi Marco… pls **[format](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post/8735)** 😉

---

<div class="post-metadata">

**Author:** ![IoT\_Marco](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/iot_marco/32/45432_2.png) [@IoT\_Marco](https://www.thethingsnetwork.org/forum/u/IoT_Marco)\
**Post date:** [August 23, 2018, 8:19pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138/3 "2018-08-23T20:19:35Z")

</div>

Sure, that’s looks better 😉

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [August 23, 2018, 9:23pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138/4 "2018-08-23T21:23:08Z")

</div>

tnx Marco !

---

<div class="post-metadata">

**Author:** ![IoT\_Marco](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/iot_marco/32/45432_2.png) [@IoT\_Marco](https://www.thethingsnetwork.org/forum/u/IoT_Marco)\
**Post date:** [August 31, 2018, 8:54pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138/5 "2018-08-31T20:54:28Z")

</div>

Done!

root @ lorank8: ~ / lorank8v1 # host router.eu.thethings.network  
Host router.eu.thethings.network not found: 2 (SERVFAIL)

It appears to be a DNS issue; this gateway has a static ip and for this version I had to do some adjustments

[BeagleBoard.org](http://BeagleBoard.org) Debian Image 2016-05-13  
Linux lorank8 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux

/etc/resolv.conf has 2 entries:  
Generated by Connection Manager  
nameserver 127.0.0.1  
name server :: 1

Adding an entry nameserver 8.8.8.8 (google dns) has no effect because after a reboot this has been removed from the resolv.conf (symlink with avahi deamon). I could not remove this symlink.

Adding an entry nameserver 8.8.8.8 in / etc / network / interfaces also had no effect.

Solution is to remove Connman:  
Apt remove connman

I made a backup from resolv.conf  
cp /etc/resolv.conf /etc/resolv.conf\_backup  
resolv.conf removed:  
rm /etc/resolv.conf  
cp /etc/resolv.conf\_backup /etc/resolv.conf (symlink has been removed)  
Add name servers in resolv.conf (eg.nameserver 8.8.8.8 and nameserver 8.8.8.4)

reboot (ifdown eth0 gives problems if executed via ssh ;-))

root @ lorank8: ~ / lorank8v1 # host router.eu.thethings.network  
router.eu.thethings.network is an alias for bridge.eu.thethings.network.  
bridge.eu.thethings.network has address 52.169.76.203

That took me many hours, but I learned a lot again … and the status on the TTN Console is: “connected”

---

<div class="post-metadata">

**Author:** ![IoT\_Marco](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/iot_marco/32/45432_2.png) [@IoT\_Marco](https://www.thethingsnetwork.org/forum/u/IoT_Marco)\
**Post date:** [August 31, 2019, 12:52pm UTC](https://www.thethingsnetwork.org/forum/t/gateway-status-not-connected-no-data-visible/17138/6 "2019-08-31T12:52:45Z")

</div>

…and a more elegant way to set a static IP on the Beagle Bone Black/Green, without removing the ConnMan Network Manager:😉

```
1. Connect working Ethernet cable on LAN port

2. Get ConnMan service name

~$ connmanctl services

*AO Wired ethernet_6ceceb5cc3e2_cable

* if you can't see "ethernet_xxx_cable", please check step 1.

3. Set static IP through ConnMan

* usage:

sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> --nameservers <dns_server>

~$ sudo connmanctl config ethernet_6ceceb5cc3e2_cable --ipv4 manual 10.0.10.0 255.255.0.0

4. Check eth0 configurations

~$ ifconfig eth0

~$ ip addr show dev eth0

End

***TIP*** You can back to dhcp IP with below command.

~$ sudo connmanctl config ethernet_6ceceb5cc3e2_cable --ipv4 dhcp

```

> **[leesy24/BBB\_Web\_Manager](https://github.com/leesy24/BBB_Web_Manager/wiki/%255BBBB%255D-Set-static-IP-address-on-eth0)**
>
> Web Manager on BBB. Contribute to leesy24/BBB\_Web\_Manager development by creating an account on GitHub.
