Connection fails after a while, maybe a DNS issue

The config here appears to be completely default. This means that it isn't going to be an OpenWrt issue, per se.

If you're having DNS issues, check to make sure it is happening on all connected devices (and not just one), and also check the router by running ping tests within an ssh session.

You can also try using a public DNS (like Google, Cloudflare, etc.) to ensure that the ISP issued DNS can't affect your ability to resolve domains.

I tried already some DNS troubleshooting earlier but it seemed not to be the problem. I normally just connect the ETH-cable directly from the wall to my computer and there are no issues. However, if I put the OpenWRT box between, this issue happens. So I think its an OpenWRT issue?

When you plug your OpenWrt wan into the wall jack, what are the first two octets (in bold: aaa.bbb.ccc.ddd) of the IP address you get from the following command:

ifstatus wan | grep address

The octets are: 82.130

That is a public IP address, so that's good. I wanted to know if the upstream was using a subnet that was overlapping with your lan, but that's not the issue.

How about the results of a ping test directly on your router (please copy/paste the output):

BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.3, r23809-234f1a2efa
 -----------------------------------------------------
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=56 time=12.114 ms
64 bytes from 8.8.8.8: seq=1 ttl=56 time=11.930 ms
64 bytes from 8.8.8.8: seq=2 ttl=56 time=12.083 ms
64 bytes from 8.8.8.8: seq=3 ttl=56 time=12.013 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 11.930/12.035/12.114 ms
root@OpenWrt:~# ping 64.226.122.113
PING 64.226.122.113 (64.226.122.113): 56 data bytes
64 bytes from 64.226.122.113: seq=0 ttl=53 time=409.043 ms
64 bytes from 64.226.122.113: seq=1 ttl=53 time=32.926 ms
64 bytes from 64.226.122.113: seq=2 ttl=53 time=33.087 ms
64 bytes from 64.226.122.113: seq=3 ttl=53 time=33.047 ms
64 bytes from 64.226.122.113: seq=4 ttl=53 time=32.918 ms
^C
--- 64.226.122.113 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 32.918/108.204/409.043 ms
root@OpenWrt:~# ping OpenWrt.org
PING OpenWrt.org (2a03:b0c0:3:d0::1a51:c001): 56 data bytes
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=0 ttl=53 time=33.738 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=1 ttl=53 time=33.711 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=2 ttl=53 time=33.350 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=3 ttl=53 time=33.339 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=4 ttl=53 time=33.355 ms
64 bytes from 2a03:b0c0:3:d0::1a51:c001: seq=5 ttl=53 time=34.058 ms
^C
--- OpenWrt.org ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 33.339/33.591/34.058 ms
root@OpenWrt:~#

When the issue happens, ping gives "bad address" error

This looks completely normal. If/when you next experience the issue, please run that same ping test again.

Those pings when the issue is happening:

root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
16 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~# ping 64.226.122.113
PING 64.226.122.113 (64.226.122.113): 56 data bytes
^C
--- 64.226.122.113 ping statistics ---
20 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~# ping OpenWrt.org
ping: bad address 'OpenWrt.org'
root@OpenWrt:~# exit

So it looks like complete loss of connectivity, not DNS.

what is the output of:

logread -e udhcpc

(be sure to redact the public IP address)

Here:

