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 wireless-download-http "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.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 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Wireless Tools-&wireless-tools-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="wireless_tools">
|
---|
26 | <primary sortas="a-WirelessTools">Wireless Tools</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Wireless Tools</title>
|
---|
31 |
|
---|
32 | <para>The Wireless Extension (WE) is a generic API in the Linux kernel
|
---|
33 | allowing a driver to expose configuration and statistics specific to common
|
---|
34 | Wireless LANs to user space. A single set of tools can support all the
|
---|
35 | variations of Wireless LANs, regardless of their type as long as the
|
---|
36 | driver supports Wireless Extensions. WE parameters may also be changed on
|
---|
37 | the fly without restarting the driver (or Linux).</para>
|
---|
38 |
|
---|
39 | <para>The <application>Wireless Tools</application> (WT) package is a set
|
---|
40 | of tools allowing manipulation of the Wireless Extensions. They use a
|
---|
41 | textual interface to support the full Wireless Extension.</para>
|
---|
42 |
|
---|
43 | &lfs76_checked;
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing='compact'>
|
---|
47 | <listitem>
|
---|
48 | <para>Download (HTTP): <ulink url="&wireless-download-http;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download (FTP): <ulink url="&wireless-download-ftp;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download MD5 sum: &wireless-md5sum;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download size: &wireless-size;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Estimated disk space required: &wireless-buildsize;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Estimated build time: &wireless-time;</para>
|
---|
64 | </listitem>
|
---|
65 | </itemizedlist>
|
---|
66 |
|
---|
67 | <para condition="html" role="usernotes">User Notes:
|
---|
68 | <ulink url='&blfs-wiki;/WirelessTools'/></para>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 role="kernel" id='wireless-kernel'>
|
---|
73 | <title>Kernel Configuration</title>
|
---|
74 |
|
---|
75 | <indexterm zone="wireless_tools wireless-kernel">
|
---|
76 | <primary sortas="d-Wireless-devices">Wireless devices</primary>
|
---|
77 | </indexterm>
|
---|
78 |
|
---|
79 | <para>To use <application>Wireless Tools</application>, the kernel must
|
---|
80 | have the appropriate drivers and other support available. The appropriate
|
---|
81 | bus must also be available. For many laptops, the PCMCIA bus
|
---|
82 | (CONFIG_PCCARD) needs to be built. In some cases, this bus support will
|
---|
83 | also need to be built for embedded wireless cards. The appropriate bridge
|
---|
84 | support also needs to be built. For many modern laptops, the CardBus host
|
---|
85 | bridge (CONFIG_YENTA) will be needed.</para>
|
---|
86 |
|
---|
87 | <para>In addition to the bus, the actual driver for the specific wireless
|
---|
88 | card must also be available. There are many wireless cards and they don't
|
---|
89 | all work with Linux. The first place to look for card support is the kernel.
|
---|
90 | The drivers are located in Device Drivers → Network Device Support
|
---|
91 | → Wireless LAN (non-hamradio). There are also external drivers
|
---|
92 | available for some very common cards. For more information, look
|
---|
93 | at the user notes.</para>
|
---|
94 |
|
---|
95 | <para>After the correct drivers are loaded, the interface will
|
---|
96 | appear in <filename>/proc/net/wireless</filename>.</para>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of Wireless Tools</title>
|
---|
102 |
|
---|
103 | <para>To install <application>Wireless Tools</application>,
|
---|
104 | use the following commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput>make</userinput></screen>
|
---|
107 |
|
---|
108 | <para>This package does not come with a test suite.</para>
|
---|
109 |
|
---|
110 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
111 |
|
---|
112 | <screen role="root"><userinput>make PREFIX=/usr INSTALL_MAN=/usr/share/man install</userinput></screen>
|
---|
113 |
|
---|
114 | </sect2>
|
---|
115 |
|
---|
116 | <sect2 role="commands">
|
---|
117 | <title>Command Explanations</title>
|
---|
118 |
|
---|
119 | <para><command>INSTALL_MAN=/usr/share/man</command>: Install manual pages
|
---|
120 | in /usr/share/man instead of /usr/man</para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Programs</segtitle>
|
---|
129 | <segtitle>Installed Library</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>ifrename, iwconfig, iwevent, iwgetid, iwlist, iwpriv,
|
---|
134 | and iwspy</seg>
|
---|
135 | <seg>libiw.so</seg>
|
---|
136 | <seg>None</seg>
|
---|
137 | </seglistitem>
|
---|
138 | </segmentedlist>
|
---|
139 |
|
---|
140 | <variablelist>
|
---|
141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
142 | <?dbfo list-presentation="list"?>
|
---|
143 | <?dbhtml list-presentation="table"?>
|
---|
144 |
|
---|
145 | <varlistentry id="ifrename">
|
---|
146 | <term><command>ifrename</command></term>
|
---|
147 | <listitem>
|
---|
148 | <para>renames network interfaces based on various static criteria.</para>
|
---|
149 | <indexterm zone="wireless_tools ifrename">
|
---|
150 | <primary sortas="b-ifrename">ifrename</primary>
|
---|
151 | </indexterm>
|
---|
152 | </listitem>
|
---|
153 | </varlistentry>
|
---|
154 |
|
---|
155 | <varlistentry id="iwconfig">
|
---|
156 | <term><command>iwconfig</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>configures a wireless network interface.</para>
|
---|
159 | <indexterm zone="wireless_tools iwconfig">
|
---|
160 | <primary sortas="b-iwconfig">iwconfig</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | <varlistentry id="iwevent">
|
---|
166 | <term><command>iwevent</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>displays wireless events generated by drivers and setting
|
---|
169 | changes.</para>
|
---|
170 | <indexterm zone="wireless_tools iwevent">
|
---|
171 | <primary sortas="b-iwevent">iwevent</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="iwgetid">
|
---|
177 | <term><command>iwgetid</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>reports ESSID, NWID or AP/Cell Address of wireless networks.</para>
|
---|
180 | <indexterm zone="wireless_tools iwgetid">
|
---|
181 | <primary sortas="b-iwgetid">iwgetid</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | <varlistentry id="iwlist">
|
---|
187 | <term><command>iwlist</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>gets detailed wireless information from a wireless interface.</para>
|
---|
190 | <indexterm zone="wireless_tools iwlist">
|
---|
191 | <primary sortas="b-iwlist">iwlist</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | <varlistentry id="iwpriv">
|
---|
197 | <term><command>iwpriv</command></term>
|
---|
198 | <listitem>
|
---|
199 | <para>configures optional (private) parameters of a wireless network
|
---|
200 | interface.</para>
|
---|
201 | <indexterm zone="wireless_tools iwpriv">
|
---|
202 | <primary sortas="b-iwpriv">iwpriv</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | <varlistentry id="iwspy">
|
---|
208 | <term><command>iwspy</command></term>
|
---|
209 | <listitem>
|
---|
210 | <para>gets wireless statistics from specific node.</para>
|
---|
211 | <indexterm zone="wireless_tools iwspy">
|
---|
212 | <primary sortas="b-iwspy">iwspy</primary>
|
---|
213 | </indexterm>
|
---|
214 | </listitem>
|
---|
215 | </varlistentry>
|
---|
216 |
|
---|
217 | <varlistentry id="libiw">
|
---|
218 | <term><filename class='libraryfile'>libiw.so</filename></term>
|
---|
219 | <listitem>
|
---|
220 | <para>contains functions required by the wireless programs and
|
---|
221 | provides an API for other programs.</para>
|
---|
222 | <indexterm zone="wireless_tools libiw">
|
---|
223 | <primary sortas="c-libiw">libiw.so</primary>
|
---|
224 | </indexterm>
|
---|
225 | </listitem>
|
---|
226 | </varlistentry>
|
---|
227 |
|
---|
228 | </variablelist>
|
---|
229 |
|
---|
230 | </sect2>
|
---|
231 |
|
---|
232 | </sect1>
|
---|