From 63a55031856cf201dc84826ca8dcdc0c22cf1546 Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Sat, 3 Oct 2020 03:25:53 +0200 Subject: [PATCH] doc: Add a man page for PPP dial-up interfaces Signed-off-by: Maximilian Wilhelm --- Makefile | 1 + doc/interfaces-ppp.scd | 37 +++++++++++++++++++++++++++++++++++++ doc/interfaces.scd | 6 ++++++ 3 files changed, 44 insertions(+) create mode 100644 doc/interfaces-ppp.scd diff --git a/Makefile b/Makefile index cf7fbe5..a2999db 100644 --- a/Makefile +++ b/Makefile @@ -147,6 +147,7 @@ MANPAGES_5 = \ doc/interfaces-bond.5 \ doc/interfaces-batman.5 \ doc/interfaces-bridge.5 \ + doc/interfaces-ppp.5 \ doc/interfaces-vrf.5 \ doc/interfaces-vxlan.5 \ doc/interfaces-wireguard.5 diff --git a/doc/interfaces-ppp.scd b/doc/interfaces-ppp.scd new file mode 100644 index 0000000..5d12555 --- /dev/null +++ b/doc/interfaces-ppp.scd @@ -0,0 +1,37 @@ +interfaces-ppp(5) + +# NAME + +*interfaces-ppp* - PPP extensions for the interfaces(5) file format + +# DESCRIPTION + +The Point-to-Point Protocol (PPP) usually is used for dial-up lines, +most common for over Digital Subscriber Lines (DSL) to connect to an +Internet Service Provider (ISP). The following options allow to set +up PPP dial-up connections. + +# PPP-RELATED OPTIONS + +*ppp-provider* _provider_ + Denotes the file name of the _provider_ configuration file + within the _/etc/ppp/peers/_ directory which should be used + to set up the PPP connection. + +*ppp-physdev* _interfaces_ + Denotes the physical (underlay) interface which is used to + set up the PPP connection. + +# EXAMPLES + +A PPP connection to _local-ISP_: + +``` +auto ppp0 +iface ppp0 + ppp-provider local-ISP +``` + +# AUTHORS + +Maximilian Wilhelm diff --git a/doc/interfaces.scd b/doc/interfaces.scd index 674c97b..da10ee8 100644 --- a/doc/interfaces.scd +++ b/doc/interfaces.scd @@ -148,6 +148,11 @@ most common options are: *loopback* Designates the interface as a loopback device. +*ppp* + Designates the interface as a PPP device. Configuration + of PPP interfaces require the *ppp* and probably the *pppoe* + packages to be installed. + *tunnel* The interface is a tunnel. Configuration of tunnels requires the *tunnel* package to be installed. @@ -205,6 +210,7 @@ iface eth0 *interfaces-batman*(5) *interfaces-bond*(5) *interfaces-bridge*(5) +*interfaces-ppp*(5) *interfaces-vrf*(5) *interfaces-vxlan*(5) *interfaces-wireguard*(5)