1999-05-05 07:37:11 +00: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
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
2002-05-03 05:39:16 +00:00
|
|
|
.\" $OpenBSD: wi.4tbl,v 1.14 2002/04/29 19:53:50 jsyn Exp $
|
1999-05-05 07:37:11 +00:00
|
|
|
.\"
|
2003-02-24 22:53:26 +00:00
|
|
|
.Dd February 17, 2003
|
2001-02-20 11:07:27 +00:00
|
|
|
.Dt WI 4
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1999-05-05 07:37:11 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm wi
|
2003-02-24 22:53:26 +00:00
|
|
|
.Nd "Lucent Hermes, Intersil PRISM and Spectrum24 IEEE 802.11 driver"
|
1999-05-05 07:37:11 +00:00
|
|
|
.Sh SYNOPSIS
|
2000-01-23 17:00:18 +00:00
|
|
|
.Cd "device wi"
|
2003-07-18 11:40:41 +00:00
|
|
|
.Cd "device wlan"
|
1999-05-05 07:37:11 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2002-05-02 22:51:40 +00:00
|
|
|
driver provides support for wireless network adapters based around
|
2003-02-11 17:40:56 +00:00
|
|
|
the Lucent Hermes, Intersil PRISM-II, Intersil PRISM-2.5, Intersil
|
|
|
|
Prism-3, and Symbol Spectrum24 chipsets.
|
|
|
|
All five chipsets provide a similar interface to the driver.
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
|
|
|
Supported features include 802.11 and 802.3 frames, power management, BSS,
|
2002-05-04 04:59:20 +00:00
|
|
|
IBSS, WDS and old-style Lucent ad-hoc operation modes.
|
2003-02-11 17:40:56 +00:00
|
|
|
Cards based on the Intersil PRISM chips also support a host-based
|
|
|
|
access point mode which allows a card to act as a normal access point
|
|
|
|
(with some assistance from the
|
1999-05-05 07:37:11 +00:00
|
|
|
.Nm
|
2002-05-02 22:51:40 +00:00
|
|
|
driver).
|
|
|
|
The Lucent Hermes and Symbol Spectrum24 chipsets do not contain this
|
|
|
|
functionality.
|
2003-02-11 17:40:56 +00:00
|
|
|
The PRISM family of chips do not support the WDS functionality.
|
|
|
|
All host/device interaction is via programmed I/O, even on those cards
|
|
|
|
that support a DMA interface.
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
2000-03-02 14:54:02 +00:00
|
|
|
The
|
1999-05-05 07:37:11 +00:00
|
|
|
.Nm
|
|
|
|
driver encapsulates all IP and ARP traffic as 802.11 frames, however
|
2000-03-02 14:54:02 +00:00
|
|
|
it can receive either 802.11 or 802.3 frames.
|
2003-02-11 17:40:56 +00:00
|
|
|
Transmit speed is selectable between 1Mbps, 2Mbps, 5.5 Mbps and 11Mbps
|
|
|
|
depending on your hardware.
|
|
|
|
Most hardware supports 11Mbps where the signal quality allows, but
|
|
|
|
falls back to slower speeds when it does not.
|
|
|
|
Except for the Lucent WaveLAN Bronze cards, all cards supported by the
|
|
|
|
.Nm
|
|
|
|
driver support WEP for encryption.
|
2003-08-13 12:54:55 +00:00
|
|
|
To enable encryption, use
|
2002-05-03 05:39:16 +00:00
|
|
|
.Xr ifconfig 8
|
|
|
|
as shown below.
|
1999-05-05 07:37:11 +00:00
|
|
|
.Pp
|
|
|
|
By default, the
|
|
|
|
.Nm
|
2002-05-02 22:51:40 +00:00
|
|
|
driver configures the card for BSS operation (aka infrastructure
|
|
|
|
mode).
|
|
|
|
This mode requires the use of an access point (base station).
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
2003-02-11 17:40:56 +00:00
|
|
|
driver also supports a point-to-point mode
|
|
|
|
where stations can communicate amongst themselves without the
|
2002-05-04 04:59:20 +00:00
|
|
|
aid of an access point.
|
|
|
|
Note that there are two possible point-to-point modes.
|
2002-05-02 22:51:40 +00:00
|
|
|
One mode, referred to as
|
2002-05-30 10:33:19 +00:00
|
|
|
.Dq "ad-hoc demo mode" ,
|
2002-05-04 04:59:20 +00:00
|
|
|
or
|
2002-05-30 10:33:19 +00:00
|
|
|
.Dq "legacy Lucent ad-hoc mode" ,
|
2002-05-02 22:51:40 +00:00
|
|
|
predates the IEEE 802.11 specification and so may not interoperate
|
2002-05-04 04:59:20 +00:00
|
|
|
with cards from different vendors.
|
2003-08-13 12:54:55 +00:00
|
|
|
The standardized point-to-point mode is called IBSS (or confusingly
|
2002-05-04 04:59:20 +00:00
|
|
|
just ad-hoc mode), but is not supported by cards with very old
|
|
|
|
firmware revisions.
|
|
|
|
If your cards supports IBSS mode, it is recommended that you use it in
|
|
|
|
preference to the
|
2002-05-30 10:33:19 +00:00
|
|
|
.Dq "ad-hoc demo mode"
|
2002-05-04 04:59:20 +00:00
|
|
|
in new installations.
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
2003-02-24 04:23:56 +00:00
|
|
|
Cards supported by the driver based on the Intersil PRISM family of chips also
|
2002-05-02 22:51:40 +00:00
|
|
|
have a host-based access point mode which allows the card to
|
|
|
|
act as an access point (base station).
|
2002-05-04 04:59:20 +00:00
|
|
|
Access points are different than operating in IBSS mode.
|
|
|
|
They operate in BSS mode.
|
|
|
|
They allow for easier roaming and bridge all ethernet traffic such
|
|
|
|
that machines connected via an access point appear to be on the local
|
|
|
|
ethernet segment.
|
1999-05-05 07:37:11 +00:00
|
|
|
.Pp
|
|
|
|
For more information on configuring this device, see
|
2002-05-02 22:51:40 +00:00
|
|
|
.Xr ifconfig 8 .
|
|
|
|
.Pp
|
|
|
|
Cards supported by the
|
|
|
|
.Nm
|
|
|
|
driver come in a variety of packages, though the most common
|
|
|
|
are of the PCMCIA type.
|
|
|
|
In many cases, the PCI version of a wireless card is simply
|
|
|
|
a PCMCIA card bundled with a PCI adapter.
|
|
|
|
The PCI adapters come in two flavors: true PCMCIA bridges and
|
|
|
|
dumb PCMCIA bridges.
|
|
|
|
A true PCMCIA bridge (such as those sold by Lucent) will attach
|
|
|
|
as a real PCMCIA controller.
|
|
|
|
The wireless card will then attach to the PCMCIA bus.
|
|
|
|
Wireless cards in PCMCIA slots may be inserted and ejected on the fly.
|
2002-05-30 10:33:19 +00:00
|
|
|
.Pp
|
2002-05-02 22:51:40 +00:00
|
|
|
A dumb bridge, on the other hand, does not show up as a true PCMCIA bus.
|
|
|
|
The wireless card will simply appear to the host as a normal PCI
|
|
|
|
device and will not require any PCMCIA support.
|
|
|
|
Cards in this type of adapter should only be removed when the
|
|
|
|
machine is powered down.
|
|
|
|
.Pp
|
2002-05-03 05:39:16 +00:00
|
|
|
The following cards are among those supported by the
|
2002-05-02 22:51:40 +00:00
|
|
|
.Nm
|
|
|
|
driver:
|
|
|
|
.Pp
|
2002-05-30 10:33:19 +00:00
|
|
|
.Bl -column -compact "Linksys Instant Wireless WPC11 2.5" "Spectrum24" "PCI or PCMCIA"
|
|
|
|
.Em "Card Chip Bus"
|
|
|
|
3Com AirConnect 3CRWE737A Spectrum24 PCMCIA
|
|
|
|
3Com AirConnect 3CRWE777A Prism-II PCI
|
|
|
|
ACTIONTEC HWC01170 Prism-2.5 PCMCIA
|
|
|
|
Addtron AWP-100 Prism-II PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Adtec Adlink/340C Prism-II PCMCIA
|
2003-07-15 07:27:57 +00:00
|
|
|
Airvast WN 100 Prism-3 PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
Agere Orinoco Hermes PCMCIA
|
2003-03-27 19:33:22 +00:00
|
|
|
Allied Telesis WR211PCM Prism-II PCMCIA
|
2003-02-17 18:21:51 +00:00
|
|
|
ArTem OnAir Prism? PCMCIA
|
2003-07-11 09:25:18 +00:00
|
|
|
Asus WL100 Prism-2.5 PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Avaya Wireless Prism-II PCMCIA
|
2003-02-17 18:21:51 +00:00
|
|
|
Bay eMobility 11B Prism-2.5? PCMCIA
|
|
|
|
Blue Concentric Circle WL-379F Prism-II CF
|
2002-07-30 06:58:27 +00:00
|
|
|
BreezeNet Wireless Prism-II PCMCIA
|
|
|
|
Buffalo WLI-PCM-S11 Prism-II PCMCIA
|
|
|
|
Buffalo WLI-PCM-L11G Hermes PCMCIA
|
|
|
|
Buffalo WLI-CF-S11G Prism-II CF
|
2003-07-05 00:31:51 +00:00
|
|
|
Buffalo WLI2-CF-S11G Prism 2.5 CF
|
2002-05-30 10:33:19 +00:00
|
|
|
Cabletron RoamAbout Hermes PCMCIA
|
|
|
|
Compaq Agency NC5004 Prism-II PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Compaq WL100 Prism-II PCMCIA
|
2003-09-10 19:34:51 +00:00
|
|
|
Compaq WL110 Hermes PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Compaq WL200 Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
Contec FLEXLAN/FX-DS110-PCC Prism-II PCMCIA
|
|
|
|
Corega PCC-11 Prism-II PCMCIA
|
|
|
|
Corega PCCA-11 Prism-II PCMCIA
|
|
|
|
Corega PCCB-11 Prism-II PCMCIA
|
|
|
|
Corega CGWLPCIA11 Prism-II PCI
|
2002-07-30 06:58:27 +00:00
|
|
|
Dell TrueMobile 1150 Hermes PCMCIA
|
2003-01-14 01:14:08 +00:00
|
|
|
Dlink Air 660 Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
Dlink DWL520 Prism-2.5 PCI
|
|
|
|
Dlink DWL650 Prism-2.5 PCMCIA
|
|
|
|
ELSA XI300 Prism-II PCMCIA
|
|
|
|
ELSA XI800 Prism-II CF
|
|
|
|
EMTAC A2424i Prism-II PCMCIA
|
|
|
|
Ericsson Wireless LAN CARD C11 Spectrum24 PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Farallon Skyline Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
Gemtek WL-311 Prism-2.5 PCMCIA
|
|
|
|
Hawking Technology WE110P Prism-2.5 PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Home Wireless Networks Prism-II PCMCIA
|
|
|
|
IBM High Rate Wireless Hermes PCMCIA
|
|
|
|
ICOM SL-1100 Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
I-O DATA WN-B11/PCM Prism-II PCMCIA
|
|
|
|
Intel PRO/Wireless 2011 Spectrum24 PCMCIA
|
|
|
|
Intersil Prism II Prism-II PCMCIA
|
|
|
|
Intersil Mini-PCI Prism-2.5 PCI
|
|
|
|
Linksys Instant Wireless WPC11 Prism-II PCMCIA
|
|
|
|
Linksys Instant Wireless WPC11 2.5 Prism-2.5 PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Linksys Instant Wireless WPC11 3.0 Prism-3 PCMCIA
|
2003-02-17 18:21:51 +00:00
|
|
|
Linksys WCF11 Prism-3 PCMCIA
|
2003-07-19 06:19:43 +00:00
|
|
|
Linksys WCF12 Prism-3 CF
|
2002-05-30 10:33:19 +00:00
|
|
|
Lucent WaveLAN Hermes PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Melco Airconnect Prism-II PCMCIA
|
2003-08-14 06:35:48 +00:00
|
|
|
Microsoft MN-520 WLAN Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
NANOSPEED ROOT-RZ2000 Prism-II PCMCIA
|
|
|
|
NDC/Sohoware NCP130 Prism-II PCI
|
|
|
|
NEC CMZ-RT-WP Prism-II PCMCIA
|
2003-04-10 17:04:03 +00:00
|
|
|
NEC PK-WL001 Lucent PCMCIA
|
2003-02-17 18:21:51 +00:00
|
|
|
NEC PC-WL/11C Prism-II PCMCIA
|
2003-04-05 13:07:44 +00:00
|
|
|
Netgear MA311 Prism-2.5 PCI
|
2003-06-20 04:27:55 +00:00
|
|
|
Netgear MA401 Prism-II/2.5 PCMCIA
|
2003-07-19 06:19:43 +00:00
|
|
|
Netgear MA401RA Prism-II PCMCIA
|
|
|
|
Netgear MA701 Prism-II CF
|
2003-07-15 07:27:57 +00:00
|
|
|
NOKIA C020 WLAN Prism-II PCMCIA
|
|
|
|
NOKIA C110 WLAN Prism-2.5 PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
NTT-ME 11Mbps Wireless LAN Prism-II PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Planex GeoWave/GW-NS110 Prism-II PCMCIA
|
|
|
|
Planex GW-NS11H Prism-II PCMCIA
|
|
|
|
Proxim Harmony Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
Proxim RangeLAN-DS Prism-II PCMCIA
|
|
|
|
Samsung MagicLAN SWL-2000N Prism-II PCMCIA
|
2003-07-15 03:41:13 +00:00
|
|
|
Siemens SpeedStream SS1021 Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
SMC 2602 EZ Connect (3.3V) Prism-II PCI or PCMCIA
|
|
|
|
SMC 2632 EZ Connect Prism-II PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Socket Low Power WLAN-CF Prism-II CF
|
|
|
|
Sony PCWA-C100 Lucent PCMCIA
|
2003-09-22 05:36:32 +00:00
|
|
|
Sony PEGA-WL110 Prism-2.5 PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
Symbol Spectrum24 Spectrum24 PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Symbol LA-4100 Spectrum24 CF
|
2002-05-30 10:33:19 +00:00
|
|
|
TDK LAK-CD011WL Prism-II PCMCIA
|
2002-07-30 06:58:27 +00:00
|
|
|
Toshiba Wireless LAN Card Prism-II PCMCIA
|
2002-06-14 06:56:03 +00:00
|
|
|
U.S. Robotics Wireless Card 2410 Prism-II PCMCIA
|
2003-03-27 19:33:22 +00:00
|
|
|
YIS YWL-11B Prism-II PCMCIA
|
2002-05-30 10:33:19 +00:00
|
|
|
.El
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
|
|
|
Several vendors sell PCI adapters built around the PLX Technology 9050
|
|
|
|
or 9052 chip.
|
|
|
|
The following such adapters are supported or expected to work:
|
|
|
|
.Pp
|
2003-05-20 22:09:18 +00:00
|
|
|
.Bl -item -compact
|
|
|
|
.It
|
|
|
|
3Com AirConnect 3CRWE777A (3.3V)
|
|
|
|
.It
|
|
|
|
Belkin F5D6000 (a rebadged WL11000P)
|
|
|
|
.It
|
|
|
|
Eumitcom WL11000P
|
|
|
|
.It
|
|
|
|
Global Sun Technology GL24110P (untested)
|
|
|
|
.It
|
|
|
|
Global Sun Technology GL24110P02
|
|
|
|
.It
|
|
|
|
LinkSys WDT11 (a rebadged GL24110P02)
|
|
|
|
.It
|
|
|
|
Netgear MA301
|
|
|
|
.It
|
|
|
|
US Robotics 2415 (rebadged WL11000P)
|
|
|
|
.It
|
|
|
|
Wisecom Wireless LAN PCI Adapter
|
2002-05-02 22:51:40 +00:00
|
|
|
.El
|
2003-04-05 07:41:52 +00:00
|
|
|
.Pp
|
2003-08-13 12:54:55 +00:00
|
|
|
The following adapters have the same model numbers as those listed
|
2003-04-05 07:41:52 +00:00
|
|
|
above, but might not work if the actual card is after the change away
|
2003-08-13 12:54:55 +00:00
|
|
|
from the Prism family:
|
|
|
|
.Pp
|
2003-05-20 22:09:18 +00:00
|
|
|
.Bl -item -compact
|
|
|
|
.It
|
|
|
|
DLink DWL520
|
2003-04-05 07:41:52 +00:00
|
|
|
.El
|
2002-05-02 22:51:40 +00:00
|
|
|
.Sh EXAMPLES
|
|
|
|
Join an existing BSS network (ie: connect to an access point):
|
2002-05-30 10:33:19 +00:00
|
|
|
.Pp
|
|
|
|
.Dl "ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00"
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
|
|
|
Join a specific BSS network with network name
|
2002-05-30 10:33:19 +00:00
|
|
|
.Dq Li my_net :
|
|
|
|
.Pp
|
|
|
|
.Dl "ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net"
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
|
|
|
Join a specific BSS network with WEP encryption:
|
2002-05-30 10:33:19 +00:00
|
|
|
.Bd -literal -offset indent
|
|
|
|
ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
|
2003-01-01 02:53:41 +00:00
|
|
|
wepmode on wepkey 0x8736639624
|
2002-05-02 22:51:40 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2002-05-04 04:59:20 +00:00
|
|
|
Join a Lucent legacy demo ad-hoc network with network name
|
2002-05-30 10:33:19 +00:00
|
|
|
.Dq Li my_net :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
|
2003-02-11 17:40:56 +00:00
|
|
|
media DS/11Mbps mediaopt adhoc,link0
|
2002-05-03 18:11:17 +00:00
|
|
|
.Ed
|
2002-05-30 10:33:19 +00:00
|
|
|
.Pp
|
2003-02-11 17:40:56 +00:00
|
|
|
Join/create an IBSS network with network name
|
2002-05-30 10:33:19 +00:00
|
|
|
.Dq Li my_net :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
ifconfig wi0 inet 192.168.0.22 netmask 0xffffff00 ssid my_net \e
|
2003-02-11 17:40:56 +00:00
|
|
|
media DS/11Mbps mediaopt adhoc
|
2002-05-02 22:51:40 +00:00
|
|
|
.Ed
|
2002-05-30 10:33:19 +00:00
|
|
|
.Pp
|
2002-05-02 22:51:40 +00:00
|
|
|
Create a host-based access point (Prism only):
|
2002-05-30 10:33:19 +00:00
|
|
|
.Bd -literal -offset indent
|
|
|
|
ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
|
2003-02-11 17:40:56 +00:00
|
|
|
media DS/11Mbps mediaopt hostap
|
2002-05-02 22:51:40 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Create a host-based access point with WEP enabled (Prism only):
|
2002-05-30 10:33:19 +00:00
|
|
|
.Bd -literal -offset indent
|
|
|
|
ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
|
2003-08-13 12:54:55 +00:00
|
|
|
wepmode on wepkey 0x1234567890 media DS/11Mbps \e
|
|
|
|
mediaopt hostap
|
2002-05-02 22:51:40 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Create a host-based wireless bridge to fxp0 (Prism only):
|
2002-05-30 10:33:19 +00:00
|
|
|
.Bd -literal -offset indent
|
2002-05-02 22:51:40 +00:00
|
|
|
Add BRIDGE to the kernel config.
|
2003-02-11 17:40:56 +00:00
|
|
|
ifconfig wi0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
|
2003-09-21 23:16:02 +00:00
|
|
|
sysctl net.link.ether.bridge.enable=1
|
|
|
|
sysctl net.link.ether.bridge.config="wi0 fxp0"
|
2002-05-30 10:33:19 +00:00
|
|
|
sysctl net.inet.ip.forwarding=1
|
2002-05-02 22:51:40 +00:00
|
|
|
.Ed
|
2002-05-30 10:33:19 +00:00
|
|
|
.Pp
|
2003-02-11 17:40:56 +00:00
|
|
|
This will give you the same functionality as an access point.
|
1999-05-05 07:37:11 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "wi%d: init failed"
|
2003-08-13 12:54:55 +00:00
|
|
|
The WaveLAN card failed to become ready after an initialization command
|
2002-05-02 22:51:40 +00:00
|
|
|
was issued.
|
1999-05-05 07:37:11 +00:00
|
|
|
.It "wi%d: failed to allocate %d bytes on NIC"
|
|
|
|
The driver was unable to allocate memory for transmit frames in the
|
|
|
|
NIC's on-board RAM.
|
2003-02-11 17:40:56 +00:00
|
|
|
This can also be an indication of an incorrectly configured interrupt.
|
2000-03-03 06:58:30 +00:00
|
|
|
.It "wi%d: device timeout"
|
2003-08-13 12:54:55 +00:00
|
|
|
The WaveLAN card failed to generate an interrupt to acknowledge a transmit
|
1999-05-05 07:37:11 +00:00
|
|
|
command.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2002-05-02 22:51:40 +00:00
|
|
|
.Xr an 4 ,
|
1999-05-05 07:37:11 +00:00
|
|
|
.Xr arp 4 ,
|
2003-07-18 11:40:41 +00:00
|
|
|
.Xr ath 4 ,
|
2003-02-27 20:45:54 +00:00
|
|
|
.Xr card 4 ,
|
2003-03-02 21:15:52 +00:00
|
|
|
.Xr netintro 4 ,
|
2003-02-27 20:45:54 +00:00
|
|
|
.Xr pccard 4 ,
|
2003-06-05 21:12:55 +00:00
|
|
|
.Xr pccbb 4 ,
|
2003-02-27 20:45:54 +00:00
|
|
|
.Xr pcic 4 ,
|
2003-07-18 11:40:41 +00:00
|
|
|
.Xr wlan 4 ,
|
1999-05-05 07:37:11 +00:00
|
|
|
.Xr ifconfig 8 ,
|
|
|
|
.Xr wicontrol 8
|
|
|
|
.Rs
|
|
|
|
.%T HCF Light programming specification
|
|
|
|
.%O http://www.wavelan.com
|
|
|
|
.Re
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
|
|
|
.Fx 3.0 .
|
1999-08-15 10:48:36 +00:00
|
|
|
.Sh AUTHORS
|
1999-05-05 07:37:11 +00:00
|
|
|
The
|
|
|
|
.Nm
|
2002-05-30 10:33:19 +00:00
|
|
|
driver was written by
|
|
|
|
.An Bill Paul Aq wpaul@ctr.columbia.edu .
|
2002-05-02 22:51:40 +00:00
|
|
|
This man page comes from
|
|
|
|
.Ox .
|
|
|
|
.Sh CAVEATS
|
2003-02-11 17:40:56 +00:00
|
|
|
Different regulatory domains have different default channels for adhoc
|
|
|
|
mode.
|
2002-05-02 22:51:40 +00:00
|
|
|
See
|
2003-02-11 17:40:56 +00:00
|
|
|
.Xr ifconfig 8
|
2002-05-02 22:51:40 +00:00
|
|
|
for information on how to change the channel.
|
2003-02-11 17:40:56 +00:00
|
|
|
See
|
|
|
|
.Xr wicontrol 8
|
|
|
|
for information on different regulatory domains.
|
2002-05-02 22:51:40 +00:00
|
|
|
.Pp
|
2003-02-11 17:40:56 +00:00
|
|
|
The Intersil Prism family of chips' host-based access point mode has
|
2003-03-01 18:26:49 +00:00
|
|
|
bugs for station firmware versions prior to 0.8.3.
|
2003-05-20 22:09:18 +00:00
|
|
|
The driver currently precludes hostap functionality with older station
|
2003-03-01 18:26:49 +00:00
|
|
|
firmware.
|
|
|
|
The best version of the station firmware for the Prism family of chips
|
2003-03-01 19:13:27 +00:00
|
|
|
seems to be 1.4.9.
|
2003-03-02 21:15:52 +00:00
|
|
|
Some users of Prism-II and 2.5 based cards report that station firmware
|
2003-03-01 19:13:27 +00:00
|
|
|
version 1.3.4 works better for them in hostap than 1.4.9.
|
|
|
|
Older versions of the Prism station firmware have a number of issues
|
2003-03-01 18:26:49 +00:00
|
|
|
with hostap mode.
|
2003-03-01 19:13:27 +00:00
|
|
|
The IBSS/adhoc mode appears to work well on station firmware 1.3.1 and
|
|
|
|
later.
|
|
|
|
The IBSS/adhoc mode appears to have problems for some people with
|
2003-03-01 18:26:49 +00:00
|
|
|
older versions of station firmware.
|
2002-05-03 18:11:17 +00:00
|
|
|
.Pp
|
2003-03-05 02:37:20 +00:00
|
|
|
Lucent cards prior to firmware version 6.0.6 do not support IBSS
|
2002-05-03 18:11:17 +00:00
|
|
|
mode.
|
2003-08-13 12:54:55 +00:00
|
|
|
These cards support only the pre-802.11 mode known as
|
2003-03-01 18:26:49 +00:00
|
|
|
.Dq "demo ad-hoc mode"
|
2003-03-02 21:15:52 +00:00
|
|
|
which does not interoperate with stations in IBSS mode.
|
2003-03-05 02:37:20 +00:00
|
|
|
.Pp
|
|
|
|
Prism cards prior to version 0.8.0 do not support IBSS mode.
|
|
|
|
.Pp
|
2003-05-20 22:09:18 +00:00
|
|
|
Symbol cards prior to version 2.50.00 do not support IBSS mode.
|
2003-02-11 17:40:56 +00:00
|
|
|
.Sh BUGS
|
|
|
|
Not all the new messages are documented here, and many of them are
|
|
|
|
indications of transient errors that are not indications of serious
|
|
|
|
problems.
|
2003-02-27 20:37:03 +00:00
|
|
|
.Pp
|
|
|
|
WL200 PCI wireless cards are based on a Cirrus Logic CL-PD6729 bridge
|
2003-03-02 21:15:52 +00:00
|
|
|
chips glued to an Intersil Prism-II PCMCIA chipset w/o the PC Card
|
2003-02-27 20:37:03 +00:00
|
|
|
form factor being present.
|
|
|
|
These chips are special and require special care to use properly.
|
2003-03-02 21:15:52 +00:00
|
|
|
One must set
|
|
|
|
.Va hw.pcic.pd6729_intr_path Ns = Ns Qq Li 2
|
|
|
|
in
|
2003-03-01 15:56:42 +00:00
|
|
|
.Pa /boot/loader.conf .
|
2003-08-20 06:49:57 +00:00
|
|
|
This tells the PC Card system to use PCI interrupts for this odd beast.
|
2003-02-27 20:37:03 +00:00
|
|
|
It is not possible to know automatically which kind of interrupts to use.
|
2003-03-02 21:15:52 +00:00
|
|
|
OLDCARD devices
|
|
|
|
.Xr ( pcic 4
|
|
|
|
and
|
|
|
|
.Xr card 4 )
|
|
|
|
support this device.
|
|
|
|
NEWCARD devices
|
|
|
|
.Xr ( pccbb 4
|
|
|
|
and
|
|
|
|
.Xr pccard 4 )
|
|
|
|
do not support it at this time.
|