]> CyberLeo.Net >> Repos - FreeBSD/releng/8.0.git/blob - share/man/man4/iwn.4
Adjust to reflect 8.0-RELEASE.
[FreeBSD/releng/8.0.git] / share / man / man4 / iwn.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 .\" $FreeBSD$
27 .\"
28 .Dd April 13, 2008
29 .Os
30 .Dt IWN 4
31 .Sh NAME
32 .Nm iwn
33 .Nd "Intel Wireless WiFi Link 4965AGN IEEE 802.11n driver"
34 .Sh SYNOPSIS
35 To compile this driver into the kernel,
36 include the following lines in your
37 kernel configuration file:
38 .Bd -ragged -offset indent
39 .Cd "device iwn"
40 .Cd "device iwnfw"
41 .Cd "device pci"
42 .Cd "device wlan"
43 .Cd "device firmware"
44 .Ed
45 .Pp
46 Alternatively, to load the driver as a
47 module at boot time, place the following line in
48 .Xr loader.conf 5 :
49 .Bd -literal -offset indent
50 if_iwn_load="YES"
51 .Ed
52 .Sh DESCRIPTION
53 The
54 .Nm
55 driver provides support for
56 .Tn Intel
57 Wireless WiFi Link 4965AGN PCI-Express network adapters.
58 .Nm
59 supports
60 .Cm station ,
61 .Cm adhoc ,
62 and
63 .Cm monitor
64 mode operation.
65 Only one virtual interface may be configured at any time.
66 For more information on configuring this device, see
67 .Xr ifconfig 8 .
68 .Pp
69 This driver requires the firmware built with the
70 .Nm iwnfw
71 module to work.
72 .Sh EXAMPLES
73 Join an existing BSS network (i.e., connect to an access point):
74 .Pp
75 .Bd -literal -offset indent
76 ifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e
77     netmask 0xffffff00
78 .Ed
79 .Pp
80 Join a specific BSS network with network name
81 .Dq Li my_net :
82 .Pp
83 .Dl "ifconfig wlan create wlandev iwn0 ssid my_net up"
84 .Pp
85 Join a specific BSS network with 64-bit WEP encryption:
86 .Bd -literal -offset indent
87 ifconfig wlan create wlandev iwn0 ssid my_net \e
88         wepmode on wepkey 0x1234567890 weptxkey 1 up
89 .Ed
90 .Pp
91 Join a specific BSS network with 128-bit WEP encryption:
92 .Bd -literal -offset indent
93 ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e
94     wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
95 .Ed
96 .Sh DIAGNOSTICS
97 .Bl -diag
98 .It "iwn%d: device timeout"
99 The driver will reset the hardware.
100 This should not happen.
101 .It "iwn%d: firmware error"
102 The onboard microcontroller crashed for some reason.
103 The driver will reset the hardware.
104 This should not happen.
105 .It "iwn%d: timeout waiting for firmware initialization to complete"
106 The onboard microcontroller failed to initialize in time.
107 This should not happen.
108 .It "iwn%d: could not load firmware image '%s'"
109 The driver failed to load the firmware image using the
110 .Xr firmware 9
111 subsystem.
112 Verify the 
113 .Xr iwnfw 4
114 firmware module is present.
115 .It "iwn%d: could not load boot firmware"
116 An attempt to upload the boot firmware image to the onboard microcontroller
117 failed.
118 This should not happen.
119 .It "iwn%d: could not load microcode"
120 An attempt to upload the microcode image to the onboard microcontroller failed.
121 This should not happen.
122 .It "iwn%d: could not load main firmware"
123 An attempt to upload the main firmware image to the onboard microcontroller
124 failed.
125 This should not happen.
126 .El
127 .Sh SEE ALSO
128 .Xr iwnfw 4 ,
129 .Xr pci 4 ,
130 .Xr wlan 4 ,
131 .Xr wlan_ccmp 4 ,
132 .Xr wlan_tkip 4 ,
133 .Xr wlan_wep 4 ,
134 .Xr ifconfig 8 ,
135 .Xr wpa_supplicant 8
136 .Sh AUTHORS
137 The original
138 .Nm
139 driver was written by
140 .An Damien Bergamini Aq damien.bergamini@free.fr