if_pppoe didn't reconnect automatically
-
Hi,
I have been happily using 2.8.0-RELEASE since its release. Tonight though my PPPOE connection dropped, and woke up in the morning to no internet and the WAN interface down. I'm using the new
if_pppoe
module.System log didn't give a clue to what happened:
Jun 13 00:08:45 kernel pppoe0: link state changed to DOWN Jun 13 00:08:50 rc.gateway_alarm 47335 >>> Gateway alarm: WAN_DHCP (Addr:145.x.y.z Alarm:1 RTT:2.188ms RTTsd:.347ms Loss:22%) Jun 13 00:08:50 check_reload_status 504 updating dyndns WAN_DHCP Jun 13 00:08:50 check_reload_status 504 Restarting IPsec tunnels Jun 13 00:08:50 check_reload_status 504 Restarting OpenVPN tunnels/interfaces Jun 13 00:08:50 check_reload_status 504 Reloading filter Jun 13 00:08:50 rc.gateway_alarm 49865 >>> Gateway alarm: WAN_DHCP6 (Addr:fe80::b226:80ff:fe51:a865%pppoe0 Alarm:1 RTT:1.699ms RTTsd:.259ms Loss:22%) Jun 13 00:08:50 check_reload_status 504 updating dyndns WAN_DHCP6 Jun 13 00:08:50 check_reload_status 504 Restarting IPsec tunnels Jun 13 00:08:50 check_reload_status 504 Restarting OpenVPN tunnels/interfaces Jun 13 00:08:50 check_reload_status 504 Reloading filter Jun 13 00:08:51 php-fpm 4247 /rc.openvpn: Gateway, none 'available' for inet, use the first one configured. 'WAN_DHCP' Jun 13 00:08:51 php-fpm 4247 /rc.openvpn: Gateway, none 'available' for inet6, use the first one configured. 'WAN_DHCP6' Jun 13 00:08:51 php-fpm 50120 /rc.dyndns.update: Dynamic DNS (router.mydomain.eu) There was an error trying to determine the public IP for interface - wan (pppoe0 ). Jun 13 00:08:51 php-fpm 26005 /rc.openvpn: Gateway, none 'available' for inet, use the first one configured. 'WAN_DHCP' Jun 13 00:08:51 php-fpm 26005 /rc.openvpn: Gateway, none 'available' for inet6, use the first one configured. 'WAN_DHCP6' Jun 13 00:08:51 php-fpm 63832 /rc.dyndns.update: Dynamic DNS (router.mydomain.eu) There was an error trying to determine the public IP for interface - wan (pppoe0 ).
(log edited for privacy)
No entries in the PPP log. Any idea why the pppoe link didn't reconnect automatically? I rebooted pfsense in the morning and all back to normal now.
-
@mcfly9 You might want to check my thread. Will report back if setting a Reconnect using Cron works.
-
Hmm, nothing logged before or after that?
It should have tried to reconnect.
If you see it again you can run
pppcfg pppoe0
to see what it's doing. It will show you the connection phase and state.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.