Ethernet detached event for dynamic wan

Started by HenrysCat, April 03, 2022, 10:52:56 AM

Previous topic - Next topic
All of a sudden the wan keeps dropping and I lose internet until the box is rebooted, not changed any settings for over week (since my last post) this started happening yesterday, any ideas where to start?

Thanks all

2022-04-03T09:38:36 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for dynamic wan(re0)
2022-04-03T09:38:32 Error opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'wan'
2022-04-03T09:38:32 Critical dhclient exiting.
2022-04-03T09:38:32 Error dhclient connection closed
2022-04-03T09:38:32 Error opnsense /usr/local/etc/rc.linkup: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.re0.pid' 're0'' returned exit code '15', the output was 'DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 re0 link state up -> down DHCPREQUEST on re0 to 255.255.255.255 port 67 re0 link state down -> up DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 re0 link state up -> down DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 3 re0 link state down -> up DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 4 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 9 DHCPREQUEST on re0 to 255.255.255.255 port 67 re0 link state up -> down DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 21 re0 link state down -> up DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 re0 link state up -> down DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 1 re0 link state down -> up DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 9 DHCPREQUEST on re0 to 255.255.255.255 port 67 re0 link state up -> down DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 12 re0 link state down -> up DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 9 re0 link state up -> down re0 link state down -> up DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 4 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 2'
2022-04-03T09:38:32 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for dynamic wan(re0)
2022-04-03T09:38:31 Error configctl error in configd communication Traceback (most recent call last): File "/usr/local/sbin/configctl", line 66, in exec_config_cmd line = sock.recv(65536).decode() socket.timeout: timed out
2022-04-03T09:36:32 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for dynamic wan(re0)
2022-04-03T09:36:28 Error opnsense /usr/local/etc/rc.linkup: Clearing states for stale wan route on re0
2022-04-03T09:36:28 Critical dhclient exiting.
2022-04-03T09:36:28 Error dhclient connection closed
2022-04-03T09:36:28 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for dynamic wan(re0)
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

Well, this only happens when I am downloading over bittorrent it seems, any thoughts as to why?

Thanks all
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

OK its not the bittorrent client, getting new errors now.

2022-04-04T17:32:09 Error opnsense /usr/local/etc/rc.linkup: ROUTING: skipping IPv4 default route
2022-04-04T17:32:09 Error opnsense /usr/local/etc/rc.linkup: ROUTING: IPv4 default gateway set to wan
2022-04-04T17:32:09 Error opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'lan'
2022-04-04T17:32:09 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for dynamic lan(ue0)
2022-04-04T17:32:06 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for dynamic lan(ue0)
2022-04-04T17:32:00 Error opnsense /usr/local/etc/rc.linkup: ROUTING: skipping IPv4 default route
2022-04-04T17:32:00 Error opnsense /usr/local/etc/rc.linkup: ROUTING: IPv4 default gateway set to wan
2022-04-04T17:31:59 Error opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'lan'
2022-04-04T17:31:59 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for dynamic lan(ue0)
2022-04-04T17:31:56 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for dynamic lan(ue0)
2022-04-04T17:23:35 Error opnsense /usr/local/etc/rc.linkup: ROUTING: skipping IPv4 default route
2022-04-04T17:23:35 Error opnsense /usr/local/etc/rc.linkup: ROUTING: IPv4 default gateway set to wan
2022-04-04T17:23:35 Error opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'lan'
2022-04-04T17:23:34 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for dynamic lan(ue0)
2022-04-04T17:23:30 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for dynamic lan(ue0)
2022-04-04T17:23:26 Error opnsense /usr/local/etc/rc.linkup: ROUTING: skipping IPv4 default route
2022-04-04T17:23:26 Error opnsense /usr/local/etc/rc.linkup: ROUTING: IPv4 default gateway set to wan
2022-04-04T17:23:26 Error opnsense /usr/local/etc/rc.linkup: ROUTING: entering configure using 'lan'
2022-04-04T17:23:25 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet attached event for dynamic lan(ue0)
2022-04-04T17:23:21 Error opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for dynamic lan(ue0)
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

Hi

It can be the network cabel that give this trouble.

/Geir

I'll let you know in 24 hours, just reinstalled v21.7.8  ;)
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

And my internet is back to full speed 53 Mbps now, was around 46 on v22.1, wasn't sure if it was related but.....
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

Do you have gateway monitoring enabled?  If so look at the logs under system->gateways->log file.  There is another thread on the forum about gateway flapping.

No I didn't, but the reinstall of 21.7 has fixed it, I'll stay there for a few months until 22.1 is more stable ;)
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

Good luck! ;-) There are driver changes in freebsd 13 and opnsense 22.1, without debugging nothing will change, most likely...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

April 06, 2022, 06:03:15 PM #9 Last Edit: April 06, 2022, 06:21:25 PM by Sakata_T
I apologize, I seem to have posted in the wrong tab - moving my message to the correct place!

Quote from: chemlud on April 05, 2022, 08:43:43 PM
Good luck! ;-) There are driver changes in freebsd 13 and opnsense 22.1, without debugging nothing will change, most likely...

No one told me I had to debug or even how, looking around here I'm far from the only one with problems, I've seen a few post where people are reverting to 21.7
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023