xref: /dflybsd-src/share/man/man4/iwi.4 (revision 6307bddbfbcc6930803b37a36a8d6093a4875f55)
15c294b82SMatthew Dillon.\"
2534cc2a0SSascha Wildner.\" Copyright (c) 2004-2006
3534cc2a0SSascha Wildner.\"	Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
45c294b82SMatthew Dillon.\"
55c294b82SMatthew Dillon.\" Redistribution and use in source and binary forms, with or without
65c294b82SMatthew Dillon.\" modification, are permitted provided that the following conditions
75c294b82SMatthew Dillon.\" are met:
85c294b82SMatthew Dillon.\" 1. Redistributions of source code must retain the above copyright
95c294b82SMatthew Dillon.\"    notice unmodified, this list of conditions, and the following
105c294b82SMatthew Dillon.\"    disclaimer.
115c294b82SMatthew Dillon.\" 2. Redistributions in binary form must reproduce the above copyright
125c294b82SMatthew Dillon.\"    notice, this list of conditions and the following disclaimer in the
135c294b82SMatthew Dillon.\"    documentation and/or other materials provided with the distribution.
145c294b82SMatthew Dillon.\"
155c294b82SMatthew Dillon.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
165c294b82SMatthew Dillon.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
175c294b82SMatthew Dillon.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
185c294b82SMatthew Dillon.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
195c294b82SMatthew Dillon.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
205c294b82SMatthew Dillon.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
215c294b82SMatthew Dillon.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
225c294b82SMatthew Dillon.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
235c294b82SMatthew Dillon.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
245c294b82SMatthew Dillon.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
255c294b82SMatthew Dillon.\" SUCH DAMAGE.
265c294b82SMatthew Dillon.\"
27*6307bddbSSascha Wildner.\" $FreeBSD: head/share/man/man4/iwi.4 289399 2015-10-16 00:38:05Z bdrewery $
285c294b82SMatthew Dillon.\"
29534cc2a0SSascha Wildner.Dd July 18, 2010
305c294b82SMatthew Dillon.Dt IWI 4
31534cc2a0SSascha Wildner.Os
325c294b82SMatthew Dillon.Sh NAME
335c294b82SMatthew Dillon.Nm iwi
34534cc2a0SSascha Wildner.Nd "Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 driver"
355c294b82SMatthew Dillon.Sh SYNOPSIS
36534cc2a0SSascha WildnerTo compile this driver into the kernel,
37534cc2a0SSascha Wildnerinclude the following lines in your
38534cc2a0SSascha Wildnerkernel configuration file:
39534cc2a0SSascha Wildner.Bd -ragged -offset indent
405c294b82SMatthew Dillon.Cd "device iwi"
41534cc2a0SSascha Wildner.Cd "device iwifw"
425c294b82SMatthew Dillon.Cd "device pci"
435c294b82SMatthew Dillon.Cd "device wlan"
44*6307bddbSSascha Wildner.\".Cd "device firmware"
45534cc2a0SSascha Wildner.Ed
46534cc2a0SSascha Wildner.Pp
47534cc2a0SSascha WildnerAlternatively, to load the driver as a
48534cc2a0SSascha Wildnermodule at boot time, place the following line in
49534cc2a0SSascha Wildner.Xr loader.conf 5 :
50534cc2a0SSascha Wildner.Bd -literal -offset indent
51534cc2a0SSascha Wildnerif_iwi_load="YES"
52534cc2a0SSascha Wildner.Ed
53534cc2a0SSascha Wildner.Pp
54534cc2a0SSascha WildnerIn both cases, place the following line in
55534cc2a0SSascha Wildner.Xr loader.conf 5
56534cc2a0SSascha Wildnerto acknowledge the firmware license (see below):
57534cc2a0SSascha Wildner.Bd -literal -offset indent
58534cc2a0SSascha Wildnerlegal.intel_iwi.license_ack=1
59534cc2a0SSascha Wildner.Ed
605c294b82SMatthew Dillon.Sh DESCRIPTION
615c294b82SMatthew DillonThe
625c294b82SMatthew Dillon.Nm
63534cc2a0SSascha Wildnerdriver provides support for
64534cc2a0SSascha Wildner.Tn Intel
65534cc2a0SSascha WildnerPRO/Wireless 2200BG/2915ABG MiniPCI and 2225BG PCI network adapters.
665c294b82SMatthew Dillon.Nm
67534cc2a0SSascha Wildnersupports
68534cc2a0SSascha Wildner.Cm station ,
69534cc2a0SSascha Wildner.Cm adhoc ,
70534cc2a0SSascha Wildnerand
71534cc2a0SSascha Wildner.Cm monitor
72534cc2a0SSascha Wildnermode operation.
73534cc2a0SSascha WildnerOnly one virtual interface may be configured at any time.
74534cc2a0SSascha WildnerFor more information on configuring this device, see
755c294b82SMatthew Dillon.Xr ifconfig 8 .
76534cc2a0SSascha Wildner.Pp
77534cc2a0SSascha WildnerThis driver requires the firmware built with the
78534cc2a0SSascha Wildner.Nm iwifw
79534cc2a0SSascha Wildnermodule to work.
80534cc2a0SSascha WildnerFor the loaded firmware to be enabled for use the license at
81534cc2a0SSascha Wildner.Pa /usr/share/doc/legal/intel_iwi/LICENSE
823f183094SSascha Wildnermust be agreed to by adding the following line to
83534cc2a0SSascha Wildner.Xr loader.conf 5 :
84534cc2a0SSascha Wildner.Pp
85534cc2a0SSascha Wildner.Dl "legal.intel_iwi.license_ack=1"
865dfccacdSSepherosa Ziehau.Sh FILES
87534cc2a0SSascha Wildner.Bl -tag -width ".Pa /usr/share/doc/legal/intel_iwi/LICENSE" -compact
88534cc2a0SSascha Wildner.It Pa /usr/share/doc/legal/intel_iwi/LICENSE
89534cc2a0SSascha Wildner.Nm
90534cc2a0SSascha Wildnerfirmware license
91534cc2a0SSascha Wildner.El
92534cc2a0SSascha Wildner.Sh EXAMPLES
93534cc2a0SSascha WildnerJoin an existing BSS network (i.e., connect to an access point):
945dfccacdSSepherosa Ziehau.Bd -literal -offset indent
95534cc2a0SSascha Wildnerifconfig wlan create wlandev iwi0 inet 192.168.0.20 \e
96534cc2a0SSascha Wildner    netmask 0xffffff00
975dfccacdSSepherosa Ziehau.Ed
985dfccacdSSepherosa Ziehau.Pp
99534cc2a0SSascha WildnerJoin a specific BSS network with network name
100534cc2a0SSascha Wildner.Dq Li my_net :
101534cc2a0SSascha Wildner.Pp
102534cc2a0SSascha Wildner.Dl "ifconfig wlan create wlandev iwi0 ssid my_net up"
103534cc2a0SSascha Wildner.Pp
104534cc2a0SSascha WildnerJoin a specific BSS network with 64-bit WEP encryption:
105534cc2a0SSascha Wildner.Bd -literal -offset indent
106534cc2a0SSascha Wildnerifconfig wlan create wlandev iwi0 ssid my_net \e
107534cc2a0SSascha Wildner	wepmode on wepkey 0x1234567890 weptxkey 1 up
108534cc2a0SSascha Wildner.Ed
109534cc2a0SSascha Wildner.Pp
110534cc2a0SSascha WildnerJoin a specific BSS network with 128-bit WEP encryption:
111534cc2a0SSascha Wildner.Bd -literal -offset indent
112534cc2a0SSascha Wildnerifconfig wlan create wlandev iwi0 wlanmode adhoc ssid my_net \e
113534cc2a0SSascha Wildner    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
114534cc2a0SSascha Wildner.Ed
1155c294b82SMatthew Dillon.Sh DIAGNOSTICS
1165c294b82SMatthew Dillon.Bl -diag
1175c294b82SMatthew Dillon.It "iwi%d: device timeout"
118534cc2a0SSascha WildnerThe driver will reset the hardware.
119534cc2a0SSascha WildnerThis should not happen.
120534cc2a0SSascha Wildner.It "iwi%d: firmware error"
121534cc2a0SSascha WildnerThe onboard microcontroller crashed for some reason.
122534cc2a0SSascha WildnerThe driver will reset the hardware.
123534cc2a0SSascha WildnerThis should not happen.
124534cc2a0SSascha Wildner.It "iwi%d: timeout waiting for firmware initialization to complete"
125534cc2a0SSascha WildnerThe onboard microcontroller failed to initialize in time.
126534cc2a0SSascha WildnerThis should not happen.
127534cc2a0SSascha Wildner.It "iwi%d: could not load firmware image '%s'"
128534cc2a0SSascha WildnerThe driver failed to load the firmware image using the
129534cc2a0SSascha Wildner.Xr firmware 9
130534cc2a0SSascha Wildnersubsystem.
131534cc2a0SSascha WildnerVerify the
132534cc2a0SSascha Wildner.Xr iwifw 4
133534cc2a0SSascha Wildnerfirmware module is installed and the license agreement
134534cc2a0SSascha Wildner.Xr loader 8
135534cc2a0SSascha Wildnertunable has been set.
136534cc2a0SSascha Wildner.It "iwi%d: could not load boot firmware"
137534cc2a0SSascha WildnerAn attempt to upload the boot firmware image to the onboard microcontroller
138534cc2a0SSascha Wildnerfailed.
139534cc2a0SSascha WildnerThis should not happen.
140534cc2a0SSascha Wildner.It "iwi%d: could not load microcode"
141534cc2a0SSascha WildnerAn attempt to upload the microcode image to the onboard microcontroller failed.
142534cc2a0SSascha WildnerThis should not happen.
143534cc2a0SSascha Wildner.It "iwi%d: could not load main firmware"
144534cc2a0SSascha WildnerAn attempt to upload the main firmware image to the onboard microcontroller
145534cc2a0SSascha Wildnerfailed.
146534cc2a0SSascha WildnerThis should not happen.
1475c294b82SMatthew Dillon.El
1485c294b82SMatthew Dillon.Sh SEE ALSO
1498985f72fSSascha Wildner.Xr ifmedia 4 ,
1503cd583efSSascha Wildner.Xr iwifw 4 ,
1515c294b82SMatthew Dillon.Xr pci 4 ,
1525c294b82SMatthew Dillon.Xr wlan 4 ,
153534cc2a0SSascha Wildner.Xr wlan_ccmp 4 ,
154534cc2a0SSascha Wildner.Xr wlan_tkip 4 ,
155534cc2a0SSascha Wildner.Xr wlan_wep 4 ,
1565c294b82SMatthew Dillon.Xr ifconfig 8 ,
157227a2aeeSSascha Wildner.Xr wpa_supplicant 8
1585c294b82SMatthew Dillon.Sh AUTHORS
159534cc2a0SSascha WildnerThe original
1605c294b82SMatthew Dillon.Nm
161534cc2a0SSascha Wildnerdriver was written by
162b2a6f486SFranco Fichtner.An Damien Bergamini Aq Mt damien.bergamini@free.fr .
163