# FAQ - Kerlink Gateway

**URL:** <https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28>\
**Category:** Kerlink Gateways\
**Created:** [September 8, 2015, 10:51am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28 "2015-09-08T10:51:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fokko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/fokko/32/12420_2.png) [@fokko](https://www.thethingsnetwork.org/forum/u/fokko)\
**Post date:** [September 8, 2015, 10:51am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/1 "2015-09-08T10:51:50Z")

</div>

#Kerlink

### I have a Kerlink Gateway, how do I tune in with The Things Network?

For instructions read our [getting started](http://thethingsnetwork.org/wiki/GettingStarted) manual on our wiki.

###Starting the package forwarder: ERROR: [main] failed to start the concentrator  
There are multiple software versions but every now en then following error occurs:

```
ERROR: [main] failed to start the concentrator

```

Sometimes it throws out this error. Please try starting the software a couple of times.

###Something went wrong, the Kerlink is not accessible via SSH anymore.  
Physical acces to the gateway is necessary.

- If you have the WIRGRID debug-tool you still have acces. Try to solve  
the problem. No succes? Enter the following commands for factory  
reset.  
`fw_setenv bootfail 100 reboot`

- If you don’t have the WIRGRID debug-tool you can force the Kerlink into Factory Reset mode.

1. Power on the system
2. Press and release the reset buton
3. Wait between 4 and 10 seconds.
4. Repeat point 2. and 3. 22 times!

### How do I connect the WIRGRID debug tool?

Windows:

> Open a serial terminal on PC (typically HyperTerminal application on Windows). Parameters:  
> `baudrate : 115200 data length : 8 parity : none stop bit : 1 flow control : none`

Linux & Mac:

> Open terminal and enter the command:  
> `screen /dev/tty.usb **** 115200`

###I don’t want the gateway to connect in my local network. Are there other possibilities?  
Yes! The Kerlink gateway has a build-in GPRS/3G modem. It uses a normal size simcard and is located at the top-right of the inner case. Please read [these instructions](http://thethingsnetwork.org/wiki/Software/gateways/kerlink/mobile-connection) for configuration.

###I have configured my Kerlink Gateway to use a mobile connection. But it doesn’t connect to the internet.  
Check your APN settings with your provider. Some providers ask you to leave the username and password fields blank, the gateway cannot cope with that. Kerlink send us a patch for this bug. More info [here](http://thethingsnetwork.org/wiki/Software/gateways/kerlink/mobile-connection). Still no luck: ask @Fokko and don’t hesitate to contact Kerlink.

###I followed all the instructions and my gateway is ready-to-go, where can I find the data its receiving?  
There now is a [Rest API](http://thethingsnetwork.org/wiki/Software/Overview#api) to show receive date of the gateways.

There is a temporary webinterface where all the packages should end up:  
[http://croft.thethings.girovito.nl:8083/](http://croft.thethings.girovito.nl:8083/)  
gateway status messages: “select \* from gateway\_status where time \> now() - 5m”  
packages: “select \* from rx\_packets where time \> now() - 1h”

✌

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [September 17, 2015, 9:02am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/2 "2015-09-17T09:02:37Z")

</div>

I have a Kerlink gateway operational (EUI: 0000024B080602ED), and it is forwarding packets to TTN (actually duplicating to myself, TTN, and Semtech). The gateway\_status updates show all up in the database, but only a fraction of the received packets shows up in rx\_packets. Any reason for that?

Thomas

---

<div class="post-metadata">

**Author:** ![fokko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/fokko/32/12420_2.png) [@fokko](https://www.thethingsnetwork.org/forum/u/fokko)\
**Post date:** [September 17, 2015, 9:44am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/3 "2015-09-17T09:44:55Z")

</div>

Are you using the poly\_packetforwarder allready?

You can start a packages logger and lookup everything its receiving. The package logger is included with the [test application bundle](http://wikikerlink.fr/lora-station/doku.php?id=wiki:semtech#firmware_v2xtest_applications).

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [September 17, 2015, 9:49am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/4 "2015-09-17T09:49:26Z")

</div>

No, just duplicating the UDP on an intermediate machine. The other receivers seem to be fine with it, and are processing all the packets. It’s just that on the TTN server only very few packets are logged.

---

<div class="post-metadata">

**Author:** ![turiphro](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/turiphro/32/44103_2.png) [@turiphro](https://www.thethingsnetwork.org/forum/u/turiphro)\
**Post date:** [September 17, 2015, 10:15am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/5 "2015-09-17T10:15:25Z")

</div>

@johan can you help debugging?

---

<div class="post-metadata">

**Author:** ![devlaam](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/devlaam/32/18_2.png) [@devlaam](https://www.thethingsnetwork.org/forum/u/devlaam)\
**Post date:** [September 17, 2015, 11:12am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/6 "2015-09-17T11:12:23Z")

</div>

This is not how it should be, can you post the query you are using here?

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [September 17, 2015, 11:44am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/7 "2015-09-17T11:44:18Z")

</div>

select \* from rx\_packets where gateway\_eui=‘0000024B080602ED’

The server is acknowledging them, but they don’t show up in the database (except a few).

---

<div class="post-metadata">

**Author:** ![fokko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/fokko/32/12420_2.png) [@fokko](https://www.thethingsnetwork.org/forum/u/fokko)\
**Post date:** [September 24, 2015, 12:20pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/8 "2015-09-24T12:20:12Z")

</div>

Add info about error:

```
ERROR: [main] failed to start the concentrator

```

There now is a [Rest API](http://thethingsnetwork.org/wiki/Software/Overview#api) to show receive date of the gateways.

---

<div class="post-metadata">

**Author:** ![julian](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/julian/32/14871_2.png) [@julian](https://www.thethingsnetwork.org/forum/u/julian)\
**Post date:** [October 2, 2015, 7:03am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/9 "2015-10-02T07:03:52Z")

</div>

I have been talking to Yann Bauduin at Kerlink and he suggests that if we are using a Kerlink LoRaIOT station then we should also purchase a debug probe. Has anyone else need one of these or do people think that it is unnecessary considering the needs of The Things Network?

Cheers

Julian

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [October 2, 2015, 7:18am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/10 "2015-10-02T07:18:22Z")

</div>

Hi Julian,

I have been running one for a while without the probe, and did not have a need for it (yet!).

But it might be convenient just to have once, in case.

Expensive?

cheers,  
Thomas

---

<div class="post-metadata">

**Author:** ![julian](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/julian/32/14871_2.png) [@julian](https://www.thethingsnetwork.org/forum/u/julian)\
**Post date:** [October 2, 2015, 7:25am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/11 "2015-10-02T07:25:45Z")

</div>

They are €214 then there is shipping on top of that. So not too expensive.  
Do you or has anyone else been talking to Kerlink. The price for the gateway I have been offered is €1,200. I get a sense that LoRa is something they aren’t really committed to as the tech is a little old and it is the only LoRa solution in their product range. This might just me putting 2 + 2 = 9 together.

J

---

<div class="post-metadata">

**Author:** ![fokko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/fokko/32/12420_2.png) [@fokko](https://www.thethingsnetwork.org/forum/u/fokko)\
**Post date:** [October 2, 2015, 1:32pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/12 "2015-10-02T13:32:02Z")

</div>

We @amsterdam have one. Only used it when we locked ourselves out by breaking the ssh server. Real handy for hard resetting the system, but not really necessary. It’s just a serial terminal.

---

<div class="post-metadata">

**Author:** ![julian](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/julian/32/14871_2.png) [@julian](https://www.thethingsnetwork.org/forum/u/julian)\
**Post date:** [October 2, 2015, 2:20pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/13 "2015-10-02T14:20:13Z")

</div>

How many Kerlink gateways are there in the Amsterdam network? I know they have one at Waag

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [October 2, 2015, 2:38pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/14 "2015-10-02T14:38:44Z")

</div>

An expensive serial cable though.

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [October 2, 2015, 2:39pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/15 "2015-10-02T14:39:18Z")

</div>

Hi Julian,

See [http://www.ttnstatus.org/](http://www.ttnstatus.org/)

---

<div class="post-metadata">

**Author:** ![julian](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/julian/32/14871_2.png) [@julian](https://www.thethingsnetwork.org/forum/u/julian)\
**Post date:** [November 6, 2015, 9:21am UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/16 "2015-11-06T09:21:08Z")

</div>

Not sure if there is another thread on this. Do you know if it is possible to change the port configuration in dropbear? Tried do it with vi last night but couldn’t seem to change it. We need to get around a blocked ssh problem

---

<div class="post-metadata">

**Author:** ![fokko](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/fokko/32/12420_2.png) [@fokko](https://www.thethingsnetwork.org/forum/u/fokko)\
**Post date:** [November 6, 2015, 12:41pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/17 "2015-11-06T12:41:59Z")

</div>

So you edited the dropbear config file and it didn’t work?

---

<div class="post-metadata">

**Author:** ![lplas](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/l/50afbb/32.png) [@lplas](https://www.thethingsnetwork.org/forum/u/lplas)\
**Post date:** [November 6, 2015, 1:25pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/18 "2015-11-06T13:25:11Z")

</div>

I have just bougth a Kerlink to setup in Rotterdam. I was wondering if anybody already used the 3G option and if there is any indication how much data is needed to let this Gateway run for a month. Off course it depends on sensors in the feeld, but I was wondering how much data is used beside sensor data.

---

<div class="post-metadata">

**Author:** ![julian](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/julian/32/14871_2.png) [@julian](https://www.thethingsnetwork.org/forum/u/julian)\
**Post date:** [November 6, 2015, 4:15pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/19 "2015-11-06T16:15:41Z")

</div>

Yes. We tried to change the port from 22 as the network that its on would of left the gateway vulnerable

---

<div class="post-metadata">

**Author:** ![davemee](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/davemee/32/16716_2.png) [@davemee](https://www.thethingsnetwork.org/forum/u/davemee)\
**Post date:** [November 6, 2015, 5:03pm UTC](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28/20 "2015-11-06T17:03:58Z")

</div>

And just to build on this - there was a good reason to. If you’re hosting one of these behind a domestic network connection (in the UK, at least), there’s a very high likelihood that you’re using a modem that will let you port forward, and port trigger, but _not_ at the same time. We decided the best workaround was to set dropbear to listen on a non-standard port, so we can implement straight port forwarding _only_ on the modem side (there’s also a slightly reduced chance of script kiddies and Shodan showing up).

We saw in /etc/init.d/dropbear that it starts up dropbear as a daemon, but adding the -p XXXX flag to specify a port number was just ignored. A little duckduckgoing suggested dropbear can listen on alternative (and multiple) ports, but couldn’t find a huge amount of relevant information. Quite possibly, I’m doing something stupid and am just not familiar enough with the distribution running on the Kerlink box, but I suspect that this is something that will come up again, hence the query here!

[Next page](https://www.thethingsnetwork.org/forum/t/faq-kerlink-gateway/28.md?page=2)
