]> git.ipfire.org Git - people/ms/network.git/commitdiff
docs: Add man page for modem zone hook
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Mar 2016 22:50:25 +0000 (22:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 16 Mar 2016 22:50:25 +0000 (22:50 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
man/network-zone-modem.xml [new file with mode: 0644]

index 19f8e0c3cf44ebaf2e9ac3bfd3d1fbd18213db9d..0a4db571ebcd77b2b65e56ece4c9517b42a01bbe 100644 (file)
@@ -333,6 +333,7 @@ MANPAGES = \
        man/network.8 \
        man/network-device.8 \
        man/network-dns-server.8 \
+       man/network-port.8 \
        man/network-port-batman-adv.8 \
        man/network-port-batman-adv-port.8 \
        man/network-quick-start.8 \
@@ -344,6 +345,7 @@ MANPAGES = \
        man/network-zone-aiccu.8 \
        man/network-zone-bridge.8 \
        man/network-zone-config-pppoe-server.8 \
+       man/network-zone-modem.8 \
        man/network-zone-pppoe.8
 
 MANPAGES_XML  = $(patsubst %.8,%.xml,$(MANPAGES))
diff --git a/man/network-zone-modem.xml b/man/network-zone-modem.xml
new file mode 100644 (file)
index 0000000..b3948bb
--- /dev/null
@@ -0,0 +1,236 @@
+<?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-modem">
+       <refentryinfo>
+               <title>network-zone-modem</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-modem</refentrytitle>
+               <manvolnum>8</manvolnum>
+       </refmeta>
+
+       <refnamediv>
+               <refname>network-zone-modem</refname>
+               <refpurpose>Network Configuration Control Program</refpurpose>
+       </refnamediv>
+
+       <refsynopsisdiv>
+               <cmdsynopsis>
+                       <command>network zone new <replaceable>ZONE</replaceable> modem ...</command>
+               </cmdsynopsis>
+       </refsynopsisdiv>
+
+       <refsect1>
+               <title>Description</title>
+
+               <para>
+                       The modem hook uses a serial interface to establish a PPP session to an
+                       Internet Service Provider. This method is used by 56k modems and mobile
+                       networks like LTE, GSM and 3G.
+               </para>
+       </refsect1>
+
+       <refsect1>
+               <title>Options</title>
+
+               <para>
+                       The following options are understood:
+               </para>
+
+               <variablelist>
+                       <varlistentry>
+                               <term>
+                                       <option>--device=<replaceable>DEVICE</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Sets the serial device that is used to connect.
+                                       </para>
+                                       <para>
+                                               Example: /dev/ttyUSB0
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--monitor-device=<replaceable>DEVICE</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The optional monitor device is used to collect status
+                                               information like signal strength and link quality while
+                                               the connection is established.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--imsi=<replaceable>IMSI</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Set the IMSI of the SIM card inside the wireless modem
+                                               to identify it when it is plugged in at runtime.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--pin=<replaceable>PIN</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The PIN number of the SIM card.
+                                       </para>
+                                       <para>
+                                               This will be used to unlock the SIM card when it
+                                               is locked.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--apn=<replaceable>APN</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Sets the Access Point Name (<replaceable>APN</replaceable>)
+                                               that the modem connects to.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--phone-number=<replaceable>PHONE-NUMBER</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Sets the phone number that is dialed by the modem when
+                                               the connection is to be established.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--username=<replaceable>USERNAME</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Sets the username for authentication.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--password=<replaceable>PASSWORD</replaceable></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Sets the password for authentication.
+                                       </para>
+                                       <para>
+                                               Use the <option>--auth=</option> option to transmit it
+                                               in a secure manner to the provider.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--baudrate=<emphasis>921600</emphasis></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               The baudrate for the serial link to the modem.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--mtu=<emphasis>1492</emphasis></option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Sets the default MTU of the PPP connection.
+                                               The default value is 1492.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+
+                       <varlistentry>
+                               <term>
+                                       <option>--auth=[chap|pap]</option>
+                               </term>
+
+                               <listitem>
+                                       <para>
+                                               Define the authentication method that is used to
+                                               authenticate against your provider.
+                                               The default is to use the provider's preference.
+                                       </para>
+                                       <itemizedlist>
+                                               <listitem>
+                                                       <para>
+                                                               <emphasis>Challange-Handshake Authentication Protocol</emphasis>
+                                                               (chap) is the preferred secure method.
+                                                       </para>
+                                               </listitem>
+                                               <listitem>
+                                                       <para>
+                                                               <emphasis>Password Authentication Protocol</emphasis>
+                                                               (pap) sends the plaintext password to the authentication
+                                                               server which is the reason why it should be avoided to use PAP.
+                                                       </para>
+                                               </listitem>
+                                       </itemizedlist>
+                               </listitem>
+                       </varlistentry>
+               </variablelist>
+       </refsect1>
+
+       <refsect1>
+               <title>See Also</title>
+
+               <para>
+                       <citerefentry>
+                               <refentrytitle>network</refentrytitle>
+                               <manvolnum>8</manvolnum>
+                       </citerefentry>,
+                       <citerefentry>
+                               <refentrytitle>network-zone</refentrytitle>
+                               <manvolnum>8</manvolnum>
+                       </citerefentry>
+               </para>
+       </refsect1>
+</refentry>