1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 wireless-download-http "https://hewlettpackard.github.io/wireless-tools/wireless_tools.&wireless-tools-version;.tar.gz">
|
---|
8 | <!ENTITY wireless-download-ftp " ">
|
---|
9 | <!ENTITY wireless-md5sum "e06c222e186f7cc013fd272d023710cb">
|
---|
10 | <!ENTITY wireless-size "288 KB">
|
---|
11 | <!ENTITY wireless-buildsize "2.0 MB">
|
---|
12 | <!ENTITY wireless-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="wireless_tools" xreflabel="Wireless Tools-&wireless-tools-version;">
|
---|
16 | <?dbhtml filename="wireless_tools.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Wireless Tools-&wireless-tools-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="wireless_tools">
|
---|
22 | <primary sortas="a-WirelessTools">Wireless Tools</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Wireless Tools</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The Wireless Extension (WE) is a generic API in the Linux kernel allowing
|
---|
30 | a driver to expose configuration and statistics specific to common
|
---|
31 | Wireless LANs to userspace. A single set of tools can support all the
|
---|
32 | variations of Wireless LANs, regardless of their type, as long as the
|
---|
33 | driver supports Wireless Extensions. WE parameters may also be changed on
|
---|
34 | the fly without restarting the driver (or Linux).
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | <para>
|
---|
38 | The <application>Wireless Tools</application> (WT) package is a set
|
---|
39 | of tools allowing manipulation of the Wireless Extensions. They use a
|
---|
40 | textual interface to support the full Wireless Extension.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | &lfs122_checked;
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing='compact'>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (HTTP): <ulink url="&wireless-download-http;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (FTP): <ulink url="&wireless-download-ftp;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download MD5 sum: &wireless-md5sum;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download size: &wireless-size;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated disk space required: &wireless-buildsize;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated build time: &wireless-time;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
80 | <itemizedlist spacing="compact">
|
---|
81 | <listitem>
|
---|
82 | <para>
|
---|
83 | Required patch:
|
---|
84 | <ulink
|
---|
85 | url="&patch-root;/wireless_tools-&wireless-tools-version;-fix_iwlist_scanning-1.patch"/>
|
---|
86 | </para>
|
---|
87 | </listitem>
|
---|
88 | </itemizedlist>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect3">Wireless Tools Dependencies</bridgehead>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
93 | <para role="nodump">
|
---|
94 | <xref linkend="wireless-kernel"/>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="kernel" id='wireless-tools-kernel'>
|
---|
100 | <title>Kernel Configuration</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | To use <application>Wireless Tools</application>, the kernel must have
|
---|
104 | the appropriate drivers and other support available. Besides the
|
---|
105 | configurations mentioned by <xref linkend='wireless-kernel'/>, it's
|
---|
106 | also needed to enable the following options in the kernel
|
---|
107 | configuration:
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
111 | href="wireless-tools-kernel.xml"/>
|
---|
112 |
|
---|
113 | <indexterm zone="wireless_tools wireless-tools-kernel">
|
---|
114 | <primary sortas="d-wireless_tools">Wireless Tools</primary>
|
---|
115 | </indexterm>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="installation">
|
---|
120 | <title>Installation of Wireless Tools</title>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | First, apply a patch that fixes a problem when numerous
|
---|
124 | networks are available:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen><userinput>patch -Np1 -i ../wireless_tools-&wireless-tools-version;-fix_iwlist_scanning-1.patch</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | To install <application>Wireless Tools</application>,
|
---|
131 | use the following commands:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen><userinput>make</userinput></screen>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | This package does not come with a test suite.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen role="root"><userinput>make PREFIX=/usr INSTALL_MAN=/usr/share/man install</userinput></screen>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | <sect2 role="commands">
|
---|
149 | <title>Command Explanations</title>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <command>INSTALL_MAN=/usr/share/man</command>: Install manual pages
|
---|
153 | in <filename class="directory">/usr/share/man</filename> instead of
|
---|
154 | <filename class="directory">/usr/man</filename>.
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | <sect2 role="content">
|
---|
160 | <title>Contents</title>
|
---|
161 |
|
---|
162 | <segmentedlist>
|
---|
163 | <segtitle>Installed Programs</segtitle>
|
---|
164 | <segtitle>Installed Library</segtitle>
|
---|
165 | <segtitle>Installed Directories</segtitle>
|
---|
166 |
|
---|
167 | <seglistitem>
|
---|
168 | <seg>ifrename, iwconfig, iwevent, iwgetid, iwlist, iwpriv,
|
---|
169 | and iwspy</seg>
|
---|
170 | <seg>libiw.so</seg>
|
---|
171 | <seg>None</seg>
|
---|
172 | </seglistitem>
|
---|
173 | </segmentedlist>
|
---|
174 |
|
---|
175 | <variablelist>
|
---|
176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
177 | <?dbfo list-presentation="list"?>
|
---|
178 | <?dbhtml list-presentation="table"?>
|
---|
179 |
|
---|
180 | <varlistentry id="ifrename">
|
---|
181 | <term><command>ifrename</command></term>
|
---|
182 | <listitem>
|
---|
183 | <para>
|
---|
184 | renames network interfaces based on various static criteria
|
---|
185 | </para>
|
---|
186 | <indexterm zone="wireless_tools ifrename">
|
---|
187 | <primary sortas="b-ifrename">ifrename</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | <varlistentry id="iwconfig">
|
---|
193 | <term><command>iwconfig</command></term>
|
---|
194 | <listitem>
|
---|
195 | <para>
|
---|
196 | configures a wireless network interface
|
---|
197 | </para>
|
---|
198 | <indexterm zone="wireless_tools iwconfig">
|
---|
199 | <primary sortas="b-iwconfig">iwconfig</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="iwevent">
|
---|
205 | <term><command>iwevent</command></term>
|
---|
206 | <listitem>
|
---|
207 | <para>
|
---|
208 | displays wireless events generated by drivers and setting changes
|
---|
209 | </para>
|
---|
210 | <indexterm zone="wireless_tools iwevent">
|
---|
211 | <primary sortas="b-iwevent">iwevent</primary>
|
---|
212 | </indexterm>
|
---|
213 | </listitem>
|
---|
214 | </varlistentry>
|
---|
215 |
|
---|
216 | <varlistentry id="iwgetid">
|
---|
217 | <term><command>iwgetid</command></term>
|
---|
218 | <listitem>
|
---|
219 | <para>
|
---|
220 | reports ESSID, NWID or AP/Cell Address of wireless networks
|
---|
221 | </para>
|
---|
222 | <indexterm zone="wireless_tools iwgetid">
|
---|
223 | <primary sortas="b-iwgetid">iwgetid</primary>
|
---|
224 | </indexterm>
|
---|
225 | </listitem>
|
---|
226 | </varlistentry>
|
---|
227 |
|
---|
228 | <varlistentry id="iwlist">
|
---|
229 | <term><command>iwlist</command></term>
|
---|
230 | <listitem>
|
---|
231 | <para>
|
---|
232 | gets detailed wireless information from a wireless interface
|
---|
233 | </para>
|
---|
234 | <indexterm zone="wireless_tools iwlist">
|
---|
235 | <primary sortas="b-iwlist">iwlist</primary>
|
---|
236 | </indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 |
|
---|
240 | <varlistentry id="iwpriv">
|
---|
241 | <term><command>iwpriv</command></term>
|
---|
242 | <listitem>
|
---|
243 | <para>
|
---|
244 | configures optional (private) parameters of a wireless network
|
---|
245 | interface
|
---|
246 | </para>
|
---|
247 | <indexterm zone="wireless_tools iwpriv">
|
---|
248 | <primary sortas="b-iwpriv">iwpriv</primary>
|
---|
249 | </indexterm>
|
---|
250 | </listitem>
|
---|
251 | </varlistentry>
|
---|
252 |
|
---|
253 | <varlistentry id="iwspy">
|
---|
254 | <term><command>iwspy</command></term>
|
---|
255 | <listitem>
|
---|
256 | <para>
|
---|
257 | gets wireless statistics from specific node
|
---|
258 | </para>
|
---|
259 | <indexterm zone="wireless_tools iwspy">
|
---|
260 | <primary sortas="b-iwspy">iwspy</primary>
|
---|
261 | </indexterm>
|
---|
262 | </listitem>
|
---|
263 | </varlistentry>
|
---|
264 |
|
---|
265 | <varlistentry id="libiw">
|
---|
266 | <term><filename class="libraryfile">libiw.so</filename></term>
|
---|
267 | <listitem>
|
---|
268 | <para>
|
---|
269 | contains functions required by the wireless programs and
|
---|
270 | provides an API for other programs
|
---|
271 | </para>
|
---|
272 | <indexterm zone="wireless_tools libiw">
|
---|
273 | <primary sortas="c-libiw">libiw.so</primary>
|
---|
274 | </indexterm>
|
---|
275 | </listitem>
|
---|
276 | </varlistentry>
|
---|
277 |
|
---|
278 | </variablelist>
|
---|
279 |
|
---|
280 | </sect2>
|
---|
281 |
|
---|
282 | </sect1>
|
---|