Archer C60 WAN disconnects

I have recently updated my Archer C60 to the latest snapshots with Kernel 5.4 and I see that every x hours the eth1 interface corresponding to the wan gets disconnected. I still don't know what triggers this error, because with kernel 4.19 it didn't happen.

What is the output of this:

logread | grep udhcpc

For now the internet connection is not being cut. That command shows the following:

root@archer_c60:~# logread | grep udhcpc
Thu Jul  9 17:06:22 2020 daemon.notice netifd: wan (30198): udhcpc: received SIGTERM
Thu Jul  9 17:06:22 2020 daemon.notice netifd: wan (30198): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:06:22 2020 daemon.notice netifd: wan (30198): udhcpc: sending release
Thu Jul  9 17:06:22 2020 daemon.notice netifd: wan (30198): udhcpc: entering released state
Thu Jul  9 17:06:24 2020 daemon.notice netifd: wan (31056): udhcpc: started, v1.31.1
Thu Jul  9 17:06:24 2020 daemon.notice netifd: wan (31056): udhcpc: sending discover
Thu Jul  9 17:06:24 2020 daemon.notice netifd: wan (31056): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:06:24 2020 daemon.notice netifd: wan (31056): udhcpc: lease of 190.244.136.208 obtained, lease time 20123
Thu Jul  9 17:06:38 2020 daemon.notice netifd: wan (31056): udhcpc: received SIGTERM
Thu Jul  9 17:06:38 2020 daemon.notice netifd: wan (31056): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:06:38 2020 daemon.notice netifd: wan (31056): udhcpc: sending release
Thu Jul  9 17:06:38 2020 daemon.notice netifd: wan (31056): udhcpc: entering released state
Thu Jul  9 17:06:41 2020 daemon.notice netifd: wan (31776): udhcpc: started, v1.31.1
Thu Jul  9 17:06:41 2020 daemon.notice netifd: wan (31776): udhcpc: sending discover
Thu Jul  9 17:06:41 2020 daemon.notice netifd: wan (31776): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:06:41 2020 daemon.notice netifd: wan (31776): udhcpc: lease of 190.244.136.208 obtained, lease time 20107
Thu Jul  9 17:08:25 2020 daemon.notice netifd: wan (31776): udhcpc: received SIGTERM
Thu Jul  9 17:08:25 2020 daemon.notice netifd: wan (31776): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:08:25 2020 daemon.notice netifd: wan (31776): udhcpc: sending release
Thu Jul  9 17:08:25 2020 daemon.notice netifd: wan (31776): udhcpc: entering released state
Thu Jul  9 17:08:27 2020 daemon.notice netifd: wan (32501): udhcpc: started, v1.31.1
Thu Jul  9 17:08:27 2020 daemon.notice netifd: wan (32501): udhcpc: sending discover
Thu Jul  9 17:08:28 2020 daemon.notice netifd: wan (32501): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:08:28 2020 daemon.notice netifd: wan (32501): udhcpc: lease of 190.244.136.208 obtained, lease time 20000
Thu Jul  9 17:16:55 2020 daemon.notice netifd: wan (32501): udhcpc: received SIGTERM
Thu Jul  9 17:16:55 2020 daemon.notice netifd: wan (32501): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:16:55 2020 daemon.notice netifd: wan (32501): udhcpc: sending release
Thu Jul  9 17:16:55 2020 daemon.notice netifd: wan (32501): udhcpc: entering released state
Thu Jul  9 17:16:57 2020 daemon.notice netifd: wan (765): udhcpc: started, v1.31.1
Thu Jul  9 17:16:57 2020 daemon.notice netifd: wan (765): udhcpc: sending discover
Thu Jul  9 17:16:57 2020 daemon.notice netifd: wan (765): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:16:57 2020 daemon.notice netifd: wan (765): udhcpc: lease of 190.244.136.208 obtained, lease time 19490
Thu Jul  9 17:43:28 2020 daemon.notice netifd: wan (765): udhcpc: received SIGTERM
Thu Jul  9 17:43:28 2020 daemon.notice netifd: wan (765): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:43:28 2020 daemon.notice netifd: wan (765): udhcpc: sending release
Thu Jul  9 17:43:28 2020 daemon.notice netifd: wan (765): udhcpc: entering released state
Thu Jul  9 17:43:30 2020 daemon.notice netifd: wan (1659): udhcpc: started, v1.31.1
Thu Jul  9 17:43:30 2020 daemon.notice netifd: wan (1659): udhcpc: sending discover
Thu Jul  9 17:43:30 2020 daemon.notice netifd: wan (1659): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:43:30 2020 daemon.notice netifd: wan (1659): udhcpc: lease of 190.244.136.208 obtained, lease time 17897
Thu Jul  9 17:46:51 2020 daemon.notice netifd: wan (1659): udhcpc: received SIGTERM
Thu Jul  9 17:46:51 2020 daemon.notice netifd: wan (1659): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:46:51 2020 daemon.notice netifd: wan (1659): udhcpc: sending release
Thu Jul  9 17:46:51 2020 daemon.notice netifd: wan (1659): udhcpc: entering released state
Thu Jul  9 17:46:53 2020 daemon.notice netifd: wan (2381): udhcpc: started, v1.31.1
Thu Jul  9 17:46:53 2020 daemon.notice netifd: wan (2381): udhcpc: sending discover
Thu Jul  9 17:46:53 2020 daemon.notice netifd: wan (2381): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:46:53 2020 daemon.notice netifd: wan (2381): udhcpc: lease of 190.244.136.208 obtained, lease time 17695
Thu Jul  9 17:50:08 2020 daemon.notice netifd: wan (2381): udhcpc: received SIGTERM
Thu Jul  9 17:50:08 2020 daemon.notice netifd: wan (2381): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 17:50:08 2020 daemon.notice netifd: wan (2381): udhcpc: sending release
Thu Jul  9 17:50:08 2020 daemon.notice netifd: wan (2381): udhcpc: entering released state
Thu Jul  9 17:50:11 2020 daemon.notice netifd: wan (3153): udhcpc: started, v1.31.1
Thu Jul  9 17:50:11 2020 daemon.notice netifd: wan (3153): udhcpc: sending discover
Thu Jul  9 17:50:11 2020 daemon.notice netifd: wan (3153): udhcpc: sending select for 190.244.136.208
Thu Jul  9 17:50:11 2020 daemon.notice netifd: wan (3153): udhcpc: lease of 190.244.136.208 obtained, lease time 17497
Thu Jul  9 18:02:21 2020 daemon.notice netifd: wan (3153): udhcpc: received SIGTERM
Thu Jul  9 18:02:21 2020 daemon.notice netifd: wan (3153): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:02:21 2020 daemon.notice netifd: wan (3153): udhcpc: sending release
Thu Jul  9 18:02:21 2020 daemon.notice netifd: wan (3153): udhcpc: entering released state
Thu Jul  9 18:02:23 2020 daemon.notice netifd: wan (3958): udhcpc: started, v1.31.1
Thu Jul  9 18:02:23 2020 daemon.notice netifd: wan (3958): udhcpc: sending discover
Thu Jul  9 18:02:23 2020 daemon.notice netifd: wan (3958): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:02:23 2020 daemon.notice netifd: wan (3958): udhcpc: lease of 190.244.136.208 obtained, lease time 16765
Thu Jul  9 18:22:21 2020 daemon.notice netifd: wan (3958): udhcpc: received SIGTERM
Thu Jul  9 18:22:21 2020 daemon.notice netifd: wan (3958): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:22:21 2020 daemon.notice netifd: wan (3958): udhcpc: sending release
Thu Jul  9 18:22:21 2020 daemon.notice netifd: wan (3958): udhcpc: entering released state
Thu Jul  9 18:22:23 2020 daemon.notice netifd: wan (4762): udhcpc: started, v1.31.1
Thu Jul  9 18:22:23 2020 daemon.notice netifd: wan (4762): udhcpc: sending discover
Thu Jul  9 18:22:23 2020 daemon.notice netifd: wan (4762): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:22:23 2020 daemon.notice netifd: wan (4762): udhcpc: lease of 190.244.136.208 obtained, lease time 15564
Thu Jul  9 18:25:59 2020 daemon.notice netifd: wan (4762): udhcpc: received SIGTERM
Thu Jul  9 18:25:59 2020 daemon.notice netifd: wan (4762): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:25:59 2020 daemon.notice netifd: wan (4762): udhcpc: sending release
Thu Jul  9 18:25:59 2020 daemon.notice netifd: wan (4762): udhcpc: entering released state
Thu Jul  9 18:26:01 2020 daemon.notice netifd: wan (5487): udhcpc: started, v1.31.1
Thu Jul  9 18:26:01 2020 daemon.notice netifd: wan (5487): udhcpc: sending discover
Thu Jul  9 18:26:02 2020 daemon.notice netifd: wan (5487): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:26:02 2020 daemon.notice netifd: wan (5487): udhcpc: lease of 190.244.136.208 obtained, lease time 15346
Thu Jul  9 18:27:02 2020 daemon.notice netifd: wan (5487): udhcpc: received SIGTERM
Thu Jul  9 18:27:02 2020 daemon.notice netifd: wan (5487): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:27:02 2020 daemon.notice netifd: wan (5487): udhcpc: sending release
Thu Jul  9 18:27:02 2020 daemon.notice netifd: wan (5487): udhcpc: entering released state
Thu Jul  9 18:27:04 2020 daemon.notice netifd: wan (6207): udhcpc: started, v1.31.1
Thu Jul  9 18:27:04 2020 daemon.notice netifd: wan (6207): udhcpc: sending discover
Thu Jul  9 18:27:04 2020 daemon.notice netifd: wan (6207): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:27:04 2020 daemon.notice netifd: wan (6207): udhcpc: lease of 190.244.136.208 obtained, lease time 15283
Thu Jul  9 18:29:28 2020 daemon.notice netifd: wan (6207): udhcpc: received SIGTERM
Thu Jul  9 18:29:28 2020 daemon.notice netifd: wan (6207): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:29:28 2020 daemon.notice netifd: wan (6207): udhcpc: sending release
Thu Jul  9 18:29:28 2020 daemon.notice netifd: wan (6207): udhcpc: entering released state
Thu Jul  9 18:29:31 2020 daemon.notice netifd: wan (6927): udhcpc: started, v1.31.1
Thu Jul  9 18:29:31 2020 daemon.notice netifd: wan (6927): udhcpc: sending discover
Thu Jul  9 18:29:31 2020 daemon.notice netifd: wan (6927): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:29:31 2020 daemon.notice netifd: wan (6927): udhcpc: lease of 190.244.136.208 obtained, lease time 15137
Thu Jul  9 18:35:51 2020 daemon.notice netifd: wan (6927): udhcpc: received SIGTERM
Thu Jul  9 18:35:51 2020 daemon.notice netifd: wan (6927): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:35:51 2020 daemon.notice netifd: wan (6927): udhcpc: sending release
Thu Jul  9 18:35:51 2020 daemon.notice netifd: wan (6927): udhcpc: entering released state
Thu Jul  9 18:35:53 2020 daemon.notice netifd: wan (7653): udhcpc: started, v1.31.1
Thu Jul  9 18:35:53 2020 daemon.notice netifd: wan (7653): udhcpc: sending discover
Thu Jul  9 18:35:53 2020 daemon.notice netifd: wan (7653): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:35:53 2020 daemon.notice netifd: wan (7653): udhcpc: lease of 190.244.136.208 obtained, lease time 14755
Thu Jul  9 18:36:48 2020 daemon.notice netifd: wan (7653): udhcpc: received SIGTERM
Thu Jul  9 18:36:48 2020 daemon.notice netifd: wan (7653): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:36:48 2020 daemon.notice netifd: wan (7653): udhcpc: sending release
Thu Jul  9 18:36:48 2020 daemon.notice netifd: wan (7653): udhcpc: entering released state
Thu Jul  9 18:36:50 2020 daemon.notice netifd: wan (8373): udhcpc: started, v1.31.1
Thu Jul  9 18:36:50 2020 daemon.notice netifd: wan (8373): udhcpc: sending discover
Thu Jul  9 18:36:50 2020 daemon.notice netifd: wan (8373): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:36:50 2020 daemon.notice netifd: wan (8373): udhcpc: lease of 190.244.136.208 obtained, lease time 14697
Thu Jul  9 18:43:08 2020 daemon.notice netifd: wan (8373): udhcpc: received SIGTERM
Thu Jul  9 18:43:08 2020 daemon.notice netifd: wan (8373): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:43:08 2020 daemon.notice netifd: wan (8373): udhcpc: sending release
Thu Jul  9 18:43:08 2020 daemon.notice netifd: wan (8373): udhcpc: entering released state
Thu Jul  9 18:43:10 2020 daemon.notice netifd: wan (9094): udhcpc: started, v1.31.1
Thu Jul  9 18:43:10 2020 daemon.notice netifd: wan (9094): udhcpc: sending discover
Thu Jul  9 18:43:10 2020 daemon.notice netifd: wan (9094): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:43:10 2020 daemon.notice netifd: wan (9094): udhcpc: lease of 190.244.136.208 obtained, lease time 14317
Thu Jul  9 18:49:37 2020 daemon.notice netifd: wan (9094): udhcpc: received SIGTERM
Thu Jul  9 18:49:37 2020 daemon.notice netifd: wan (9094): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 18:49:37 2020 daemon.notice netifd: wan (9094): udhcpc: sending release
Thu Jul  9 18:49:37 2020 daemon.notice netifd: wan (9094): udhcpc: entering released state
Thu Jul  9 18:49:40 2020 daemon.notice netifd: wan (9818): udhcpc: started, v1.31.1
Thu Jul  9 18:49:40 2020 daemon.notice netifd: wan (9818): udhcpc: sending discover
Thu Jul  9 18:49:40 2020 daemon.notice netifd: wan (9818): udhcpc: sending select for 190.244.136.208
Thu Jul  9 18:49:40 2020 daemon.notice netifd: wan (9818): udhcpc: lease of 190.244.136.208 obtained, lease time 13928
Thu Jul  9 19:02:43 2020 daemon.notice netifd: wan (9818): udhcpc: received SIGTERM
Thu Jul  9 19:02:43 2020 daemon.notice netifd: wan (9818): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 19:02:43 2020 daemon.notice netifd: wan (9818): udhcpc: sending release
Thu Jul  9 19:02:43 2020 daemon.notice netifd: wan (9818): udhcpc: entering released state
Thu Jul  9 19:02:45 2020 daemon.notice netifd: wan (10669): udhcpc: started, v1.31.1
Thu Jul  9 19:02:45 2020 daemon.notice netifd: wan (10669): udhcpc: sending discover
Thu Jul  9 19:02:45 2020 daemon.notice netifd: wan (10669): udhcpc: sending select for 190.244.136.208
Thu Jul  9 19:02:45 2020 daemon.notice netifd: wan (10669): udhcpc: lease of 190.244.136.208 obtained, lease time 13142
Thu Jul  9 19:30:53 2020 daemon.notice netifd: wan (10669): udhcpc: received SIGTERM
Thu Jul  9 19:30:53 2020 daemon.notice netifd: wan (10669): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 19:30:53 2020 daemon.notice netifd: wan (10669): udhcpc: sending release
Thu Jul  9 19:30:53 2020 daemon.notice netifd: wan (10669): udhcpc: entering released state
Thu Jul  9 19:30:55 2020 daemon.notice netifd: wan (11556): udhcpc: started, v1.31.1
Thu Jul  9 19:30:55 2020 daemon.notice netifd: wan (11556): udhcpc: sending discover
Thu Jul  9 19:30:55 2020 daemon.notice netifd: wan (11556): udhcpc: sending select for 190.244.136.208
Thu Jul  9 19:30:55 2020 daemon.notice netifd: wan (11556): udhcpc: lease of 190.244.136.208 obtained, lease time 11453
Thu Jul  9 20:49:26 2020 daemon.notice netifd: wan (11556): udhcpc: received SIGTERM
Thu Jul  9 20:49:26 2020 daemon.notice netifd: wan (11556): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 20:49:26 2020 daemon.notice netifd: wan (11556): udhcpc: sending release
Thu Jul  9 20:49:26 2020 daemon.notice netifd: wan (11556): udhcpc: entering released state
Thu Jul  9 20:49:29 2020 daemon.notice netifd: wan (12987): udhcpc: started, v1.31.1
Thu Jul  9 20:49:29 2020 daemon.notice netifd: wan (12987): udhcpc: sending discover
Thu Jul  9 20:49:29 2020 daemon.notice netifd: wan (12987): udhcpc: sending select for 190.244.136.208
Thu Jul  9 20:49:29 2020 daemon.notice netifd: wan (12987): udhcpc: lease of 190.244.136.208 obtained, lease time 18139
Thu Jul  9 20:50:24 2020 daemon.notice netifd: wan (12987): udhcpc: received SIGTERM
Thu Jul  9 20:50:24 2020 daemon.notice netifd: wan (12987): udhcpc: unicasting a release of 190.244.136.208 to 172.20.2.226
Thu Jul  9 20:50:24 2020 daemon.notice netifd: wan (12987): udhcpc: sending release
Thu Jul  9 20:50:24 2020 daemon.notice netifd: wan (12987): udhcpc: entering released state
Thu Jul  9 20:50:26 2020 daemon.notice netifd: wan (13708): udhcpc: started, v1.31.1
Thu Jul  9 20:50:26 2020 daemon.notice netifd: wan (13708): udhcpc: sending discover
Thu Jul  9 20:50:26 2020 daemon.notice netifd: wan (13708): udhcpc: sending select for 190.244.136.208
Thu Jul  9 20:50:26 2020 daemon.notice netifd: wan (13708): udhcpc: lease of 190.244.136.208 obtained, lease time 18081

That's odd... the SIGTERM seems like udhcpc is restarting or something. I really have no idea what is going on.

How did you get to the latest kernel? did you do a sysupgrade to the latest snapshot (and did you preserve settings)? Did you use opkg upgrade? Do you have any additional packages installed?

I built my own image from the source. I did not keep the configuration. I used the LuCI interface to update. I saw this commit and it convinced me to try it and this happened.

I see some on this forum, who have similar issues with udhcpc.