PPPoE reconenction fix - mpd fix ($100)
-
My pppoe0 interface is mlppp with 6 vlan members. After disconnecting then reconnecting the cable to the interface that is parent to these vlans, I disabled all 6 parent vlans in the GUI, hit Apply, then re-enabled all 6 parent vlans in the GUI and hit Apply. pppoe0 did not reconnect, and I had to reboot pfsense to get the WAN back.
-
the isp modem needs to detect a link down along with pfsense to be able to kill the zombie connection on the isp end also that pfsense doesnt try to renegotiate the same again but starts a fresh negotiation of a new connection
-
the isp modem needs to detect a link down
That's going to be a problem then, as I don't see that as a realistic scenario for me.
Actually, the most realistic scenario for me (and it has happened) is that the power goes out. My equipement is on UPS, but the ADSL provider's equipment apparently is not, so the modems lose sync but they don't lose power, and the ethernet interface doesn't go down, but pfsense loses its PPPoE connection.
This is the problem that I really need fixed, and although I'm no PPPoE expert, it seems silly to me that pfsense can't seem to deal with this.
-
mayb if u invest some in this then some1 could take it more seriously and i think there r more such ppl like us suffering from the same and i think it might have to do with FreeBSD coz in the older pfsense, when the modem looses sync, the pppoe connection used to go down as well as the power or so on the interface and FreeBSD used to report a link down but this newer pfsense and FreeBSD doesn't for some reason.
i will be out of town after a month or so and i desperately need this fixed asap as i need to keep my internet connection running while im away thousands of miles
-
would it be possible to send a pppoe termination packet based on previous active session before initiating a new pppoe connection?
it would require patches to mpd i guess
-
It has been over a month since any of the pfsense developers have posted in this thread.
Have you considered posting in freebsd-net list http://lists.freebsd.org/mailman/listinfo/freebsd-net and/or mpd's developers at http://sourceforge.net/projects/mpd/ ?
-
posted in mpd on sourceforge just now
-
pfsense 2.0 uses mpd5 but the current version is 5.5, any1 care to test it out manually?
-
pfsense 2.0 uses mpd5 but the current version is 5.5, any1 care to test it out manually?
pfsense's mpd5 is actually mpd v5.5 (you can check via "mpd5 -v")
-
Can someone here who can reproduce this look over the items I posted in this thread to see if anything there helps?
-
Can someone here who can reproduce this look over the items I posted in this thread to see if anything there helps?
i tried it out doesnt work, after editing the linkdown file, once i unplug the cable i start getting the below stuff in log as wella s serial console
vr1: vr_link_task: Tx/Rx shutdown error – resetting
vr1: restarting
vr1: vr_stop: Rx shutdown error
vr1: Using force reset command.and still the pppoe wont reconnection on replugging the cable, needs a reboot only
can we have a custom solution till this issue is traced and fixed of making pfsense reboot once 5 connection attempts fail coz i will be going out of town a month from now and i need to keep my connection alive at all times so by a reboot, pppoe reconnects fine so atleast this way there wont be any internet connection loss while im away as there wont be any1 to physically reboot it
-
What you can do as a quick workaround for yourself is put a '/usr/local/sbin/pfSctl -c 'interface reload $iface' where $iface is wan/lan/optX
That should kick a restart of mpd after link is down.
-
where do i put this
/usr/local/sbin/pfSctl -c interface reload $iface
-
oh on the down script that jim told you.
-
so i replace the below
/usr/sbin/ngctl shutdown $1:
with ur line right?
-
Just add the line and do not touch anything else.
But since you ask add after that line :) -
tried it and has no effect
-
Show the system logs please?
-
its the same as before but mayb a vr1 down is additional but in all cases it still doesnt reconnect untill a reboot
-
here is the system log when disconnect button is pressed from interfaces (this situation works fine and has been from long)
Nov 3 12:14:43 syslogd: kernel boot file is /boot/kernel/kernel Nov 3 12:15:58 syslogd: exiting on signal 15 Nov 3 12:15:59 syslogd: kernel boot file is /boot/kernel/kernel Nov 3 12:18:30 check_reload_status: Configuring interface wan Nov 3 12:18:37 check_reload_status: Configuring interface wan Nov 3 12:18:37 check_reload_status: Rewriting resolv.conf Nov 3 12:18:44 check_reload_status: Configuring interface wan Nov 3 12:18:44 check_reload_status: Rewriting resolv.conf Nov 3 12:18:46 php: : rc.newwanip: Failed to update wan IP, restarting... Nov 3 12:18:46 check_reload_status: Configuring interface wan Nov 3 12:18:46 apinger: ALARM: WAN(195.229.252.27) *** down *** Nov 3 12:18:51 check_reload_status: Rewriting resolv.conf Nov 3 12:18:53 php: : rc.newwanip: Failed to update wan IP, restarting... Nov 3 12:18:56 check_reload_status: Reloading filter Nov 3 12:18:58 check_reload_status: Configuring interface wan Nov 3 12:18:58 check_reload_status: Rewriting resolv.conf Nov 3 12:19:01 php: : rc.newwanip: Failed to update wan IP, restarting... Nov 3 12:19:01 check_reload_status: Configuring interface wan Nov 3 12:19:06 check_reload_status: Rewriting resolv.conf Nov 3 12:19:07 php: : Could not find gateway for interface(wan). Nov 3 12:19:07 php: : Could not find gateway for interface(wan). Nov 3 12:19:08 dnsmasq[3112]: reading /etc/resolv.conf Nov 3 12:19:08 dnsmasq[3112]: using nameserver 198.153.192.1#53 Nov 3 12:19:08 dnsmasq[3112]: using nameserver 208.67.222.222#53 Nov 3 12:19:08 dnsmasq[3112]: using nameserver 213.42.20.20#53 Nov 3 12:19:08 dnsmasq[3112]: using nameserver 8.8.8.8#53 Nov 3 12:19:08 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:08 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:11 php: : rc.newwanip: Failed to update wan IP, restarting... Nov 3 12:19:11 check_reload_status: Configuring interface wan Nov 3 12:19:07 php: : Could not find gateway for interface(wan). Nov 3 12:19:07 php: : Could not find gateway for interface(wan). Nov 3 12:19:08 dnsmasq[3112]: reading /etc/resolv.conf Nov 3 12:19:08 dnsmasq[3112]: using nameserver 198.153.192.1#53 Nov 3 12:19:08 dnsmasq[3112]: using nameserver 208.67.222.222#53 Nov 3 12:19:08 dnsmasq[3112]: using nameserver 213.42.20.20#53 Nov 3 12:19:08 dnsmasq[3112]: using nameserver 8.8.8.8#53 Nov 3 12:19:08 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:08 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:11 php: : rc.newwanip: Failed to update wan IP, restarting... Nov 3 12:19:11 check_reload_status: Configuring interface wan Nov 3 12:19:11 check_reload_status: Configuring interface wan Nov 3 12:19:17 check_reload_status: Configuring interface wan Nov 3 12:19:17 check_reload_status: Rewriting resolv.conf Nov 3 12:19:22 php: : rc.newwanip: Failed to update wan IP, restarting... Nov 3 12:19:22 check_reload_status: Configuring interface wan Nov 3 12:19:22 dnsmasq[3112]: reading /etc/resolv.conf Nov 3 12:19:22 dnsmasq[3112]: using nameserver 198.153.192.1#53 Nov 3 12:19:22 dnsmasq[3112]: using nameserver 208.67.222.222#53 Nov 3 12:19:22 dnsmasq[3112]: using nameserver 213.42.20.20#53 Nov 3 12:19:22 dnsmasq[3112]: using nameserver 8.8.8.8#53 Nov 3 12:19:22 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:22 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:37 dnsmasq[3112]: reading /etc/resolv.conf Nov 3 12:19:37 dnsmasq[3112]: using nameserver 198.153.192.1#53 Nov 3 12:19:37 dnsmasq[3112]: using nameserver 208.67.222.222#53 Nov 3 12:19:37 dnsmasq[3112]: using nameserver 213.42.20.20#53 Nov 3 12:19:37 dnsmasq[3112]: using nameserver 8.8.8.8#53 Nov 3 12:19:37 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:37 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:42 dnsmasq[3112]: reading /etc/resolv.conf Nov 3 12:19:42 dnsmasq[3112]: using nameserver 198.153.192.1#53 Nov 3 12:19:42 dnsmasq[3112]: using nameserver 208.67.222.222#53 Nov 3 12:19:42 dnsmasq[3112]: using nameserver 213.42.20.20#53 Nov 3 12:19:42 dnsmasq[3112]: using nameserver 8.8.8.8#53 Nov 3 12:19:42 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:42 dnsmasq[3112]: ignoring nameserver 127.0.0.1 - local interface Nov 3 12:19:42 php: : ROUTING: setting default route to 195.229.252.27 Nov 3 12:19:42 apinger: Exiting on signal 15. Nov 3 12:19:43 check_reload_status: Reloading filter Nov 3 12:19:43 apinger: Starting Alarm Pinger, apinger(22415) Nov 3 12:19:43 php: : DynDns: updatedns() starting Nov 3 12:19:43 php: : DynDns debug information: 92.96.212.240 extracted from local system. Nov 3 12:19:43 php: : DynDns: Current WAN IP: 92.96.212.240 Cached IP: 92.99.207.73 Nov 3 12:19:43 php: : DynDns debug information: DynDns: cacheIP != wan_ip. Updating. Cached IP: 92.99.207.73 WAN IP: 92.96.212.240 Nov 3 12:19:43 php: : DynDns: DynDns _update() starting. Nov 3 12:19:44 php: : DynDns: DynDns _checkStatus() starting. Nov 3 12:19:44 php: : DynDns: Current Service: dyndns Nov 3 12:19:44 php: : DynDns debug information: 92.96.212.240 extracted from local system. Nov 3 12:19:45 php: : phpDynDNS: updating cache file /conf/dyndns_wandyndns'xbipin.dyndns.org'.cache: 92.96.212.240 Nov 3 12:19:45 php: : phpDynDNS: (Success) IP Address Changed Successfully! (92.96.212.240) Nov 3 12:19:51 php: : Resyncing OpenVPN instances for interface WAN. Nov 3 12:19:51 php: : The command '/usr/bin/killall 'ntpd'' returned exit code '1', the output was 'killall: warning: kill -TERM 17243: No such process' Nov 3 12:19:51 php: : OpenNTPD is starting up. Nov 3 12:19:51 php: : pfSense package system has detected an ip change 92.99.207.73 -> ... Restarting packages. Nov 3 12:19:51 check_reload_status: Starting packages Nov 3 12:19:58 php: : Restarting/Starting all packages. Nov 3 12:20:43 apinger: Error while feeding rrdtool: Broken pipe
will give u more logs in some time with the modem reset and cable unplug situation