]> git.ipfire.org Git - people/ms/network.git/commitdiff
man: Convert network-zone-config-pppoe-server(8) to asciidoc
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 15:15:50 +0000 (17:15 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 15:15:50 +0000 (17:15 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
man/network-zone-config-pppoe-server.txt [new file with mode: 0644]
man/network-zone-config-pppoe-server.xml [deleted file]

diff --git a/man/network-zone-config-pppoe-server.txt b/man/network-zone-config-pppoe-server.txt
new file mode 100644 (file)
index 0000000..72dff8e
--- /dev/null
@@ -0,0 +1,50 @@
+= network-zone-config-pppoe-server(8)
+
+== NAME
+network-zone-config-pppoe-server - PPPoE Server Settings
+
+== SYNOPSIS
+[verse]
+`network zone ZONE config create pppoe-server ...`
+`network zone ZONE config pppoe-server edit ...`
+
+== DESCRIPTION
+This configuration hook enables a **PPPoE Server** on a zone.
+
+== OPTIONS
+The following options are understood:
+
+`--subnet=SUBNET`::
+       The `--subnet` option defines an IPv4 pool of which IP addresses are
+       assigned to the remote hosts. The first address of the subnet will be used
+       for the gateway which is the PPPoE server itself.
+       +
+       The subnet must at least have two IP addresses.
+
+`--mtu=MTU`::
+       Set the required MTU (Maximum Transmission Unit) for the PPP connection.
+       The default value is 1492 bytes which is a common MTU for DSL connections.
+
+`--service-name=SERVICE NAME`::
+       This option receives a string which will be used as the service name. The
+       service name is sent out to the clients and used for identification but
+       not authorisation purposes.
+       +
+       The default is an empty value.
+
+`--max-sessions=0`::
+       Limit the number of sessions that may be established by the same MAC address.
+       This must be a positive number.
+       0 permits an unlimited number of sessions per MAC address.
+
+== EXAMPLES
+
+This command creates a PPPoE server that will assign an IP address from the
+192.168.0.0/16 subnet:
+
+  network zone net0 config create pppoe-server --subnet=192.168.0.0/16
+
+== SEE ALSO
+link:network[8],
+link:network-zone[8],
+link:network-zone-config[8]
diff --git a/man/network-zone-config-pppoe-server.xml b/man/network-zone-config-pppoe-server.xml
deleted file mode 100644 (file)
index e6d497e..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN"
-       "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-
-<refentry id="network-zone-config-pppoe-server">
-       <refentryinfo>
-               <title>network-zone-config-pppoe-server</title>
-               <productname>network</productname>
-
-               <authorgroup>
-                       <author>
-                               <contrib>Developer</contrib>
-                               <firstname>Michael</firstname>
-                               <surname>Tremer</surname>
-                               <email>michael.tremer@ipfire.org</email>
-                       </author>
-               </authorgroup>
-       </refentryinfo>
-
-       <refmeta>
-               <refentrytitle>network-zone-config-pppoe-server</refentrytitle>
-               <manvolnum>8</manvolnum>
-       </refmeta>
-
-       <refnamediv>
-               <refname>network-zone-config-pppoe-server</refname>
-               <refpurpose>Network Configuration Control Program</refpurpose>
-       </refnamediv>
-
-       <refsynopsisdiv>
-               <cmdsynopsis>
-                       <command>network zone <replaceable>ZONE</replaceable> config create pppoe-server ...</command>
-               </cmdsynopsis>
-       </refsynopsisdiv>
-
-       <refsect1>
-               <title>Description</title>
-
-               <para>
-                       This configuration hook enables a <emphasis>PPPoE server</emphasis>
-                       functionality to a zone which is of an ethernet-like type.
-               </para>
-               <para>
-                       The PPPoE server is mostly for development purpose and performs pretty
-                       well. However, it is not recommended to use it in production environments.
-               </para>
-       </refsect1>
-
-       <refsect1>
-               <title>Options</title>
-
-               <para>
-                       The following options are understood:
-               </para>
-
-               <variablelist>
-                       <varlistentry>
-                               <term>
-                                       <option>--subnet=<replaceable>SUBNET</replaceable></option>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               The <option>--subnet</option> option defines an IPv4 pool
-                                               of which IP addresses are assigned to the remote hosts.
-                                               The first address of the subnet will be used for the
-                                               gateway which is the PPPoE server itself.
-                                       </para>
-                                       <para>
-                                               The subnet must at least have two IP addresses.
-                                               Broadcast and network addresses will be used as well.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <option>--mtu=<replaceable>MTU</replaceable></option>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Set the required MTU (Maximum Transmission Unit) for
-                                               the PPP connection.
-                                       </para>
-                                       <para>
-                                               The default value is 1492 bytes which is a common MTU for
-                                               DSL connections.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <option>--service-name=<replaceable>STRING</replaceable></option>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               This options receives a string which will be used as the
-                                               service name. The service name is sent out to the clients
-                                               and used for identification but not authorization purposes.
-                                       </para>
-                                       <para>
-                                               The default is an empty value.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-
-                       <varlistentry>
-                               <term>
-                                       <option>--max-sessions=<emphasis>0</emphasis></option>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               Limit the max. number of sessions that may be established
-                                               by the same MAC address.
-                                       </para>
-                                       <para>
-                                               This must be a positive number. 0 permits an unlimited
-                                               number of sessions per MAC address.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-               </variablelist>
-       </refsect1>
-
-       <refsect1>
-               <title>See Also</title>
-
-               <para>
-                       <citerefentry>
-                               <refentrytitle>network</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>,
-                       <citerefentry>
-                               <refentrytitle>network-zone-config</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>
-               </para>
-       </refsect1>
-</refentry>