xref: /openbsd-src/share/man/man4/iwi.4 (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.\" $OpenBSD: iwi.4,v 1.50 2015/02/17 16:29:16 bentley 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: February 17 2015 $
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 current 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
108.Mt majid.awad@intel.com .
109.Pp
110A prepackaged version of the firmware can be installed using
111.Xr fw_update 1 .
112.Sh EXAMPLES
113The following example scans for available networks:
114.Pp
115.Dl # ifconfig iwi0 scan
116.Pp
117The following
118.Xr hostname.if 5
119example configures iwi0 to join network
120.Dq mynwid ,
121using WPA key
122.Dq mywpakey ,
123obtaining an IP address using DHCP:
124.Bd -literal -offset indent
125nwid mynwid
126wpakey mywpakey
127dhcp
128.Ed
129.Sh DIAGNOSTICS
130.Bl -diag
131.It "iwi0: device timeout"
132The driver will reset the hardware.
133This should not happen.
134.It "iwi0: error N, could not read firmware ..."
135For some reason, the driver was unable to read the firmware image from the
136filesystem.
137The file might be missing or corrupted.
138.El
139.Sh SEE ALSO
140.Xr arp 4 ,
141.Xr ifmedia 4 ,
142.Xr intro 4 ,
143.Xr netintro 4 ,
144.Xr pci 4 ,
145.Xr hostname.if 5 ,
146.Xr ifconfig 8
147.Sh AUTHORS
148The
149.Nm
150driver was written by
151.An Damien Bergamini Aq Mt damien.bergamini@free.fr .
152