strange errorThere were error(s) loading the rules: pfctl: SIOCGIFGROUP: Device not configured
-
@stephenw10 after I apply your instruction in this post
@stephenw10 said in strange errorThere were error(s) loading the rules: pfctl: SIOCGIFGROUP: Device not configured:
https://forum.netgate.com/post/1102086
the error occurs today morning again:
There were error(s) loading the rules: pfctl: SIOCGIFGROUP: Device not configured - The line in question reads [0]: @ 2024-04-15 05:26:36
the log of the kernel is as below:
Apr 15 05:25:20 kernel re0.1154: link state changed to DOWN Apr 15 05:25:20 check_reload_status 430 Linkup starting re0.1154 Apr 15 05:25:21 check_reload_status 430 Reloading filter Apr 15 05:25:21 ppp 83198 caught fatal signal TERM Apr 15 05:25:21 ppp 83198 [wan] IFACE: Close event Apr 15 05:25:21 ppp 83198 [wan] IPCP: Close event Apr 15 05:25:21 ppp 83198 [wan] IPCP: state change Opened --> Closing Apr 15 05:25:21 ppp 83198 [wan] IPCP: SendTerminateReq #4 Apr 15 05:25:21 ppp 83198 [wan] error writing len 8 frame to b0: Network is down Apr 15 05:25:21 ppp 83198 [wan] IPCP: LayerDown Apr 15 05:25:22 php-cgi 4636 rc.kill_states: rc.kill_states: Removing states for IP 2XX.XXX.XXX.XXX/32 Apr 15 05:25:22 php-cgi 4636 rc.kill_states: rc.kill_states: Removing states for interface pppoe1 Apr 15 05:25:22 check_reload_status 430 Rewriting resolv.conf Apr 15 05:25:22 ppp 83198 [wan] IFACE: Removing IPv4 address from pppoe1 failed(IGNORING for now. This should be only for PPPoE friendly!): Can't assign requested address Apr 15 05:25:22 ppp 83198 [wan] IPV6CP: Close event Apr 15 05:25:22 ppp 83198 [wan] IPV6CP: state change Opened --> Closing Apr 15 05:25:22 ppp 83198 [wan] IPV6CP: SendTerminateReq #3 Apr 15 05:25:22 ppp 83198 [wan] error writing len 8 frame to b0: Network is down Apr 15 05:25:22 ppp 83198 [wan] IPV6CP: LayerDown Apr 15 05:25:23 php-cgi 8237 rc.kill_states: rc.kill_states: Removing states for IP fe80:::XXXX%pppoe1/32 Apr 15 05:25:23 php-cgi 8237 rc.kill_states: rc.kill_states: Removing states for interface pppoe1 Apr 15 05:25:24 check_reload_status 430 Reloading filter Apr 15 05:25:24 check_reload_status 430 Rewriting resolv.conf Apr 15 05:25:24 ppp 83198 [wan] IFACE: Down event Apr 15 05:25:24 ppp 83198 [wan] IFACE: Rename interface pppoe1 to pppoe1 Apr 15 05:25:24 ppp 83198 [wan] IFACE: Set description "WAN" Apr 15 05:25:25 check_reload_status 430 Linkup starting re0 Apr 15 05:25:25 kernel re0: link state changed to UP Apr 15 05:25:25 kernel re0.1154: link state changed to UP Apr 15 05:25:25 check_reload_status 430 Linkup starting re0.1154 Apr 15 05:25:25 ppp 83198 [wan] IPV6CP: SendTerminateReq #4 Apr 15 05:25:25 ppp 83198 [wan] IPCP: SendTerminateReq #5 Apr 15 05:25:26 check_reload_status 430 Reloading filter Apr 15 05:25:26 ppp 76934 Multi-link PPP daemon for FreeBSD Apr 15 05:25:26 ppp 76934 process 76934 started, version 5.9 Apr 15 05:25:26 ppp 76934 waiting for process 83198 to die... Apr 15 05:25:26 php-fpm 56878 /rc.linkup: calling interface_dhcpv6_configure. Apr 15 05:25:26 php-fpm 56878 /rc.linkup: Gateway, NONE AVAILABLE Apr 15 05:25:26 php-fpm 56878 /rc.linkup: Default gateway setting as default. Apr 15 05:25:26 php-fpm 56878 /rc.linkup: Gateway, none 'available' for inet6, use the first one configured. 'WAN_SLAAC' Apr 15 05:25:26 check_reload_status 430 Restarting IPsec tunnels Apr 15 05:25:26 check_reload_status 430 updating dyndns wan Apr 15 05:25:26 ppp 83198 [wan] Bundle: Shutdown Apr 15 05:25:26 ppp 83198 [wan_link0] Link: Shutdown Apr 15 05:25:26 ppp 83198 process 83198 terminated Apr 15 05:25:27 ppp 76934 web: web is not running Apr 15 05:25:27 ppp 76934 [wan] Bundle: Interface ng0 created Apr 15 05:25:27 ppp 76934 [wan_link0] Link: OPEN event Apr 15 05:25:27 kernel ng0: changing name to 'pppoe1' Apr 15 05:25:27 ppp 76934 [wan_link0] LCP: Open event Apr 15 05:25:27 ppp 76934 [wan_link0] LCP: state change Initial --> Starting Apr 15 05:25:27 ppp 76934 [wan_link0] LCP: LayerStart Apr 15 05:25:27 ppp 76934 [wan_link0] PPPoE: Connecting to ''
according to the log, this crush is not caused by the watch dog timeout. is this also caused by the Realtek driver? THX!
-
Right it looks like re0 went down for some other reason, like the modem rebooted. Is that possible?
-
@stephenw10 no, the log has no reboot information. in addition, the admin php shows that the gateway has run for many days.
-
Anything in between? A switch? It looks like it lost link for some reason.
-
@stephenw10 the router connects to the wan directly through the physical port and using pppoe to connect to the ISP
-
Well you might try putting a switch in between if you can. It lost link for some reason. That could be a link negotiation issue. Though it's difficult to test if it didn't happen for 28days!
Did it actually cause a problem beyond triggering the alert?
-
@stephenw10 there is no other issue affects me. the network re-acquires a new ip through PPPOE, and the network is ok. i will watch out such error the next a few days.
-
Just reviewing here I don't see if we ever checked what interface groups you actually have configured? And what you're using them for?
Obviously that error should not be triggered simply because the PPPoE link reconnected.
-
@stephenw10 here is a few logs before the crush:
Apr 15 03:55:00 sshguard 68173 Now monitoring attacks. Apr 15 04:56:00 sshguard 68173 Exiting on signal. Apr 15 04:56:00 sshguard 7842 Now monitoring attacks. Apr 15 05:25:20 check_reload_status 430 Linkup starting re0 Apr 15 05:25:20 kernel re0: link state changed to DOWN Apr 15 05:25:20 kernel re0.1154: link state changed to DOWN Apr 15 05:25:20 check_reload_status 430 Linkup starting re0.1154 Apr 15 05:25:21 check_reload_status 430 Reloading filter Apr 15 05:25:21 ppp 83198 caught fatal signal TERM
I have configured three interface: LAN,WAN and wireguard. the LAN connects to the switch, and WAN connects to the modem.
-
@stephenw10
here I got the same error ofpfctl
the error log is as below:May 13 01:52:46 php-fpm 399 /rc.openvpn: Gateway, NONE AVAILABLE May 13 01:52:46 php-fpm 399 /rc.openvpn: Gateway, NONE AVAILABLE May 13 01:59:00 sshguard 36234 Exiting on signal. May 13 01:59:00 sshguard 50674 Now monitoring attacks. May 13 03:25:00 sshguard 50674 Exiting on signal. May 13 03:25:00 sshguard 52167 Now monitoring attacks. May 13 03:29:40 check_reload_status 430 Linkup starting re0 May 13 03:29:40 kernel re0: link state changed to DOWN May 13 03:29:40 kernel re0.1154: link state changed to DOWN May 13 03:29:40 check_reload_status 430 Linkup starting re0.1154 May 13 03:29:41 check_reload_status 430 Reloading filter May 13 03:29:41 ppp 61708 caught fatal signal TERM May 13 03:29:41 ppp 61708 [wan] IFACE: Close event May 13 03:29:41 ppp 61708 [wan] IPCP: Close event May 13 03:29:41 ppp 61708 [wan] IPCP: state change Opened --> Closing May 13 03:29:41 ppp 61708 [wan] IPCP: SendTerminateReq #4 May 13 03:29:41 ppp 61708 [wan] error writing len 8 frame to b0: Network is down May 13 03:29:41 ppp 61708 [wan] IPCP: LayerDown May 13 03:29:42 php-cgi 75258 rc.kill_states: rc.kill_states: Removing states for IP XXX.XXX.XXX.XXX/32 May 13 03:29:42 php-cgi 75258 rc.kill_states: rc.kill_states: Removing states for interface pppoe1 May 13 03:29:42 check_reload_status 430 Rewriting resolv.conf May 13 03:29:42 ppp 61708 [wan] IFACE: Removing IPv4 address from pppoe1 failed(IGNORING for now. This should be only for PPPoE friendly!): Can't assign requested address May 13 03:29:42 ppp 61708 [wan] IPV6CP: Close event May 13 03:29:42 ppp 61708 [wan] IPV6CP: state change Opened --> Closing May 13 03:29:42 ppp 61708 [wan] IPV6CP: SendTerminateReq #3 May 13 03:29:42 ppp 61708 [wan] error writing len 8 frame to b0: Network is down May 13 03:29:42 ppp 61708 [wan] IPV6CP: LayerDown May 13 03:29:42 php-cgi 79609 rc.kill_states: rc.kill_states: Removing states for IP fe80::XXXX%pppoe1/32 May 13 03:29:42 php-cgi 79609 rc.kill_states: rc.kill_states: Removing states for interface pppoe1 May 13 03:29:43 check_reload_status 430 Linkup starting re0 May 13 03:29:43 kernel re0: link state changed to UP May 13 03:29:43 kernel re0.1154: link state changed to UP May 13 03:29:43 check_reload_status 430 Linkup starting re0.1154 May 13 03:29:43 check_reload_status 430 Reloading filter May 13 03:29:44 check_reload_status 430 Rewriting resolv.conf May 13 03:29:44 ppp 61708 [wan] IFACE: Down event May 13 03:29:44 ppp 61708 [wan] IFACE: Rename interface pppoe1 to pppoe1 May 13 03:29:44 ppp 61708 [wan] IFACE: Set description "WAN" May 13 03:29:44 ppp 61708 [wan] IPV6CP: SendTerminateReq #4 May 13 03:29:44 ppp 61708 [wan] IPCP: SendTerminateReq #5 May 13 03:29:44 ppp 19945 Multi-link PPP daemon for FreeBSD May 13 03:29:44 ppp 19945 process 19945 started, version 5.9 May 13 03:29:44 ppp 19945 waiting for process 61708 to die... May 13 03:29:44 php-fpm 803 /rc.linkup: calling interface_dhcpv6_configure. May 13 03:29:44 php-fpm 803 /rc.linkup: Gateway, NONE AVAILABLE May 13 03:29:44 php-fpm 803 /rc.linkup: Default gateway setting as default. May 13 03:29:44 php-fpm 803 /rc.linkup: Gateway, none 'available' for inet6, use the first one configured. 'WAN_SLAAC' May 13 03:29:44 check_reload_status 430 Restarting IPsec tunnels May 13 03:29:44 check_reload_status 430 updating dyndns wan May 13 03:29:44 check_reload_status 430 Reloading filter May 13 03:29:45 ppp 19945 waiting for process 61708 to die... May 13 03:29:45 rc.gateway_alarm 71445 >>> Gateway alarm: LAN (Addr:192.XXX.XX.XX Alarm:1 RTT:5.442ms RTTsd:6.425ms Loss:25%) May 13 03:29:45 check_reload_status 430 updating dyndns LAN May 13 03:29:45 check_reload_status 430 Restarting IPsec tunnels May 13 03:29:45 check_reload_status 430 Restarting OpenVPN tunnels/interfaces May 13 03:29:46 php-fpm 56878 /rc.dyndns.update: Dynamic DNS (home.sinodmctech.cn) There was an error trying to determine the public IP for interface - wan (pppoe1 ). May 13 03:29:46 ppp 61708 [wan] IPCP: state change Closing --> Closed May 13 03:29:46 ppp 61708 [wan] IPCP: LayerFinish May 13 03:29:46 ppp 61708 [wan] IPV6CP: state change Closing --> Closed May 13 03:29:46 ppp 61708 [wan] IPV6CP: LayerFinish May 13 03:29:46 ppp 61708 [wan] Bundle: No NCPs left. Closing links... May 13 03:29:46 ppp 61708 [wan] Bundle: closing link "wan_link0"... May 13 03:29:46 ppp 61708 [wan] Bundle: Shutdown May 13 03:29:46 ppp 19945 waiting for process 61708 to die... May 13 03:29:46 ppp 61708 [wan_link0] Link: Shutdown May 13 03:29:46 ppp 61708 process 61708 terminated May 13 03:29:46 php-fpm 11767 /rc.openvpn: Gateway, NONE AVAILABLE May 13 03:29:46 php-fpm 11767 /rc.openvpn: Gateway, none 'available' for inet6, use the first one configured. 'WAN_SLAAC'```
-
Not sure you ever clarified what interface groups you have configured?
Ultimately if the re NIC keeps losing link it would be better to replace it with something Intel based.