root@OpenWrt:~# logread -e udhcpc
Sat Jul  6 21:21:23 2024 daemon.notice netifd: wan (5529): udhcpc: received SIGTERM
Sat Jul  6 21:21:23 2024 daemon.notice netifd: wan (5529): udhcpc: unicasting a release of xxxx to xxxx
Sat Jul  6 21:21:23 2024 daemon.notice netifd: wan (5529): udhcpc: sending release
Sat Jul  6 21:21:23 2024 daemon.notice netifd: wan (5529): udhcpc: entering released state
Sat Jul  6 21:21:26 2024 daemon.notice netifd: wan (5880): udhcpc: started, v1.36.1
Sat Jul  6 21:21:26 2024 daemon.notice netifd: wan (5880): udhcpc: broadcasting discover
Sat Jul  6 21:21:29 2024 daemon.notice netifd: wan (5880): udhcpc: broadcasting discover
Sat Jul  6 21:21:30 2024 daemon.notice netifd: wan (5880): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 21:21:30 2024 daemon.notice netifd: wan (5880): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 21:26:31 2024 daemon.notice netifd: wan (5880): udhcpc: received SIGTERM
Sat Jul  6 21:26:31 2024 daemon.notice netifd: wan (5880): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 21:26:31 2024 daemon.notice netifd: wan (5880): udhcpc: sending release
Sat Jul  6 21:26:31 2024 daemon.notice netifd: wan (5880): udhcpc: entering released state
Sat Jul  6 21:26:35 2024 daemon.notice netifd: wan (6215): udhcpc: started, v1.36.1
Sat Jul  6 21:26:35 2024 daemon.notice netifd: wan (6215): udhcpc: broadcasting discover
Sat Jul  6 21:26:38 2024 daemon.notice netifd: wan (6215): udhcpc: broadcasting discover
Sat Jul  6 21:26:38 2024 daemon.notice netifd: wan (6215): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 21:26:38 2024 daemon.notice netifd: wan (6215): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: received SIGTERM
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: sending release
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: entering released state
Sat Jul  6 21:26:59 2024 daemon.notice netifd: wan (6634): udhcpc: started, v1.36.1
Sat Jul  6 21:26:59 2024 daemon.notice netifd: wan (6634): udhcpc: broadcasting discover
Sat Jul  6 21:27:02 2024 daemon.notice netifd: wan (6634): udhcpc: broadcasting discover
Sat Jul  6 21:27:02 2024 daemon.notice netifd: wan (6634): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 21:27:02 2024 daemon.notice netifd: wan (6634): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: received SIGTERM
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: sending release
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: entering released state
Sat Jul  6 21:36:36 2024 daemon.notice netifd: wan (7073): udhcpc: started, v1.36.1
Sat Jul  6 21:36:36 2024 daemon.notice netifd: wan (7073): udhcpc: broadcasting discover
Sat Jul  6 21:36:39 2024 daemon.notice netifd: wan (7073): udhcpc: broadcasting discover
Sat Jul  6 21:36:42 2024 daemon.notice netifd: wan (7073): udhcpc: broadcasting discover
Sat Jul  6 21:36:46 2024 daemon.notice netifd: wan (7073): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 21:36:47 2024 daemon.notice netifd: wan (7073): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: received SIGTERM
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: sending release
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: entering released state
Sat Jul  6 21:50:00 2024 daemon.notice netifd: wan (7557): udhcpc: started, v1.36.1
Sat Jul  6 21:50:00 2024 daemon.notice netifd: wan (7557): udhcpc: broadcasting discover
Sat Jul  6 21:50:03 2024 daemon.notice netifd: wan (7557): udhcpc: broadcasting discover
Sat Jul  6 21:50:06 2024 daemon.notice netifd: wan (7557): udhcpc: broadcasting discover
Sat Jul  6 21:50:06 2024 daemon.notice netifd: wan (7557): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 21:50:07 2024 daemon.notice netifd: wan (7557): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: received SIGTERM
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: sending release
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: entering released state
Sat Jul  6 21:58:09 2024 daemon.notice netifd: wan (7986): udhcpc: started, v1.36.1
Sat Jul  6 21:58:09 2024 daemon.notice netifd: wan (7986): udhcpc: broadcasting discover
Sat Jul  6 21:58:12 2024 daemon.notice netifd: wan (7986): udhcpc: broadcasting discover
Sat Jul  6 21:58:13 2024 daemon.notice netifd: wan (7986): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 21:58:13 2024 daemon.notice netifd: wan (7986): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: received SIGTERM
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: sending release
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: entering released state
Sat Jul  6 22:01:00 2024 daemon.notice netifd: wan (8334): udhcpc: started, v1.36.1
Sat Jul  6 22:01:00 2024 daemon.notice netifd: wan (8334): udhcpc: broadcasting discover
Sat Jul  6 22:01:03 2024 daemon.notice netifd: wan (8334): udhcpc: broadcasting discover
Sat Jul  6 22:01:06 2024 daemon.notice netifd: wan (8334): udhcpc: broadcasting discover
Sat Jul  6 22:01:10 2024 daemon.notice netifd: wan (8334): udhcpc: broadcasting select for yyyy, server zzzz
Sat Jul  6 22:01:10 2024 daemon.notice netifd: wan (8334): udhcpc: lease of yyyy obtained from zzzz, lease time 86400
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: received SIGTERM
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: unicasting a release of yyyy to zzzz
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: sending release
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: entering released state
Sat Jul  6 22:04:55 2024 daemon.notice netifd: wan (8742): udhcpc: started, v1.36.1
Sat Jul  6 22:04:55 2024 daemon.notice netifd: wan (8742): udhcpc: broadcasting discover
Sat Jul  6 22:04:56 2024 daemon.notice netifd: wan (8742): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 22:04:57 2024 daemon.notice netifd: wan (8742): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: received SIGTERM
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: sending release
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: entering released state
Sat Jul  6 22:20:43 2024 daemon.notice netifd: wan (9209): udhcpc: started, v1.36.1
Sat Jul  6 22:20:43 2024 daemon.notice netifd: wan (9209): udhcpc: broadcasting discover
Sat Jul  6 22:20:46 2024 daemon.notice netifd: wan (9209): udhcpc: broadcasting discover
Sat Jul  6 22:20:47 2024 daemon.notice netifd: wan (9209): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 22:20:47 2024 daemon.notice netifd: wan (9209): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: received SIGTERM
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: sending release
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: entering released state
Sat Jul  6 22:42:31 2024 daemon.notice netifd: wan (9544): udhcpc: started, v1.36.1
Sat Jul  6 22:42:31 2024 daemon.notice netifd: wan (9544): udhcpc: broadcasting discover
Sat Jul  6 22:42:34 2024 daemon.notice netifd: wan (9544): udhcpc: broadcasting discover
Sat Jul  6 22:42:35 2024 daemon.notice netifd: wan (9544): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 22:42:35 2024 daemon.notice netifd: wan (9544): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: received SIGTERM
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: sending release
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: entering released state
Sat Jul  6 22:59:04 2024 daemon.notice netifd: wan (9963): udhcpc: started, v1.36.1
Sat Jul  6 22:59:04 2024 daemon.notice netifd: wan (9963): udhcpc: broadcasting discover
Sat Jul  6 22:59:05 2024 daemon.notice netifd: wan (9963): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 22:59:06 2024 daemon.notice netifd: wan (9963): udhcpc: lease of yyyy obtained from xxxx, lease time 86400
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: received SIGTERM
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: unicasting a release of yyyy to xxxx
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: sending release
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: entering released state
Sat Jul  6 23:02:34 2024 daemon.notice netifd: wan (10394): udhcpc: started, v1.36.1
Sat Jul  6 23:02:34 2024 daemon.notice netifd: wan (10394): udhcpc: broadcasting discover
Sat Jul  6 23:02:37 2024 daemon.notice netifd: wan (10394): udhcpc: broadcasting discover
Sat Jul  6 23:02:40 2024 daemon.notice netifd: wan (10394): udhcpc: broadcasting discover
Sat Jul  6 23:02:44 2024 daemon.notice netifd: wan (10394): udhcpc: broadcasting select for yyyy, server xxxx
Sat Jul  6 23:02:44 2024 daemon.notice netifd: wan (10394): udhcpc: lease of yyyy obtained from xxxx, lease time 86400

