]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/iwi.4
zfs: merge openzfs/zfs@4647353c8
[FreeBSD/FreeBSD.git] / share / man / man4 / iwi.4
1 .\" Copyright (c) 2004-2006
2 .\"     Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice unmodified, this list of conditions, and the following
9 .\"    disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .Dd October 15, 2015
27 .Dt IWI 4
28 .Os
29 .Sh NAME
30 .Nm iwi
31 .Nd "Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 driver"
32 .Sh SYNOPSIS
33 To compile this driver into the kernel,
34 include the following lines in your
35 kernel configuration file:
36 .Bd -ragged -offset indent
37 .Cd "device iwi"
38 .Cd "device iwifw"
39 .Cd "device pci"
40 .Cd "device wlan"
41 .Cd "device firmware"
42 .Ed
43 .Pp
44 Alternatively, to load the driver as a
45 module at boot time, place the following line in
46 .Xr loader.conf 5 :
47 .Bd -literal -offset indent
48 if_iwi_load="YES"
49 .Ed
50 .Pp
51 In both cases, place the following line in
52 .Xr loader.conf 5
53 to acknowledge the firmware license (see below):
54 .Bd -literal -offset indent
55 legal.intel_iwi.license_ack=1
56 .Ed
57 .Sh DESCRIPTION
58 The
59 .Nm
60 driver provides support for
61 .Tn Intel
62 PRO/Wireless 2200BG/2915ABG MiniPCI and 2225BG PCI network adapters.
63 .Nm
64 supports
65 .Cm station ,
66 .Cm adhoc ,
67 and
68 .Cm monitor
69 mode operation.
70 Only one virtual interface may be configured at any time.
71 For more information on configuring this device, see
72 .Xr ifconfig 8 .
73 .Pp
74 This driver requires the firmware built with the
75 .Nm iwifw
76 module to work.
77 For the loaded firmware to be enabled for use the license at
78 .Pa /usr/share/doc/legal/intel_iwi.LICENSE
79 must be agreed by adding the following line to
80 .Xr loader.conf 5 :
81 .Pp
82 .Dl "legal.intel_iwi.license_ack=1"
83 .Sh FILES
84 .Bl -tag -width ".Pa /usr/share/doc/legal/intel_iwi.LICENSE" -compact
85 .It Pa /usr/share/doc/legal/intel_iwi.LICENSE
86 .Nm
87 firmware license
88 .El
89 .Sh EXAMPLES
90 Join an existing BSS network (i.e., connect to an access point):
91 .Bd -literal -offset indent
92 ifconfig wlan create wlandev iwi0 inet 192.168.0.20 \e
93     netmask 0xffffff00
94 .Ed
95 .Pp
96 Join a specific BSS network with network name
97 .Dq Li my_net :
98 .Pp
99 .Dl "ifconfig wlan create wlandev iwi0 ssid my_net up"
100 .Pp
101 Join a specific BSS network with 64-bit WEP encryption:
102 .Bd -literal -offset indent
103 ifconfig wlan create wlandev iwi0 ssid my_net \e
104         wepmode on wepkey 0x1234567890 weptxkey 1 up
105 .Ed
106 .Pp
107 Join a specific BSS network with 128-bit WEP encryption:
108 .Bd -literal -offset indent
109 ifconfig wlan create wlandev iwi0 wlanmode adhoc ssid my_net \e
110     wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
111 .Ed
112 .Sh DIAGNOSTICS
113 .Bl -diag
114 .It "iwi%d: device timeout"
115 The driver will reset the hardware.
116 This should not happen.
117 .It "iwi%d: firmware error"
118 The onboard microcontroller crashed for some reason.
119 The driver will reset the hardware.
120 This should not happen.
121 .It "iwi%d: timeout waiting for firmware initialization to complete"
122 The onboard microcontroller failed to initialize in time.
123 This should not happen.
124 .It "iwi%d: could not load firmware image '%s'"
125 The driver failed to load the firmware image using the
126 .Xr firmware 9
127 subsystem.
128 Verify the
129 .Xr iwifw 4
130 firmware module is installed and the license agreement
131 .Xr loader 8
132 tunable has been set.
133 .It "iwi%d: could not load boot firmware"
134 An attempt to upload the boot firmware image to the onboard microcontroller
135 failed.
136 This should not happen.
137 .It "iwi%d: could not load microcode"
138 An attempt to upload the microcode image to the onboard microcontroller failed.
139 This should not happen.
140 .It "iwi%d: could not load main firmware"
141 An attempt to upload the main firmware image to the onboard microcontroller
142 failed.
143 This should not happen.
144 .El
145 .Sh SEE ALSO
146 .Xr iwifw 4 ,
147 .Xr pci 4 ,
148 .Xr wlan 4 ,
149 .Xr wlan_ccmp 4 ,
150 .Xr wlan_tkip 4 ,
151 .Xr wlan_wep 4 ,
152 .Xr ifconfig 8 ,
153 .Xr wpa_supplicant 8
154 .Sh AUTHORS
155 The original
156 .Nm
157 driver was written by
158 .An Damien Bergamini Aq Mt damien.bergamini@free.fr .