2002-11-17 04:26:30 +03:00
|
|
|
.\" $NetBSD: wiconfig.8,v 1.24 2002/11/17 01:26:30 wiz Exp $
|
2000-02-04 10:59:45 +03:00
|
|
|
.\"
|
1999-07-15 02:33:33 +04:00
|
|
|
.\" Copyright (c) 1997, 1998, 1999
|
|
|
|
.\" Bill Paul <wpaul@ctr.columbia.edu> All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Bill Paul.
|
|
|
|
.\" 4. Neither the name of the author nor the names of any co-contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
2002-01-16 15:01:12 +03:00
|
|
|
.\" without specific prior written permission.
|
1999-07-15 02:33:33 +04:00
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
|
|
.\" THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2000-02-04 10:59:45 +03:00
|
|
|
.\" From: wicontrol.8,v 1.6 1999/05/22 16:12:47 wpaul Exp $
|
1999-07-15 02:33:33 +04:00
|
|
|
.\"
|
2002-11-17 04:26:30 +03:00
|
|
|
.Dd November 16, 2002
|
1999-07-15 02:43:17 +04:00
|
|
|
.Dt WICONFIG 8
|
2000-02-04 10:59:45 +03:00
|
|
|
.Os
|
1999-07-15 02:33:33 +04:00
|
|
|
.Sh NAME
|
1999-07-15 02:43:17 +04:00
|
|
|
.Nm wiconfig
|
1999-07-15 02:33:33 +04:00
|
|
|
.Nd configure WaveLAN/IEEE devices
|
|
|
|
.Sh SYNOPSIS
|
1999-07-15 02:43:17 +04:00
|
|
|
.Nm wiconfig
|
2000-02-04 10:59:45 +03:00
|
|
|
.Ar interface
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl \&Do
|
2000-07-04 09:20:03 +04:00
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl a Ar access point density
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl d Ar max data length
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl M Ar 0|1
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl m Ar MAC address
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl R Ar 1|3
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl r Ar RTS threshold
|
2000-08-23 23:01:04 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2002-11-17 04:26:30 +03:00
|
|
|
.Op Fl s Ar station name
|
2002-01-16 15:01:12 +03:00
|
|
|
.Ek
|
1999-07-15 02:33:33 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2002-02-03 12:19:55 +03:00
|
|
|
command controls the operation of
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
wireless networking devices via the
|
1999-07-15 02:33:33 +04:00
|
|
|
.Xr wi 4
|
2000-02-04 10:59:45 +03:00
|
|
|
and
|
|
|
|
.Xr awi 4
|
2002-02-03 12:19:55 +03:00
|
|
|
drivers.
|
|
|
|
The
|
1999-07-15 02:33:33 +04:00
|
|
|
.Nm
|
2000-07-03 14:16:10 +04:00
|
|
|
command can also be used to view the current settings of these parameters
|
1999-07-15 02:33:33 +04:00
|
|
|
and to dump out the values of the card's statistics counters.
|
|
|
|
.Pp
|
2002-02-03 12:19:55 +03:00
|
|
|
Most of the parameters that can be changed relate to the
|
|
|
|
.Tn IEEE
|
|
|
|
802.11 protocol which the
|
|
|
|
.Tn WaveLAN
|
|
|
|
implements.
|
|
|
|
This includes the station name, whether the station is operating
|
|
|
|
in ad-hoc (point to point) or BSS (service set) mode, and the
|
|
|
|
network name of a service set to join (IBSS) if BSS mode is enabled.
|
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
The
|
|
|
|
.Ar iface
|
|
|
|
argument given to
|
|
|
|
.Nm
|
2002-02-03 12:19:55 +03:00
|
|
|
should be the logical interface name associated with the
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
device (e.g. wi0, wi1, etc.).
|
1999-07-15 02:33:33 +04:00
|
|
|
.Sh OPTIONS
|
2000-07-04 09:20:03 +04:00
|
|
|
With no extra options,
|
|
|
|
.Nm
|
2002-02-03 12:19:55 +03:00
|
|
|
will display the current settings of the specified
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
interface.
|
2000-07-04 09:20:03 +04:00
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
The options are as follows:
|
2000-02-04 10:59:45 +03:00
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
.Bl -tag -width Fl
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl a Ar access_point_density
|
1999-07-15 02:33:33 +04:00
|
|
|
Specify the
|
|
|
|
.Ar access point density
|
2002-11-17 04:26:30 +03:00
|
|
|
for a given interface.
|
|
|
|
Legal values are 1 (low), 2 (medium), and 3 (high).
|
1999-07-15 02:33:33 +04:00
|
|
|
This setting influences some of the radio modem threshold settings.
|
2002-11-17 04:26:30 +03:00
|
|
|
.It Fl D
|
|
|
|
This forces the driver to initiate one round of access point scanning.
|
|
|
|
All of the access points found are displayed.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl d Ar max_data_length
|
1999-07-15 02:33:33 +04:00
|
|
|
Set the maximum receive and transmit frame size for a specified interface.
|
|
|
|
The
|
|
|
|
.Ar max data length
|
2002-11-17 04:26:30 +03:00
|
|
|
can be any number from 256 to 2346.
|
|
|
|
The default is 2304.
|
2000-08-23 23:01:04 +04:00
|
|
|
.It Fl M Ar 0|1
|
|
|
|
Enable or disable
|
2002-02-03 12:19:55 +03:00
|
|
|
.Qq microwave oven robustness
|
2001-04-03 15:42:40 +04:00
|
|
|
on a given interface.
|
2002-11-17 04:26:30 +03:00
|
|
|
.It Fl m Ar MAC address
|
|
|
|
Set the station address for the specified interface.
|
|
|
|
The
|
|
|
|
.Ar MAC address
|
|
|
|
is specified as a series of six hexadecimal values separated by colons,
|
|
|
|
e.g. 00:60:1d:12:34:56.
|
|
|
|
This programs the new address into the card and updates the interface as well.
|
|
|
|
.It Fl o
|
|
|
|
Print out the statistics counters instead of the card settings.
|
|
|
|
Note that, however, the statistics will only be updated every minute or so.
|
2001-05-15 08:16:21 +04:00
|
|
|
.It Fl R Ar 1|3
|
|
|
|
Enable or disable roaming function on a given interface.
|
|
|
|
The legal values are
|
|
|
|
.Ar 1
|
|
|
|
(Roaming handled by firmware) and
|
|
|
|
.Ar 3
|
2002-11-17 04:26:30 +03:00
|
|
|
(Roaming Disabled).
|
|
|
|
The default is 1.
|
|
|
|
.It Fl r Ar RTS threshold
|
|
|
|
Set the RTS/CTS threshold for a given interface.
|
|
|
|
This controls the number of bytes used for the RTS/CTS handshake boundary.
|
|
|
|
The
|
|
|
|
.Ar RTS threshold
|
|
|
|
can be any value between 0 and 2347.
|
|
|
|
The default is 2347, which indicates RTS/CTS mechanism never to be used.
|
|
|
|
.It Fl s Ar station name
|
|
|
|
Sets the
|
|
|
|
.Ar station name
|
|
|
|
for the specified interface. The
|
|
|
|
.Ar station name
|
|
|
|
is used for diagnostic purposes.
|
|
|
|
The
|
|
|
|
.Tn Lucent
|
|
|
|
.Tn WaveMANAGER
|
|
|
|
software can poll the names of remote hosts.
|
1999-07-15 02:33:33 +04:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2000-02-04 10:59:45 +03:00
|
|
|
.Xr awi 4 ,
|
1999-07-15 02:33:33 +04:00
|
|
|
.Xr wi 4 ,
|
|
|
|
.Xr ifconfig 8
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command first appeared in
|
2000-02-04 11:01:43 +03:00
|
|
|
.Fx 3.0 ,
|
2000-11-07 08:44:50 +03:00
|
|
|
as
|
2001-04-03 15:42:40 +04:00
|
|
|
.Ic wicontrol .
|
2000-11-07 08:44:50 +03:00
|
|
|
It was added to
|
2000-02-04 11:01:43 +03:00
|
|
|
.Nx 1.5
|
|
|
|
under its present name.
|
2002-01-16 15:01:12 +03:00
|
|
|
.Sh AUTHORS
|
1999-07-15 02:33:33 +04:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command was written by
|
|
|
|
.An Bill Paul Aq wpaul@ctr.columbia.edu .
|