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.
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.
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.
- Without changing configuration (ethernet connected) the gateway came up after powering and started working with the uSD card installed.
- Than I reset the gateway (pressing the reset button 3 seconds to erase wifi settings).
- Disconnect ethernet and connect to WiFi accesspoint of gateway.
- Reconfigured the gateway using the activation page to use wifi and provided the credentials for the local access point.
- gateway restarts, connects to Wifi and works fine.
now we wait and see.
As can be seen I use V2 bootloader.
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.
Cu, Remko.
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
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
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’!
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?
And did you see the big pink banner at the top of the V2 docs page with link to V3 docs?! Either way please follow this
https://www.thethingsindustries.com/docs/gateways/models/thethingskickstartergateway/
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
Sorry, I didn’t see
Now I updated the firmware from 1.0.7 to 1.0.9.
Connect to my wifi but I can’t write ID, this field is disabled
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?
I believe that once you update via the card the card has to stay in as it is then booting from and using that IIRC. Again IIRC I think there was a post a year or two back that suggested that though ‘requirement’ is for 1.0.8 or above it was suggested that 1.0.7 ‘should’ still work, and indeed if if did then when system checks for updates it woudl migrate to 1.0.8, 1.0.9 or whatever was then current, using internal memory vs card. Might be worth simply trying to install and run as registered with 1.0.7, leaving the check for and permit software updates option checked and see if over time (probably quite quickly) it then takes the updates… One issue with uSD cards is life expectancy and any issues around lack of graceful power downs (as happens with RPi’s) so good to try and avoid if poss but if its the only way then I guess you need to stick with the card…