[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[a0e439d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c5e6a8fd] | 7 | <!ENTITY wireless-download-http "https://hewlettpackard.github.io/wireless-tools/wireless_tools.&wireless-tools-version;.tar.gz">
|
---|
[a0e439d] | 8 | <!ENTITY wireless-download-ftp " ">
|
---|
[0aa7aa09] | 9 | <!ENTITY wireless-md5sum "e06c222e186f7cc013fd272d023710cb">
|
---|
| 10 | <!ENTITY wireless-size "288 KB">
|
---|
| 11 | <!ENTITY wireless-buildsize "2.0 MB">
|
---|
[a0e439d] | 12 | <!ENTITY wireless-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[9aa2603] | 15 | <sect1 id="wireless_tools" xreflabel="Wireless Tools-&wireless-tools-version;">
|
---|
[a0e439d] | 16 | <?dbhtml filename="wireless_tools.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[9aa2603] | 19 | <title>Wireless Tools-&wireless-tools-version;</title>
|
---|
[a0e439d] | 20 |
|
---|
| 21 | <indexterm zone="wireless_tools">
|
---|
[1ab143b9] | 22 | <primary sortas="a-WirelessTools">Wireless Tools</primary>
|
---|
[a0e439d] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[9aa2603] | 26 | <title>Introduction to Wireless Tools</title>
|
---|
[a0e439d] | 27 |
|
---|
[b51fe6e] | 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
|
---|
[a0e08b2] | 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
|
---|
[b51fe6e] | 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>
|
---|
[a0e439d] | 42 |
|
---|
[9c48a24b] | 43 | &lfs122_checked;
|
---|
[0aa7aa09] | 44 |
|
---|
[a0e439d] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing='compact'>
|
---|
| 47 | <listitem>
|
---|
[b51fe6e] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&wireless-download-http;"/>
|
---|
| 50 | </para>
|
---|
[a0e439d] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[b51fe6e] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&wireless-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[a0e439d] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[b51fe6e] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &wireless-md5sum;
|
---|
| 60 | </para>
|
---|
[a0e439d] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[b51fe6e] | 63 | <para>
|
---|
| 64 | Download size: &wireless-size;
|
---|
| 65 | </para>
|
---|
[a0e439d] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[b51fe6e] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &wireless-buildsize;
|
---|
| 70 | </para>
|
---|
[a0e439d] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[b51fe6e] | 73 | <para>
|
---|
| 74 | Estimated build time: &wireless-time;
|
---|
| 75 | </para>
|
---|
[a0e439d] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
[1de48c0f] | 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 |
|
---|
[ca66edf] | 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 |
|
---|
[a0e439d] | 97 | </sect2>
|
---|
| 98 |
|
---|
[ca66edf] | 99 | <sect2 role="kernel" id='wireless-tools-kernel'>
|
---|
[a0e439d] | 100 | <title>Kernel Configuration</title>
|
---|
| 101 |
|
---|
[b51fe6e] | 102 | <para>
|
---|
| 103 | To use <application>Wireless Tools</application>, the kernel must have
|
---|
[ca66edf] | 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:
|
---|
[b51fe6e] | 108 | </para>
|
---|
| 109 |
|
---|
[0add366] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 111 | href="wireless-tools-kernel.xml"/>
|
---|
[b51fe6e] | 112 |
|
---|
[ca66edf] | 113 | <indexterm zone="wireless_tools wireless-tools-kernel">
|
---|
| 114 | <primary sortas="d-wireless_tools">Wireless Tools</primary>
|
---|
| 115 | </indexterm>
|
---|
[a0e439d] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
[9aa2603] | 120 | <title>Installation of Wireless Tools</title>
|
---|
[a0e439d] | 121 |
|
---|
[b51fe6e] | 122 | <para>
|
---|
| 123 | First, apply a patch that fixes a problem when numerous
|
---|
| 124 | networks are available:
|
---|
| 125 | </para>
|
---|
[1de48c0f] | 126 |
|
---|
| 127 | <screen><userinput>patch -Np1 -i ../wireless_tools-&wireless-tools-version;-fix_iwlist_scanning-1.patch</userinput></screen>
|
---|
| 128 |
|
---|
[b51fe6e] | 129 | <para>
|
---|
| 130 | To install <application>Wireless Tools</application>,
|
---|
| 131 | use the following commands:
|
---|
| 132 | </para>
|
---|
[a0e439d] | 133 |
|
---|
[aa0ca26] | 134 | <screen><userinput>make</userinput></screen>
|
---|
[a0e439d] | 135 |
|
---|
[b51fe6e] | 136 | <para>
|
---|
| 137 | This package does not come with a test suite.
|
---|
| 138 | </para>
|
---|
[a0e439d] | 139 |
|
---|
[b51fe6e] | 140 | <para>
|
---|
| 141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
[a0e439d] | 143 |
|
---|
[0aa7aa09] | 144 | <screen role="root"><userinput>make PREFIX=/usr INSTALL_MAN=/usr/share/man install</userinput></screen>
|
---|
[a0e439d] | 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
| 150 |
|
---|
[b51fe6e] | 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>
|
---|
[9f12e36] | 156 |
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 183 | <para>
|
---|
[4c24eb0a] | 184 | renames network interfaces based on various static criteria
|
---|
[b51fe6e] | 185 | </para>
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 195 | <para>
|
---|
[4c24eb0a] | 196 | configures a wireless network interface
|
---|
[b51fe6e] | 197 | </para>
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 207 | <para>
|
---|
[4c24eb0a] | 208 | displays wireless events generated by drivers and setting changes
|
---|
[b51fe6e] | 209 | </para>
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 219 | <para>
|
---|
[4c24eb0a] | 220 | reports ESSID, NWID or AP/Cell Address of wireless networks
|
---|
[b51fe6e] | 221 | </para>
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 231 | <para>
|
---|
[4c24eb0a] | 232 | gets detailed wireless information from a wireless interface
|
---|
[b51fe6e] | 233 | </para>
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 243 | <para>
|
---|
| 244 | configures optional (private) parameters of a wireless network
|
---|
[4c24eb0a] | 245 | interface
|
---|
[b51fe6e] | 246 | </para>
|
---|
[a0e439d] | 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>
|
---|
[b51fe6e] | 256 | <para>
|
---|
[4c24eb0a] | 257 | gets wireless statistics from specific node
|
---|
[b51fe6e] | 258 | </para>
|
---|
[a0e439d] | 259 | <indexterm zone="wireless_tools iwspy">
|
---|
| 260 | <primary sortas="b-iwspy">iwspy</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="libiw">
|
---|
[4c24eb0a] | 266 | <term><filename class="libraryfile">libiw.so</filename></term>
|
---|
[a0e439d] | 267 | <listitem>
|
---|
[b51fe6e] | 268 | <para>
|
---|
| 269 | contains functions required by the wireless programs and
|
---|
[4c24eb0a] | 270 | provides an API for other programs
|
---|
[b51fe6e] | 271 | </para>
|
---|
[a0e439d] | 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>
|
---|