xref: /openbsd-src/share/man/man4/iwi.4 (revision d13be5d47e4149db2549a9828e244d59dbc43f15)
1.\" $OpenBSD: iwi.4,v 1.41 2011/06/09 14:21:11 deraadt Exp $
2.\"
3.\" Copyright (c) 2004
4.\"	Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice unmodified, this list of conditions, and the following
11.\"    disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.Dd $Mdocdate: June 9 2011 $
29.Dt IWI 4
30.Os
31.Sh NAME
32.Nm iwi
33.Nd Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11a/b/g wireless network device
34.Sh SYNOPSIS
35.Cd "iwi* at pci?"
36.Sh DESCRIPTION
37The
38.Nm
39driver provides support for
40.Tn Intel
41PRO/Wireless 2200BG/2915ABG Mini PCI and 2225BG PCI network adapters.
42.Pp
43These are the modes the
44.Nm
45driver can operate in:
46.Bl -tag -width "IBSS-masterXX"
47.It BSS mode
48Also known as
49.Em infrastructure
50mode, this is used when associating with an access point, through
51which all traffic passes.
52This mode is the default.
53.It IBSS mode
54Also known as
55.Em IEEE ad-hoc
56mode or
57.Em peer-to-peer
58mode.
59This is the standardized method of operating without an access point.
60Stations associate with a service set.
61However, actual connections between stations are peer-to-peer.
62.It monitor mode
63In this mode the driver is able to receive packets without
64associating with an access point.
65This disables the internal receive filter and enables the card to
66capture packets from networks which it wouldn't normally have access to,
67or to scan for access points.
68.El
69.Pp
70The
71.Nm
72driver can be configured to use
73Wired Equivalent Privacy (WEP) or
74Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).
75WPA is the de facto encryption standard for wireless networks.
76It is strongly recommended that WEP
77not be used as the sole mechanism
78to secure wireless communication,
79due to serious weaknesses in it.
80The
81.Nm
82driver relies on the software 802.11 stack for both encryption and decryption
83of data frames.
84.Pp
85The
86.Nm
87driver can be configured at runtime with
88.Xr ifconfig 8
89or on boot with
90.Xr hostname.if 5 .
91.Sh FILES
92The driver needs at least version 3.1 of the following firmware files,
93which are loaded when an interface is brought up:
94.Pp
95.Bl -tag -width Ds -offset indent -compact
96.It Pa /etc/firmware/iwi-bss
97.It Pa /etc/firmware/iwi-ibss
98.It Pa /etc/firmware/iwi-monitor
99.El
100.Pp
101These firmware files are not free because Intel refuses to grant
102distribution rights without contractual obligations.
103As a result, even though
104.Ox
105includes the driver, the firmware files cannot be included and
106users have to download these files on their own.
107The official person to state your views to about this issue is
108majid.awad@intel.com.
109.Pp
110A prepackaged version of the firmware, designed to be used with
111.Xr pkg_add 1 ,
112can be found at:
113.Bd -literal -offset 3n
114http://firmware.openbsd.org/firmware/iwi-firmware-3.1.tgz
115.Ed
116.Sh EXAMPLES
117The following
118.Xr hostname.if 5
119example configures iwi0 to join whatever network is available on boot,
120using WEP key
121.Dq 0x1deadbeef1 ,
122channel 11, obtaining an IP address using DHCP:
123.Bd -literal -offset indent
124dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
125.Ed
126.Pp
127Configure iwi0 to join network
128.Dq my_net
129using WPA with passphrase
130.Dq my_passphrase :
131.Bd -literal -offset indent
132# ifconfig iwi0 nwid my_net wpakey my_passphrase
133.Ed
134.Pp
135Join an existing BSS network,
136.Dq my_net :
137.Bd -literal -offset indent
138# ifconfig iwi0 192.168.1.1 netmask 0xffffff00 nwid my_net
139.Ed
140.Sh DIAGNOSTICS
141.Bl -diag
142.It "iwi%d: device timeout"
143The driver will reset the hardware.
144This should not happen.
145.It "iwi%d: error %d, could not read firmware %s"
146For some reason, the driver was unable to read the firmware image from the
147filesystem.
148The file might be missing or corrupted.
149.El
150.Sh SEE ALSO
151.Xr pkg_add 1 ,
152.Xr arp 4 ,
153.Xr ifmedia 4 ,
154.Xr intro 4 ,
155.Xr netintro 4 ,
156.Xr pci 4 ,
157.Xr hostname.if 5 ,
158.Xr ifconfig 8
159.Sh AUTHORS
160The
161.Nm
162driver was written by
163.An Damien Bergamini Aq damien@openbsd.org .
164