I posted this before here's some info on the system my internet provider uses:
https://verkko.ayy.fi/IP/
https://verkko.ayy.fi/technology/

Do you think it's DHCP-related?

So nominally, this is a 24h lease.

But just 5 mins later, it is getting a sigterm and releasing the lease.

I don't know why this is happening, but there are two possible situations.

  • I found this, but I wouldn't expect it to affect your system.-
    • Are you using a standard release build downloaded directly from OpenWrt's site?
  • is the physical link bouncing?
    • what happens immediately before the udhcpc sigterm in the logs?

here are the logs around sigterm:

root@OpenWrt:~# logread | grep -A 10 -B 10 SIGTERM
Sat Jul  6 21:26:39 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 21:26:39 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 21:26:39 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 21:26:39 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 21:26:39 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 21:26:55 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 21:26:55 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 21:26:55 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 21:26:55 2024 kern.info kernel: [ 2665.951410] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan6 (6212): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: received SIGTERM
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: sending release
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): udhcpc: entering released state
Sat Jul  6 21:26:55 2024 daemon.notice netifd: wan (6215): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 21:26:55 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 21:26:55 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 21:26:55 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 21:26:59 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 21:26:59 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 21:26:59 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 21:27:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 21:27:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 21:27:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 21:27:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 21:27:03 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 21:36:33 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 21:36:33 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 21:36:33 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 21:36:33 2024 kern.info kernel: [ 3244.031608] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan6 (6631): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: received SIGTERM
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: sending release
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): udhcpc: entering released state
Sat Jul  6 21:36:33 2024 daemon.notice netifd: wan (6634): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 21:36:33 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 21:36:33 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 21:36:34 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 21:36:36 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 21:36:36 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 21:36:36 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 21:36:53 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 21:36:53 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 21:40:16 2024 authpriv.info dropbear[7375]: Child connection from 192.168.1.245:58804
Sat Jul  6 21:40:20 2024 authpriv.notice dropbear[7375]: Password auth succeeded for 'root' from 192.168.1.245:58804
Sat Jul  6 21:45:28 2024 authpriv.info dropbear[7375]: Exit (root) from <192.168.1.245:58804>: Disconnect received
Sat Jul  6 21:49:55 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 21:49:55 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 21:49:55 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 21:49:55 2024 kern.info kernel: [ 4045.992527] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan6 (7070): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: received SIGTERM
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: sending release
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): udhcpc: entering released state
Sat Jul  6 21:49:55 2024 daemon.notice netifd: wan (7073): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 21:49:55 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 21:49:55 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 21:49:56 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 21:50:00 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 21:50:00 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 21:50:00 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 21:50:07 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 21:50:07 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 21:50:07 2024 user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Sat Jul  6 21:50:50 2024 authpriv.info dropbear[7834]: Child connection from 192.168.1.245:38908
Sat Jul  6 21:50:54 2024 authpriv.notice dropbear[7834]: Password auth succeeded for 'root' from 192.168.1.245:38908
Sat Jul  6 21:58:06 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 21:58:06 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 21:58:06 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 21:58:06 2024 kern.info kernel: [ 4536.718908] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan6 (7555): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: received SIGTERM
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: sending release
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): udhcpc: entering released state
Sat Jul  6 21:58:06 2024 daemon.notice netifd: wan (7557): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 21:58:06 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 21:58:06 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 21:58:06 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 21:58:09 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 21:58:09 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 21:58:09 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 21:58:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 21:58:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 21:58:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 21:58:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 21:58:14 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 22:00:56 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 22:00:56 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 22:00:56 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 22:00:56 2024 kern.info kernel: [ 4706.959139] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan6 (7983): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: received SIGTERM
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: sending release
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): udhcpc: entering released state
Sat Jul  6 22:00:56 2024 daemon.notice netifd: wan (7986): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 22:00:56 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 22:00:56 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 22:00:57 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 22:01:00 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 22:01:00 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 22:01:00 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 22:04:16 2024 authpriv.info dropbear[7834]: Exit (root) from <192.168.1.245:38908>: Disconnect received
Sat Jul  6 22:04:27 2024 kern.info kernel: [ 4917.418613] igc 0000:01:00.0 eth0: NIC Link is Down
Sat Jul  6 22:04:27 2024 kern.info kernel: [ 4917.425679] br-lan: port 1(eth0) entered disabled state
Sat Jul  6 22:04:27 2024 daemon.notice netifd: Network device 'eth0' link is down
Sat Jul  6 22:04:28 2024 daemon.notice netifd: bridge 'br-lan' link is down
Sat Jul  6 22:04:28 2024 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat Jul  6 22:04:52 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 22:04:52 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 22:04:52 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 22:04:52 2024 kern.info kernel: [ 4943.099252] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: received SIGTERM
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: unicasting a release of qqqq to eeee
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: sending release
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): udhcpc: entering released state
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan6 (8331): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 22:04:52 2024 daemon.notice netifd: wan (8334): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 22:04:52 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 22:04:52 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 22:04:53 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 22:04:55 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 22:04:55 2024 daemon.notice netifd: Interface 'wan' has link connectivity
--
Sat Jul  6 22:14:29 2024 kern.info kernel: [ 5520.232640] igc 0000:01:00.0 eth0: NIC Link is Down
Sat Jul  6 22:14:29 2024 kern.info kernel: [ 5520.239689] br-lan: port 1(eth0) entered disabled state
Sat Jul  6 22:14:29 2024 daemon.notice netifd: Network device 'eth0' link is down
Sat Jul  6 22:14:30 2024 daemon.notice netifd: bridge 'br-lan' link is down
Sat Jul  6 22:14:30 2024 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat Jul  6 22:20:38 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 22:20:38 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 22:20:38 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 22:20:38 2024 kern.info kernel: [ 5888.770326] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan6 (8740): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: received SIGTERM
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: sending release
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): udhcpc: entering released state
Sat Jul  6 22:20:38 2024 daemon.notice netifd: wan (8742): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 22:20:38 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 22:20:38 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 22:20:39 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 22:20:43 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 22:20:43 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 22:20:43 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 22:20:47 2024 user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 22:42:27 2024 kern.info kernel: [ 7198.184367] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan6 (9206): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: received SIGTERM
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: sending release
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: entering released state
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 22:42:27 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 22:42:31 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 22:42:31 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 22:42:31 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 22:50:04 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f
Sat Jul  6 22:50:04 2024 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f
Sat Jul  6 22:50:04 2024 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f arch
Sat Jul  6 22:50:16 2024 authpriv.info dropbear[9786]: Child connection from 192.168.1.245:59958
Sat Jul  6 22:50:20 2024 authpriv.notice dropbear[9786]: Password auth succeeded for 'root' from 192.168.1.245:59958
Sat Jul  6 22:59:01 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 22:59:01 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 22:59:01 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 22:59:01 2024 kern.info kernel: [ 8192.379832] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan6 (9541): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: received SIGTERM
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: sending release
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): udhcpc: entering released state
Sat Jul  6 22:59:01 2024 daemon.notice netifd: wan (9544): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 22:59:01 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 22:59:01 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 22:59:02 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 22:59:04 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 22:59:04 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 22:59:04 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 22:59:08 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 22:59:08 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 22:59:08 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 22:59:08 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 22:59:08 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 23:02:08 2024 authpriv.info dropbear[9786]: Exit (root) from <192.168.1.245:59958>: Disconnect received
Sat Jul  6 23:02:31 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 23:02:31 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 23:02:31 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 23:02:31 2024 kern.info kernel: [ 8401.910520] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: received SIGTERM
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: sending release
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan6 (9961): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): udhcpc: entering released state
Sat Jul  6 23:02:31 2024 daemon.notice netifd: wan (9963): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 23:02:31 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 23:02:31 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 23:02:32 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 23:02:34 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 23:02:34 2024 daemon.notice netifd: Interface 'wan' has link connectivity
--
Sat Jul  6 23:17:05 2024 kern.info kernel: [ 9275.780155] igc 0000:01:00.0 eth0: NIC Link is Down
Sat Jul  6 23:17:05 2024 kern.info kernel: [ 9275.786314] br-lan: port 1(eth0) entered disabled state
Sat Jul  6 23:17:05 2024 daemon.notice netifd: Network device 'eth0' link is down
Sat Jul  6 23:17:06 2024 daemon.notice netifd: bridge 'br-lan' link is down
Sat Jul  6 23:17:06 2024 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat Jul  6 23:19:29 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 23:19:29 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 23:19:29 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 23:19:29 2024 kern.info kernel: [ 9420.034106] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 23:19:29 2024 daemon.notice netifd: wan6 (10391): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 23:19:29 2024 daemon.notice netifd: wan (10394): udhcpc: received SIGTERM
Sat Jul  6 23:19:29 2024 daemon.notice netifd: wan (10394): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 23:19:29 2024 daemon.notice netifd: wan (10394): udhcpc: sending release
Sat Jul  6 23:19:29 2024 daemon.notice netifd: wan (10394): udhcpc: entering released state
Sat Jul  6 23:19:29 2024 daemon.notice netifd: wan (10394): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 23:19:29 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 23:19:29 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 23:19:30 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 23:19:32 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 23:19:32 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 23:19:32 2024 daemon.notice netifd: Interface 'wan' is setting up now
--
Sat Jul  6 23:19:59 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 23:19:59 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 23:19:59 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 23:19:59 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 23:19:59 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 23:25:23 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 23:25:23 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 23:25:23 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 23:25:23 2024 kern.info kernel: [ 9773.593047] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 23:25:23 2024 daemon.notice netifd: wan6 (10854): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 23:25:23 2024 daemon.notice netifd: wan (10857): udhcpc: received SIGTERM
Sat Jul  6 23:25:23 2024 daemon.notice netifd: wan (10857): udhcpc: unicasting a release of qqqq to wwww
Sat Jul  6 23:25:23 2024 daemon.notice netifd: wan (10857): udhcpc: sending release
Sat Jul  6 23:25:23 2024 daemon.notice netifd: wan (10857): udhcpc: entering released state
Sat Jul  6 23:25:23 2024 daemon.notice netifd: wan (10857): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 23:25:23 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 23:25:23 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 23:25:23 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 23:25:26 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 23:25:26 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 23:25:26 2024 daemon.notice netifd: Interface 'wan' is setting up now
root@OpenWrt:~#

