PPPoE will not re-connect after physical link down
-
there is a long thread for this issue
http://forum.pfsense.org/index.php/topic,41061.0.html -
That thread seems to be about a different issue, because for me it was enough to implement jimp's solution from this thread:
http://forum.pfsense.org/index.php/topic,40671.msg219480.html#msg219480 -
that workaround works partially, meaning if there is link loss only which is when u pull the plug, if the link is up and pppoe disconnects then its a reconnect loop and this happens if the isp modem is reset or if that reboots which is more likely to happen and others have a switch between pfsense and the isp modem in which case link loss is less likely to occur at all
-
As long as it works for one use case I see no reason for not implementing this fix. It may not fix all possible situations, but it fixes some.
For me this fix works because I have no provider modem in my home - I just get a Cat5E cable that I plug in my pfSense box. There is a provider box in the building and they have some kind of Huawei CPE there that does internet + voice + cable TV over a single fiber pair. My Cat5E cable plugs into that device.
-
yes its true it fixes partially in link loss situations and should be implemented.
i guess u have FTTB and i have FTTH so ur modem is in the building and mine is at my home
-
Could this fix be implemented? It's only the matter of removing one line.
-
I have no problem with reconnection, since 2.1 beta0 builds, even if this line presents.
May be there are some problems in other configurations if this line is removed, but I am not sure.On 2.0.x builds I must to down/up physical interface (if config down em0…) to reconnect after link loss and removing that line does not work for me also.
-
I find Dynamic DNS clients can't re-connect link after for auto update. please check and fix it.
:P
-
Bumping this thread.
Could this simple fix be implemented?
Failing that, give this a try: Edit usr/local/sbin/ppp-linkdown and comment out or remove this line (keep an unaltered copy around though so you can restore the copy if it doesn't help)
/usr/sbin/ngctl shutdown $1:
-
Patch to be used with the System Patches package:
Path Strip Count = 1
Base Directory = /
Ignore Whitespace checked--- a/usr/local/sbin/ppp-linkdown 2012-11-20 23:51:28.000000000 +0200 +++ b/usr/local/sbin/ppp-linkdown 2012-11-20 23:55:26.000000000 +0200 @@ -20,7 +20,9 @@ fi fi # delete the node just in case mpd cannot do that -/usr/sbin/ngctl shutdown $1: +### disabled because of the following bug: +### http://redmine.pfsense.org/issues/1943 +#/usr/sbin/ngctl shutdown $1: if [ -f "/var/etc/nameserver_$1" ]; then # Remove old entries for nameserver in `cat /var/etc/nameserver_$1`; do