diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-05-10 17:29:33 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-05-10 17:29:33 +0000 |
commit | 15a23fd99be64e7f22b97d0321cf1f6c954f5626 (patch) | |
tree | aac974641be45ac388b6d4f4d8e71a0381751862 /sys/man | |
parent | 7742661aebb96a26f1cb34a68bcf631065913806 (diff) |
ip/pppoe: Handle termination request, add retry-forever (-r) option
This implements a retry strategy (similar to ip/ipconfig -r),
continuing to attempt to connect forever.
Also handle termination request from the server.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/8/ppp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/man/8/ppp b/sys/man/8/ppp index 66ebb7bfd..1bd8b58d2 100644 --- a/sys/man/8/ppp +++ b/sys/man/8/ppp @@ -34,7 +34,7 @@ ppp, pppoe, pptp, pptpd \- point-to-point protocol .PP .B ip/pppoe [ -.B -PdcC +.B -PdcCr ] [ .B -A @@ -218,6 +218,21 @@ and pass to .I ppp .TP +.B r +by default, +.I pppoe +exits after trying PPPoE discovery for 16 seconds +with no answer or when +.I ppp +terminates the session. +This option directs +.I pppoe +instead to fork a background process that keeps +trying forever, and also re-establishes the session +when +.I ppp +terminates. +.TP .B S insist on a service named .I srvname |