I use the latest stable release https://downloads.openwrt.org/releases/23.05.3/targets/x86/64/

Heres the logs from lease to sigterm:

Sat Jul  6 22:20:43 2024 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jul  6 22:20:43 2024 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jul  6 22:20:43 2024 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jul  6 22:20:43 2024 kern.info kernel: [ 5893.430753] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Sat Jul  6 22:20:43 2024 daemon.notice netifd: wan (9209): udhcpc: started, v1.36.1
Sat Jul  6 22:20:43 2024 daemon.notice netifd: wan (9209): udhcpc: broadcasting discover
Sat Jul  6 22:20:46 2024 daemon.notice netifd: wan (9209): udhcpc: broadcasting discover
Sat Jul  6 22:20:47 2024 daemon.notice netifd: wan (9209): udhcpc: broadcasting select for jvl.jkb, server Ƥƶuvjg
Sat Jul  6 22:20:47 2024 daemon.notice netifd: Interface 'wan6' is now up
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using nameserver 2001:708:30:1::2#53
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using nameserver 2001:708:30:2::2#53
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 22:20:47 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 22:20:47 2024 daemon.notice netifd: wan (9209): udhcpc: lease of jvl.jkb obtained from Ƥƶuvjg, lease time 86400
Sat Jul  6 22:20:47 2024 daemon.notice netifd: Interface 'wan' is now up
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using nameserver ƶkjkb
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using nameserver knbj
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using nameserver poji2
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using nameserver lik
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 22:20:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 22:20:47 2024 user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 22:42:27 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 22:42:27 2024 kern.info kernel: [ 7198.184367] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan6 (9206): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 22:42:27 2024 daemon.notice netifd: wan (9209): udhcpc: received SIGTERM

