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:
to this:
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
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.
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:
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.
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.
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?
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.
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’!
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
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?
Note for the TGW/TKGW you dont need an EUI as device self identifies to the TTS back end undee V3
Add/register GW link (note depending on where in the world your console view may change) - this is the eu1.cloud… probably right given 868Mhz version? you may need e.g. nam1.cloud… as1.cloud… or what ever
Ok, I reset the settings and it works. Only one thing bothers me, after inserting a memory card with new software as in the description gateway/firmware at develop · TheThingsProducts/gateway · GitHub, I get info of version 1.0.9 on the UART console when I remove the card after a reset, I have 1.0.7 again on the console, how does it work?