1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY iw-download-http "https://www.kernel.org/pub/software/network/iw/iw-&iw-version;.tar.xz">
|
---|
8 | <!ENTITY iw-download-ftp " ">
|
---|
9 | <!ENTITY iw-md5sum "fd17ca2dd5f160a5d9e5fd3f8a69f416">
|
---|
10 | <!ENTITY iw-size "152 KB">
|
---|
11 | <!ENTITY iw-buildsize "4.5 MB">
|
---|
12 | <!ENTITY iw-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="iw" xreflabel="iw-&iw-version;">
|
---|
16 | <?dbhtml filename="iw.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>iw-&iw-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="iw">
|
---|
22 | <primary sortas="a-iw">iw</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to iw</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>iw</application> is a new nl80211 based CLI configuration
|
---|
30 | utility for wireless devices. It supports all new drivers that have been
|
---|
31 | added to the kernel recently. The old tool
|
---|
32 | <application>iwconfig</application>, which uses Wireless Extensions
|
---|
33 | interface, is deprecated and it's strongly recommended to switch to
|
---|
34 | <application>iw</application> and nl80211.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs113_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing='compact'>
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&iw-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&iw-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &iw-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &iw-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &iw-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &iw-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">iw Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="libnl"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url='&blfs-wiki;/iw'/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="kernel" id='iw-kernel'>
|
---|
86 | <title>Kernel Configuration</title>
|
---|
87 |
|
---|
88 | <indexterm zone="iw iw-kernel">
|
---|
89 | <primary sortas="d-iw-devices">Wireless devices</primary>
|
---|
90 | </indexterm>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | To use <application>iw</application>, the kernel must have the
|
---|
94 | appropriate drivers and other support available. The appropriate bus
|
---|
95 | must also be available. For older laptops, the PCMCIA bus
|
---|
96 | (CONFIG_PCCARD) needs to be built. In some cases, this bus support will
|
---|
97 | also need to be built for embedded iw cards. The appropriate bridge
|
---|
98 | support also needs to be built. For many modern laptops, the CardBus host
|
---|
99 | bridge (CONFIG_YENTA) will be needed.
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | In addition to the bus, the actual driver for the specific wireless
|
---|
104 | card must also be available. There are many wireless cards and they
|
---|
105 | don't all work with Linux. The first place to look for card support is
|
---|
106 | the kernel. The drivers are located in Device Drivers → Network
|
---|
107 | Device Support → Wireless LAN (non-hamradio). There are also
|
---|
108 | external drivers available for some very common cards. For more
|
---|
109 | information, look at the user notes.
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | After the correct drivers are loaded, the interface will
|
---|
114 | appear in <filename>/proc/net/wireless</filename>.
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="installation">
|
---|
120 | <title>Installation of iw</title>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | To install <application>iw</application>,
|
---|
124 | use the following commands:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen><userinput>sed -i "/INSTALL.*gz/s/.gz//" Makefile &&
|
---|
128 | make</userinput></screen>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | This package does not come with a test suite.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | <sect2 role="commands">
|
---|
143 | <title>Command Explanations</title>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | <command>sed ...</command>: Install uncompressed manual pages
|
---|
147 | in accordance with other man pages.
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | <sect2 role="content">
|
---|
153 | <title>Contents</title>
|
---|
154 |
|
---|
155 | <segmentedlist>
|
---|
156 | <segtitle>Installed Programs</segtitle>
|
---|
157 | <segtitle>Installed Libraries</segtitle>
|
---|
158 | <segtitle>Installed Directories</segtitle>
|
---|
159 |
|
---|
160 | <seglistitem>
|
---|
161 | <seg>iw</seg>
|
---|
162 | <seg>None</seg>
|
---|
163 | <seg>None</seg>
|
---|
164 | </seglistitem>
|
---|
165 | </segmentedlist>
|
---|
166 |
|
---|
167 | <variablelist>
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 | <?dbfo list-presentation="list"?>
|
---|
170 | <?dbhtml list-presentation="table"?>
|
---|
171 |
|
---|
172 | <varlistentry id="iw-prog">
|
---|
173 | <term><command>iw</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>
|
---|
176 | shows / manipulates wireless devices and their configuration
|
---|
177 | </para>
|
---|
178 | <indexterm zone="iw iw-prog">
|
---|
179 | <primary sortas="b-iw">iw</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | </variablelist>
|
---|
185 |
|
---|
186 | </sect2>
|
---|
187 |
|
---|
188 | </sect1>
|
---|