So this is the problem. The physical link is going up and down.

Check your cable (ideally just use another known good one) and your ports (check for debris or bent pins).

Do you happen to have an unmanaged switch? You can insert it between the wall jack and your router to see if you can stabilize the link (at least from the perspective of the physical link to the router)?

Another thing worth noting is that I have manually re-plugged the wan cable a few times today since doing so makes the issue go away for some time. The cable I am using is the same one I use daily with my computer but I haven't noticed issues with it. I will go and buy some new cables to try out.

Here are the logs before entering failed state:

Sat Jul  6 23:45:15 2024 kern.info kernel: [10966.112425] igc 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
Sat Jul  6 23:45:15 2024 kern.info kernel: [10966.242175] br-lan: port 1(eth0) entered blocking state
Sat Jul  6 23:45:15 2024 kern.info kernel: [10966.251479] br-lan: port 1(eth0) entered forwarding state
Sat Jul  6 23:45:15 2024 daemon.notice netifd: Network device 'eth0' link is up
Sat Jul  6 23:45:15 2024 daemon.notice netifd: bridge 'br-lan' link is up
Sat Jul  6 23:45:15 2024 daemon.notice netifd: Interface 'lan' has link connectivity
Sat Jul  6 23:45:17 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f
Sat Jul  6 23:45:17 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f
Sat Jul  6 23:45:17 2024 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f
Sat Jul  6 23:45:17 2024 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.245 8c:8c:aa:4d:23:5f arch
Sat Jul  6 23:48:02 2024 daemon.notice netifd: Network device 'eth1' link is down
Sat Jul  6 23:48:02 2024 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jul  6 23:48:02 2024 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jul  6 23:48:02 2024 kern.info kernel: [11133.495173] igc 0000:02:00.0 eth1: NIC Link is Down
Sat Jul  6 23:48:02 2024 daemon.notice netifd: wan6 (12088): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan6" } (Permission denied)
Sat Jul  6 23:48:02 2024 daemon.notice netifd: wan (12091): udhcpc: received SIGTERM
Sat Jul  6 23:48:02 2024 daemon.notice netifd: wan (12091): udhcpc: unicasting a release of l-jb to liƶug
Sat Jul  6 23:48:02 2024 daemon.notice netifd: wan (12091): udhcpc: sending release
Sat Jul  6 23:48:02 2024 daemon.notice netifd: wan (12091): udhcpc: entering released state
Sat Jul  6 23:48:02 2024 daemon.notice netifd: wan (12091): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Sat Jul  6 23:48:02 2024 daemon.notice netifd: Interface 'wan' is now down
Sat Jul  6 23:48:02 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jul  6 23:48:03 2024 daemon.notice netifd: Interface 'wan6' is now down
Sat Jul  6 23:48:05 2024 daemon.notice netifd: Network device 'eth1' link is up
Sat Jul  6 23:48:05 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jul  6 23:48:05 2024 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jul  6 23:48:05 2024 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jul  6 23:48:05 2024 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jul  6 23:48:05 2024 kern.info kernel: [11136.355627] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Sat Jul  6 23:48:05 2024 daemon.notice netifd: wan (12436): udhcpc: started, v1.36.1
Sat Jul  6 23:48:05 2024 daemon.notice netifd: wan (12436): udhcpc: broadcasting discover
Sat Jul  6 23:48:09 2024 daemon.notice netifd: wan (12436): udhcpc: broadcasting discover
Sat Jul  6 23:48:12 2024 daemon.notice netifd: wan (12436): udhcpc: broadcasting discover
Sat Jul  6 23:48:14 2024 daemon.notice netifd: Interface 'wan6' is now up
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using nameserver ƶO
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using nameserver ƶoj
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 23:48:14 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 23:48:14 2024 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Jul  6 23:48:16 2024 daemon.notice netifd: wan (12436): udhcpc: broadcasting select for l-jb, server liƶug
Sat Jul  6 23:48:16 2024 daemon.notice netifd: wan (12436): udhcpc: lease of l-jb obtained from liƶug, lease time 86400
Sat Jul  6 23:48:16 2024 daemon.notice netifd: Interface 'wan' is now up
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using nameserver -kbj
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using nameserver kl
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using nameserver -lkn
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using nameserver kln-LKn
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Sat Jul  6 23:48:16 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Sat Jul  6 23:48:16 2024 user.notice firewall: Reloading firewall due to ifup of wan (eth1)

This seems to be the final message before the issue starts:

Sat Jul  6 23:48:16 2024 user.notice firewall: Reloading firewall due to ifup of wan (eth1)

All that looks normal except for the bouncing of the eth1 port and resulting in the wan going down.

Alright, here's the update.

I bought 2 brand new ethernet cables and an unmanaged ethernet switch.

Switch in question: https://www.tp-link.com/fi/business-networking/unmanaged-switch/tl-sg105/

When I connected the OpenWRT-device to the wall using a brand new cable, the intermittent connection issue persisted the same way as before. However when I put the Ethernet switch between the wall and the OpenWRT box the issue seems to go away! The connection has been running fine already over an hour with this set up.

I find this behaviour quite puzzling. What could the unmanaged switch be doing that stabilizes the connection? Could I make the OpenWRT box work without the switch by changing the settings?