ppp(8) on 9.2 not redialling when the link drops
Daniel O'Connor
doconnor at gsoft.com.au
Mon Dec 16 23:02:30 UTC 2013
Hi,
I have a site with a pretty standard ADSL PPPoE connection, however when the link drops out I get the following..
Dec 3 10:15:17 gateway ppp[39988]: Phase: Chap Input: SUCCESS
Dec 3 10:15:17 gateway ppp[39988]: Phase: deflink: lcp -> open
Dec 3 10:15:17 gateway ppp[39988]: Phase: bundle: Network
Dec 3 10:15:17 gateway ppp[39988]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Dec 3 10:15:17 gateway ppp[39988]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Dec 3 10:15:17 gateway ppp[39988]: Warning: 0.0.0.0: Change route failed: errno: No such process
Dec 3 10:15:20 gateway ppp[39988]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Dec 3 10:15:29 gateway last message repeated 3 times
Dec 17 00:10:31 gateway ppp[39988]: Phase: deflink: ** Too many LCP ECHO packets lost **
Dec 17 00:10:31 gateway ppp[39988]: Phase: deflink: open -> lcp
Dec 17 00:10:31 gateway ppp[39988]: Warning: 0.0.0.0: Change route failed: errno: No such process
Dec 17 00:10:31 gateway ppp[39988]: Phase: bundle: Terminate
Dec 17 00:10:31 gateway ppp[39988]: Phase: deflink: Disconnected!
Dec 17 00:10:47 gateway last message repeated 2 times
Dec 17 00:12:55 gateway last message repeated 8 times
Dec 17 00:22:47 gateway last message repeated 37 times
Dec 17 00:32:56 gateway last message repeated 38 times
and it keeps printing that until I restart PPP.
ppp.conf looks like
default:
isp:
set server /var/run/ppp password 0177
set device PPPoE:em1:
set authname username
set authkey password
set ifaddr 0/0 0/0
set mru 1492
set mtu 1492
set speed sync
enable lqr
enable echo
set lqrperiod 3
set cd 5
set dial
set login
set redial 10 0
set timeout 0
set ifqueue 5
add! 0/0 HISADDR
Does anyone see the same? And better yet does anyone have a solution?
For now I have set a script to ping an outside host every hour and restart PPP if it fails but it would be nice if ppp(8) DTRT.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
More information about the freebsd-stable
mailing list