waproamd @PACKAGE_VERSION@

Copyright 2003 Lennart Poettering <@PACKAGE_BUGREPORT@>

License

This program 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.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

News

Fri Oct 17 2003:

Version 0.3b released, changes include: minor bug fixes.

Fri Oct 17 2003:

Version 0.3 released, changes include: split aeswepd into its own package, add documentation, several bug fixes.

Overview

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

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

Status

Version 0.3 works fine on hostap 0.0.4 and airolan. Other driver/card combinations not tested, but may work too.

Documentation

Have a look on the man pages waproamd(8), waproamd.conf(5). (An XSLT capable browser is required)

Mode of Operation

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.

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.

Configuration

Edit /etc/waproamd/waproamd.conf for configuration changes. This file is a bourne shell script sourced by the init script and used to generate a suiting command line. You may specify more than one ethernet interface in INTERFACES. For each interface a seperate instance of waproamd is spawned. The arguments specified in ARGS are append to waproamd's command line. Have a look on waproamd -h or man waproamd for further information about the options available.

Put your WEP keys in /etc/waproamd/keys/ in files named after the AP's MAC address with an appended .wep. If the AP uses aeswepd for automatic rekeying, you may put the AES key into a file with the suffix .aes instead.

The configuration is similar to ifplugd.

Troubleshooting

Not all drivers/cards support the wireless event subsystem of the Linux wireless extensions. Its support on your machine cannot be detected automatically, you have to test it yourself with "iwlist scan". See man 8 iwlist for more information. If your driver/card combination does not support this, you have to enable polling of association status by passing -e on the command line. This will increase the reaction latency of waproamd.

Requirements

A newer Linux Kernel with a compatible device driver and WLAN NIC (Wireless extensions v15 or newer). Most modern cards and drivers are compatible, like mines which work with the hostap driver, version 0.0.3 and above. The driver has to support the scanning interface, wireless event support ist nice to have.

waproamd was developed and tested on Debian GNU/Linux "testing" from October 2003, it should work on most other Linux distributions since it uses GNU autoconf for source code configuration.

The machines used for development are a Medion 9580-F laptop with a TEAC and a ZONET PCMCIA WLAN NIC. Both cards feature a PRISM2 chipset. hostap 0.0.4 was used as driver.

waproamd needs libdaemon.

Installation

As this package is made with the GNU autotools you should run ./configure inside the distribution directory for configuring the source tree. After that you should run make for compilation and make install (as root) for installation of waproamd.

The installation scripts create an init script in ${sysconfdir}/init.d/waproamd, however no /etc/rc?.d/ links are created for it.

Acknowledgements

Thomas Hood for patches

Download

The newest release is always available from @PACKAGE_URL@

The current release is @PACKAGE_VERSION@

Get waproamd's development sources from the Subversion repository.


Lennart Poettering <@PACKAGE_BUGREPORT@>, October 2003
$Id$