TTN GATEWAY central 3

Does The Things Gateway implement the full US sub-band 2? (channels 8-15 + 65?)

I am trying to figure out why my gateway only appears to receive even frame upload packets from a OneThinx module and OneThinx thought the gateway might not implement channel 65. (I looked at the source from the last time I built the gateway firmware (1.0.5) and it looks like it implements 8+1 channels (8-15 & 65):

       SYS_DEBUG(SYS_ERROR_WARNING, "LORA: use default US config\r\n");
        status = status && configureRXChain(0, 1, 904200000);
        status = status && configureRXChain(1, 1, 905000000);
        status = status && configureIFChainX(0, 1, 0, -300000);
        status = status && configureIFChainX(1, 1, 0, -100000);
        status = status && configureIFChainX(2, 1, 0, 100000);
        status = status && configureIFChainX(3, 1, 0, 300000);
        status = status && configureIFChainX(4, 1, 1, -300000);
        status = status && configureIFChainX(5, 1, 1, -100000);
        status = status && configureIFChainX(6, 1, 1, 100000);
        status = status && configureIFChainX(7, 1, 1, 300000);
        status = status && configureIFChain8(1, 0, 400000, 500000, 8);
        status = status && configureIFChain9(0, 0, 0, 0, 0);

(Hoping someone can save me from having to go through the pain of building a debug image of the 1.0.7 firmware so I can poke around. :wink: )

Thanks, Scott.

I also got the 915 The Things Network Gateway and was looking for any work around to get that Gateway working with US ranges (but in India) just for the test purpose.
Please note: I do not want to connect any India specific LoRa devices to this Gateway. I already have 1 US based LoRa device which I can connect to this Gateway for my test.

By looking at other posts related to the Gateway setup and the India specific bands. I don’t think whatever I am trying is possible but still I am looking for some workaround to get 915 TTN activated and solve my test purpose.

Thanks in advance.

you probably need a hardware modification … if you really need to test another frequency band, best to import a gateway for that specific band imho.

Is there someone still experiencing reconnect issues? I want my gateway connected via WiFi and I was able to make some improvements in the firmware so I went from this:
Screenshot%20from%202019-10-01%2016-07-31
to this:
Screenshot%20from%202019-10-01%2016-06-45

Here is my current branch:

I can also provide firmware images if someone is interrested.
There are still some minor issues but it is at least acceptable now.

I’ve also created a esp8266 firmware which captures logs on TTNGW and sends them to my syslog so I have all logs stored on my server like this:
Sep 29 06:50:55 192.168.0.122 MON: heap usage: 280KB (284KB), free: 58KB
Sep 29 06:50:59 192.168.0.122 MQTT: Sending status packet
Sep 29 06:51:01 192.168.0.122 MQTT: Sending status failed
Sep 29 06:51:01 192.168.0.122 MAIN: MQTT error
Sep 29 06:51:01 192.168.0.122 MAIN: Leaving state 5
Sep 29 06:51:04 192.168.0.122 MAIN: Entering state 6
Sep 29 06:51:04 192.168.0.122 INET: State change to 0
Sep 29 06:51:04 192.168.0.122 INET: Gateway has WiFi
Sep 29 06:51:04 192.168.0.122 INET: State change to 2
Sep 29 06:51:04 192.168.0.122 INET: Connected to a network, waiting for DHCP lease, checking validity with ping
Sep 29 06:51:05 192.168.0.122 INET: State change to 3
Sep 29 06:51:05 192.168.0.122 INET: Ping probe
Sep 29 06:51:05 192.168.0.122 INET: Error sending probe on Eth
Sep 29 06:51:05 192.168.0.122 INET: Ping response from MRF24WN, set as default
Sep 29 06:51:05 192.168.0.122 INET: State change to 5
Sep 29 06:51:05 192.168.0.122 MAIN: Leaving state 6
Sep 29 06:51:05 192.168.0.122 MAIN: Entering state 5
Sep 29 06:51:05 192.168.0.122 MQTT: GOT IP: 52.169.76.203
Sep 29 06:51:05 192.168.0.122 MQTT: !NET_PRES_SocketIsConnected
Sep 29 06:51:05 192.168.0.122 MQTT: !NET_PRES_SocketIsConnected
Sep 29 06:51:05 192.168.0.122 MQTT: message repeated 23 times: [ !NET_PRES_SocketIsConnected]
Sep 29 06:51:05 192.168.0.122 MON: SYS Stack size: 2833
Sep 29 06:51:05 192.168.0.122 MON: TCPIP Stack size: 3581
Sep 29 06:51:05 192.168.0.122 MON: APP Stack size: 2213
Sep 29 06:51:05 192.168.0.122 MON: LoRa Stack size: 3877
Sep 29 06:51:05 192.168.0.122 MON: heap usage: 191KB (284KB), free: 148KB
Sep 29 06:51:05 192.168.0.122 MQTT: !NET_PRES_SocketIsConnected
Sep 29 06:51:05 192.168.0.122 MQTT: message repeated 7 times: [ !NET_PRES_SocketIsConnected]
Sep 29 06:51:05 192.168.0.122 MQTT: NET_PRES_SocketWasReset
Sep 29 06:51:05 192.168.0.122 MQTT: Connection Opened: Starting TLS Negotiation
Sep 29 06:51:05 192.168.0.122 MQTT: Wait for SSL Connect
Sep 29 06:51:06 192.168.0.122 MQTT: TLS ready: Connect MQTT
Sep 29 06:51:06 192.168.0.122 RQLORA: Kick LoRa module with ACK after not acked it for 60s
Sep 29 06:51:06 192.168.0.122 MQTT: Connected
Sep 29 06:51:06 192.168.0.122 *************************
Sep 29 06:51:06 192.168.0.122 MAIN: Gateway bridging
Sep 29 06:51:06 192.168.0.122 *************************
Sep 29 06:51:15 192.168.0.122 MON: SYS Stack size: 2833
Sep 29 06:51:15 192.168.0.122 MON: TCPIP Stack size: 3581
Sep 29 06:51:15 192.168.0.122 MON: APP Stack size: 2213
Sep 29 06:51:15 192.168.0.122 MON: LoRa Stack size: 3877
Sep 29 06:51:15 192.168.0.122 MON: heap usage: 280KB (284KB), free: 58KB
Sep 29 06:51:25 192.168.0.122 MON: SYS Stack size: 2833
Sep 29 06:51:25 192.168.0.122 MON: TCPIP Stack size: 3581
Sep 29 06:51:25 192.168.0.122 MON: APP Stack size: 2213
Sep 29 06:51:25 192.168.0.122 MON: LoRa Stack size: 3877
Sep 29 06:51:25 192.168.0.122 MON: heap usage: 280KB (284KB), free: 58KB
Sep 29 06:51:28 192.168.0.122 MQTT: Sending status packet
Sep 29 06:51:28 192.168.0.122 MQTT: Report config error: 0600000020
Sep 29 06:51:29 192.168.0.122 MQTT: Sending status succeeded: 1176

4 Likes

Hi, Great work! It is the first serious attempt outside TTI and Tweetonig I know to improve this firmware. Thank you. As I cannot compile myself I am happy to test and share my experience.

1 Like

Ok guys, here is the latest compiled version for you to try:
https://s.danman.eu/ttngw/

Upgrade the usual way: FAT formated SD card with folder “update” and these files in.

3 Likes

Keep you posted about the results

Today I found time to start the test. I have copied the new firmware to the uSD card and booted the gateway.

  1. Without changing configuration (ethernet connected) the gateway came up after powering and started working with the uSD card installed.
  2. Than I reset the gateway (pressing the reset button 3 seconds to erase wifi settings).
  3. Disconnect ethernet and connect to WiFi accesspoint of gateway.
  4. Reconfigured the gateway using the activation page to use wifi and provided the credentials for the local access point.
  5. gateway restarts, connects to Wifi and works fine.

now we wait and see.

As can be seen I use V2 bootloader.

afbeelding

1 Like

Hi @danmaneu Here are the first results over last night. In my case it is not promising other than that it seems that connection is recovered faster with this firmware.

I have information from to types of logging:

  1. Logging by mij gateway monitoring script that queries in a 10 minute interval to see if a gateways has not been responsive for a minute.
  2. DHCP requests as recorded by my router. I assume that a DHCP request is the result of an newly initiated WiFi connection.

gateway logging
Where my gateway never goes doew when it is connected over ethernet, tonight is was idietified by the script multiple times:

11:10 PM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 9 minutes, 3 seconds ago.
11:20 PM Gateway "ttn_pe1mew_gateway_1" is back in operation since 22:20:00 2019-10-05.
1:50 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 7 minutes, 20 seconds ago.
2:10 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 27 minutes, 20 seconds ago.
2:20 AM Gateway "ttn_pe1mew_gateway_1" is back in operation since 01:20:02 2019-10-06.
4:10 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 4 minutes, 2 seconds ago.
4:30 AM Gateway "ttn_pe1mew_gateway_1" is back in operation since 03:29:09 2019-10-06.
6:00 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 10 minutes, 55 seconds ago.
6:20 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 8 minutes, 10 seconds ago.
6:30 AM Gateway "ttn_pe1mew_gateway_1" is back in operation since 05:28:59 2019-10-06.
7:00 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 6 minutes, 5 seconds ago.
7:10 AM Gateway "ttn_pe1mew_gateway_1" is back in operation since 06:09:56 2019-10-06.
8:10 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 7 minutes, 48 seconds ago.
8:30 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 27 minutes, 48 seconds ago.
9:00 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 57 minutes, 49 seconds ago.
9:30 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 1 hour, 27 minutes, 48 seconds ago.
9:50 AM Gateway "ttn_pe1mew_gateway_1" is back in operation since 08:50:01 2019-10-06.
11:00 AM Gateway "ttn_pe1mew_gateway_1" seems down! Last message was 4 minutes, 44 seconds ago.
11:10 AM Gateway "ttn_pe1mew_gateway_1" is back in operation since 10:10:00 2019-10-06.

router logging
Here is the log of my router:

Oct  5 16:26:41 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 16:26:41 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 16:26:41 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 16:26:41 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 16:26:41 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 16:26:41 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 17:30:28 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 17:30:28 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 17:30:28 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 17:30:28 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 17:33:42 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 17:33:42 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 18:52:29 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 18:52:29 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 18:52:29 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 18:52:29 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 19:25:03 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 19:25:03 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 19:59:17 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 19:59:17 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 20:00:37 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 20:00:37 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 20:00:37 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 20:00:37 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 20:33:25 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 20:33:25 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 20:58:26 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 20:58:26 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 20:59:17 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 20:59:17 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 21:01:14 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 21:01:14 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:16 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:16 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:16 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:16 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
Oct  5 21:01:20 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:20 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:28 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:28 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:28 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:28 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
Oct  5 21:01:50 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:01:50 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 21:12:28 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 21:12:28 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:12:29 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:12:29 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 21:45:52 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:45:52 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 21:51:17 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:51:17 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 21:52:16 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:52:16 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 21:59:55 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 21:59:55 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 22:12:57 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 22:12:57 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 22:46:30 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 22:46:30 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 22:46:30 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 22:46:30 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 23:10:21 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 23:10:21 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:10:21 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:10:21 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 23:13:56 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 23:13:56 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:13:58 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 23:13:58 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:13:58 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:13:58 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 23:29:15 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:29:15 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 23:31:24 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:31:24 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  5 23:33:36 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 23:33:36 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:33:39 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  5 23:33:39 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:33:39 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  5 23:33:39 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 00:16:11 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 00:16:11 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 00:16:11 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 00:16:11 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:10:11 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:10:11 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:13:15 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:13:15 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:18:12 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 02:18:12 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:18:12 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:18:12 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:21:18 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:21:18 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:24:30 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:24:30 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:26:43 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:26:43 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:27:28 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:27:28 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:28:21 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:28:21 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:38:39 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 02:38:39 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:38:39 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:38:39 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:53:23 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:53:23 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 02:57:57 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 02:57:57 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 03:10:32 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 03:10:32 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 03:23:42 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 03:23:42 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 03:27:51 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 03:27:51 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 03:36:11 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 03:36:11 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 03:38:33 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 03:38:33 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 03:47:01 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 03:47:01 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 04:11:19 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 04:11:19 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 04:27:03 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 04:27:03 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 04:30:18 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 04:30:18 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 04:30:18 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 04:30:18 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 05:02:12 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 05:02:12 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 05:20:20 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 05:20:20 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 07:40:58 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 07:40:58 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 07:40:58 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 07:40:58 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 08:35:41 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:35:41 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
Oct  6 08:35:43 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:35:43 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:35:47 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:35:47 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
-
Oct  6 08:36:13 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:36:13 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:36:44 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:36:44 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:36:44 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:36:44 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 08:38:49 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 08:38:49 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:38:49 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:38:49 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 08:40:59 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 08:40:59 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
-
Oct  6 08:41:02 dnsmasq-dhcp[239]: DHCPDISCOVER(br0) 00:1e:c0:3b:37:40 
Oct  6 08:41:02 dnsmasq-dhcp[239]: DHCPOFFER(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:41:02 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:41:02 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
Oct  6 08:41:27 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:41:27 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 08:49:38 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 08:49:38 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 09:01:27 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 09:01:27 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
-
Oct  6 09:02:21 dnsmasq-dhcp[239]: DHCPREQUEST(br0) 192.168.20.152 00:1e:c0:3b:37:40 
Oct  6 09:02:21 dnsmasq-dhcp[239]: DHCPACK(br0) 192.168.20.152 00:1e:c0:3b:37:40 THINGS-GATEWAY
Oct  6 09:03:01 crond[242]: crond: USER admin pid 15999 cmd service start_vpnserver2

My question is: what to do next? Can I connect a more sofisticated logger to the gateway? let me know how I can help you.

Cu, Remko.

A post was merged into an existing topic: The BIG and SMALL ANTENNA topic part 2

My TT GW was working great, all 4 LED’s on and steady.

I was watching the GW traffic on my laptop, and when I pulled the same page up on my mobile, the packets stopped coming through and the GW’s LED status looks like:
1: On, steady
2: Blinking slowly
3: On, steady
4: Off

Does anyone know why the GW might be ‘crashing’ like this, and what this arrangement of LEDs means?

Cheers

Reset Button

  • Pressing the button shortly while powered on restarts the gateway.
  • Holding the button for 2 seconds while powered on it erased the WiFi settings.
  • Holding the button for 5 seconds while powered on it erases the WiFi settings and activation settings.
  • Holding the button while powering on it will erase the full serial flash

LED Indication


LED State Reason Cause User Action
1 - Power Off No software is running No power; Incorrect firmware loaded. Make sure the device is powered and the correct firmware is loaded.
  On Software is loaded    
  Slow Software update in progress   Wait
2 - Internet Fast No Ethernet or
WiFi connection.
Only possible way
to connect is via
the Gateway’s
AP.
No Ethernet link and WiFi connection failed Connect to TTN gateway - AP
  Slow Checking for internet    
  On Has internet    
3 - Configuration Fast Bad configuration No ID Need to configure a gateway ID on the device
  Already activated Need to configure valid key on the device
  Invalid key Need to configure valid keey on the device
  No router Need to configure router in the TTN console
  Invalid URL Correct URL in the TTN console
  Slow Activating    
  On Activation successful    
4 - Connection Slow Connecting   MQTT
  On Connected   MQTT
5 - Activity Single Uplink/Downlink    

How many channels does TTN gateway have? I’ve searched everything and I cant find anything.

All the other types do specify the number of channels, except for this one??

8 as normal for a fully compliant LoRaWAN gw - it uses the SX1301

1 Like

so what is the difference in performance between TTN gateway and TTN indoor?

i want to support the network by adding a gateway on my attic.

Always good to see people adding GW’s :slight_smile:

Many of the questions you ask or likely may ask are well taken care of both on the Forum, The TTN/TTI pages and on the net (GIYF!), please use appropriate search and by all means check back on the forum and ask for anything less obvious and I’m sure community members & forumites will step in to assist where needed.

Suggest you start to look at TTN Doc’s, Labs and Market place e.g. https://www.thethingsnetwork.org/marketplace/products/devices

TTGW is available through Farnell (or your local Geography equivalent), The TTIG throough RS Components (or you local geography equivalent within the Electrocompnents group)

Happy searching and good luck with your deployment…come back and tell us all when your are ‘live’! :slight_smile:

1 Like

Hello community,
I’m trying to get my TTN gateway to communicate with the Semtech Network Server in order to use the LoRa Cloud™ Device & Application Services, but I couldn’t understand how to do it and if it is actually possible.
By reading this documentation, it seems that the Semtech Network Server supports gateways either running an operating system with the LoRa Basics™ Station software or the Semtech UDP Packet Forwarder.
Can anyone help me understanding if this is doable and how to properly configure this gateway for this purpose?
Thanks in advance

Sorry, we only do TTN based stuff here, regardless of whether the hardware was from TTI.

I see, I’m sorry about this.
Can you please help me in understanding if this gateway is either compatible with LoRa Basics™ Station software or the Semtech UDP Packet Forwarder?
my apologies if I’m missing something or I’m using the wrong nomenclature.
Thanks

Hi, I have TTN-gw-868, I had it connected to the ttn few years ago, I wanted to connect it again, unfortunately all the instructions seem to be out of date. how to do it, do I need to update something, where can I find some materials?