From 438052747029e2ae78c672ba5af932520bcc7bb9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 16 Oct 2003 17:36:56 +0000 Subject: man pages git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@19 022f378f-78c4-0310-b860-d162c87e6274 --- man/Makefile.am | 43 ++++++++++ man/waproamd.8.xml.in | 203 +++++++++++++++++++++++++++++++++++++++++++++ man/waproamd.conf.5.xml.in | 78 +++++++++++++++++ man/xmltoman.css | 30 +++++++ man/xmltoman.xsl | 120 +++++++++++++++++++++++++++ 5 files changed, 474 insertions(+) create mode 100644 man/Makefile.am create mode 100644 man/waproamd.8.xml.in create mode 100644 man/waproamd.conf.5.xml.in create mode 100644 man/xmltoman.css create mode 100644 man/xmltoman.xsl (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..0ff9a4d --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,43 @@ +# $Id$ + +# This file is part of waproamd. +# +# waproamd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# waproamd is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with waproamd; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +man_MANS = waproamd.8 waproamd.conf.5 + +noinst_DATA = waproamd.8.xml waproamd.conf.5.xml + +EXTRA_DIST = $(man_MANS) waproamd.8.xml.in waproamd.conf.5.xml.in man.css man.xsl + +CLEANFILES = waproamd.8.xml waproamd.conf.5.xml + +waproamd.8.xml: waproamd.8.xml.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +waproamd.conf.5.xml: waproamd.conf.5.xml.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +if USE_XMLTOMAN + +CLEANFILES += $(man_MANS) + +waproamd.conf.5: waproamd.conf.5.xml Makefile + xmltoman $< > $@ + +waproamd.8: waproamd.8.xml Makefile + xmltoman $< > $@ + +endif diff --git a/man/waproamd.8.xml.in b/man/waproamd.8.xml.in new file mode 100644 index 0000000..73ff3ea --- /dev/null +++ b/man/waproamd.8.xml.in @@ -0,0 +1,203 @@ + + + + + + + + + + + + waproamd [options] + + +

waproamd is a roaming daemon for wireless NICs + supporting the Linux wireless extensions. It is intended to + configure the WEP keys according to the networks found.

+ +

As long as the local NIC is not associated to any wireless + network waproamd scans iteratively for them. If one is detected, + a script in @sysconfdir@/waproamd/scripts/ named + after the MAC address of the access point is called. If this + script is not existent, + @sysconfdir@/waproamd/scripts/default is called + instead. The first argument to this script is "start". If the + association is lost, the same script is run with the argument + "stop". While the NIC is associated no scans are issued.

+ +

waproamd is intended to be used together with + ifplugd. Whenever an association succeeds, ifplugd detects it + and runs further configuration commands for it.

+ +

If multiple WLANs are detected at the same time, the network + which is detected by the hardware first is selected. However, + networks where a matching script exists take precedence.

+ +

waproamd requires a network driver supporting the Linux + wireless extensions v15 or newer. The driver needs to support + scanning for wireless networks, which may be tested by running + "iwlist scan". If the driver supports the wireless event + subsystem, waproamd may use it to improve latency + behaviour. It is not required, however.

+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

@sysconfdir@/waproamd/waproamd.conf: this file is sourced + by the init script @sysconfdir@/init.d/waproamd and + contains the interface to be monitored and the options to be + used.

+ +

@sysconfdir@/waproamd/scripts/<AP MAC + address>: this is called whenever a wireless network + controlled by an AP with a matching address is detected. The MAC + address is formatted lowercase. Takes the same arguments as the + following script:

+ +

@sysconfdir@/waproamd/scripts/default: this is + the script which is called whenever no script named after the + AP MAC address is found. It takes a single argument: either + "start" or "stop". An environment variable AP is set to the + MAC address of the access point found. An environment variable + IFACE is set to the network interface name. The default + implementation of this script looks for a file + @sysconfdir@/waproamd/keys/<AP MAC + address>.wep. If it exists its contents is used to + set the WEP key of the NIC. Otherwise the script looks for a + file @sysconfdir@/waproamd/keys/<AP + MAC address>.aes. If it exists the AES WEP rekeying daemon + is called. Otherwise WEP + encryption is disabled.

+ + +

/var/run/waproamd.<iface>.pid: the pid file + for waproamd.

+ +
+
+

SIGINT, SIGTERM, SIGTQUIT waproamd will quit. This is issued by passing -k to waproamd.

+

SIGHUP waproamd will rescan for available networks immediately.

+
+ +
+

waproamd was written by Lennart Poettering + <@PACKAGE_BUGREPORT@>. waproamd is available + at +

+
+ +
+

+ , , , +

+
+ +
+

This man page was written using by Oliver Kurth.

+
+ +
diff --git a/man/waproamd.conf.5.xml.in b/man/waproamd.conf.5.xml.in new file mode 100644 index 0000000..91e629b --- /dev/null +++ b/man/waproamd.conf.5.xml.in @@ -0,0 +1,78 @@ + + + + + + + + + + + + @sysconfdir@/waproamd/waproamd.conf + + + +

waproamd.conf is the configuration file for waproamd. It is a + shell script that is sourced by the init script starting + the daemon. It shall be used to set environment variables which + are interpreted by the init script:

+
+ + + + + + + + + + + +
+

+ +

+
+ +
+

This man page was written using by Oliver Kurth.

+
+ +
diff --git a/man/xmltoman.css b/man/xmltoman.css new file mode 100644 index 0000000..e96806b --- /dev/null +++ b/man/xmltoman.css @@ -0,0 +1,30 @@ +/* $Id$ */ + +/*** + This file is part of waproamd. + + waproamd is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your + option) any later version. + + waproamd is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with waproamd; if not, write to the Free Software Foundation, + Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +***/ + +body { color: black; background-color: white; margin: 0.5cm; } +a:link, a:visited { color: #900000; } +h1 { text-transform:uppercase; font-size: 18pt; color: #00009F; } +p { margin-left:1cm; margin-right:1cm; } +.cmd { font-family:monospace; } +.file { font-family:monospace; } +.arg { text-transform:uppercase; font-family:monospace; font-style: italic; } +.opt { font-family:monospace; font-weight: bold; } +.manref { font-family:monospace; } +.option .optdesc { margin-left:2cm; } diff --git a/man/xmltoman.xsl b/man/xmltoman.xsl new file mode 100644 index 0000000..5e556f8 --- /dev/null +++ b/man/xmltoman.xsl @@ -0,0 +1,120 @@ + + + + + + + + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + + + + + + <xsl:value-of select="@name"/>(<xsl:value-of select="@section"/>) + + + + +

Name

+

+ + - + +

+ + + +
+ + +

+ +

+
+ + +

+ +

+
+ + + + + + + + + + + + + + +
+ +
+
+ + +

Synopsis

+ +
+ + +

Synopsis

+ +
+ + +

Description

+ +
+ + +

Options

+ +
+ + +

+ +
+ + +
+
+ + + + + () + + + () + + + + + + + + +
-- cgit