[a0e439d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[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 |
|
---|
[c8b719a] | 43 | &lfs120_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 |
|
---|
[42ddc30] | 97 | <para condition="html" role="usernotes">Editor Notes:
|
---|
[a0e439d] | 98 | <ulink url='&blfs-wiki;/WirelessTools'/></para>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
[ca66edf] | 102 | <sect2 role="kernel" id='wireless-tools-kernel'>
|
---|
[a0e439d] | 103 | <title>Kernel Configuration</title>
|
---|
| 104 |
|
---|
[b51fe6e] | 105 | <para>
|
---|
| 106 | To use <application>Wireless Tools</application>, the kernel must have
|
---|
[ca66edf] | 107 | the appropriate drivers and other support available. Besides the
|
---|
| 108 | configurations mentioned by <xref linkend='wireless-kernel'/>, it's
|
---|
| 109 | also needed to enable the following options in the kernel
|
---|
| 110 | configuration:
|
---|
[b51fe6e] | 111 | </para>
|
---|
| 112 |
|
---|
[0add366] | 113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 114 | href="wireless-tools-kernel.xml"/>
|
---|
[b51fe6e] | 115 |
|
---|
[ca66edf] | 116 | <indexterm zone="wireless_tools wireless-tools-kernel">
|
---|
| 117 | <primary sortas="d-wireless_tools">Wireless Tools</primary>
|
---|
| 118 | </indexterm>
|
---|
[a0e439d] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="installation">
|
---|
[9aa2603] | 123 | <title>Installation of Wireless Tools</title>
|
---|
[a0e439d] | 124 |
|
---|
[b51fe6e] | 125 | <para>
|
---|
| 126 | First, apply a patch that fixes a problem when numerous
|
---|
| 127 | networks are available:
|
---|
| 128 | </para>
|
---|
[1de48c0f] | 129 |
|
---|
| 130 | <screen><userinput>patch -Np1 -i ../wireless_tools-&wireless-tools-version;-fix_iwlist_scanning-1.patch</userinput></screen>
|
---|
| 131 |
|
---|
[b51fe6e] | 132 | <para>
|
---|
| 133 | To install <application>Wireless Tools</application>,
|
---|
| 134 | use the following commands:
|
---|
| 135 | </para>
|
---|
[a0e439d] | 136 |
|
---|
[aa0ca26] | 137 | <screen><userinput>make</userinput></screen>
|
---|
[a0e439d] | 138 |
|
---|
[b51fe6e] | 139 | <para>
|
---|
| 140 | This package does not come with a test suite.
|
---|
| 141 | </para>
|
---|
[a0e439d] | 142 |
|
---|
[b51fe6e] | 143 | <para>
|
---|
| 144 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 145 | </para>
|
---|
[a0e439d] | 146 |
|
---|
[0aa7aa09] | 147 | <screen role="root"><userinput>make PREFIX=/usr INSTALL_MAN=/usr/share/man install</userinput></screen>
|
---|
[a0e439d] | 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="commands">
|
---|
| 152 | <title>Command Explanations</title>
|
---|
| 153 |
|
---|
[b51fe6e] | 154 | <para>
|
---|
| 155 | <command>INSTALL_MAN=/usr/share/man</command>: Install manual pages
|
---|
| 156 | in <filename class="directory">/usr/share/man</filename> instead of
|
---|
| 157 | <filename class="directory">/usr/man</filename>.
|
---|
| 158 | </para>
|
---|
[9f12e36] | 159 |
|
---|
[a0e439d] | 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
| 166 | <segtitle>Installed Programs</segtitle>
|
---|
| 167 | <segtitle>Installed Library</segtitle>
|
---|
| 168 | <segtitle>Installed Directories</segtitle>
|
---|
| 169 |
|
---|
| 170 | <seglistitem>
|
---|
| 171 | <seg>ifrename, iwconfig, iwevent, iwgetid, iwlist, iwpriv,
|
---|
| 172 | and iwspy</seg>
|
---|
| 173 | <seg>libiw.so</seg>
|
---|
| 174 | <seg>None</seg>
|
---|
| 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="ifrename">
|
---|
| 184 | <term><command>ifrename</command></term>
|
---|
| 185 | <listitem>
|
---|
[b51fe6e] | 186 | <para>
|
---|
[4c24eb0a] | 187 | renames network interfaces based on various static criteria
|
---|
[b51fe6e] | 188 | </para>
|
---|
[a0e439d] | 189 | <indexterm zone="wireless_tools ifrename">
|
---|
| 190 | <primary sortas="b-ifrename">ifrename</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="iwconfig">
|
---|
| 196 | <term><command>iwconfig</command></term>
|
---|
| 197 | <listitem>
|
---|
[b51fe6e] | 198 | <para>
|
---|
[4c24eb0a] | 199 | configures a wireless network interface
|
---|
[b51fe6e] | 200 | </para>
|
---|
[a0e439d] | 201 | <indexterm zone="wireless_tools iwconfig">
|
---|
| 202 | <primary sortas="b-iwconfig">iwconfig</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="iwevent">
|
---|
| 208 | <term><command>iwevent</command></term>
|
---|
| 209 | <listitem>
|
---|
[b51fe6e] | 210 | <para>
|
---|
[4c24eb0a] | 211 | displays wireless events generated by drivers and setting changes
|
---|
[b51fe6e] | 212 | </para>
|
---|
[a0e439d] | 213 | <indexterm zone="wireless_tools iwevent">
|
---|
| 214 | <primary sortas="b-iwevent">iwevent</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="iwgetid">
|
---|
| 220 | <term><command>iwgetid</command></term>
|
---|
| 221 | <listitem>
|
---|
[b51fe6e] | 222 | <para>
|
---|
[4c24eb0a] | 223 | reports ESSID, NWID or AP/Cell Address of wireless networks
|
---|
[b51fe6e] | 224 | </para>
|
---|
[a0e439d] | 225 | <indexterm zone="wireless_tools iwgetid">
|
---|
| 226 | <primary sortas="b-iwgetid">iwgetid</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="iwlist">
|
---|
| 232 | <term><command>iwlist</command></term>
|
---|
| 233 | <listitem>
|
---|
[b51fe6e] | 234 | <para>
|
---|
[4c24eb0a] | 235 | gets detailed wireless information from a wireless interface
|
---|
[b51fe6e] | 236 | </para>
|
---|
[a0e439d] | 237 | <indexterm zone="wireless_tools iwlist">
|
---|
| 238 | <primary sortas="b-iwlist">iwlist</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="iwpriv">
|
---|
| 244 | <term><command>iwpriv</command></term>
|
---|
| 245 | <listitem>
|
---|
[b51fe6e] | 246 | <para>
|
---|
| 247 | configures optional (private) parameters of a wireless network
|
---|
[4c24eb0a] | 248 | interface
|
---|
[b51fe6e] | 249 | </para>
|
---|
[a0e439d] | 250 | <indexterm zone="wireless_tools iwpriv">
|
---|
| 251 | <primary sortas="b-iwpriv">iwpriv</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="iwspy">
|
---|
| 257 | <term><command>iwspy</command></term>
|
---|
| 258 | <listitem>
|
---|
[b51fe6e] | 259 | <para>
|
---|
[4c24eb0a] | 260 | gets wireless statistics from specific node
|
---|
[b51fe6e] | 261 | </para>
|
---|
[a0e439d] | 262 | <indexterm zone="wireless_tools iwspy">
|
---|
| 263 | <primary sortas="b-iwspy">iwspy</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
| 268 | <varlistentry id="libiw">
|
---|
[4c24eb0a] | 269 | <term><filename class="libraryfile">libiw.so</filename></term>
|
---|
[a0e439d] | 270 | <listitem>
|
---|
[b51fe6e] | 271 | <para>
|
---|
| 272 | contains functions required by the wireless programs and
|
---|
[4c24eb0a] | 273 | provides an API for other programs
|
---|
[b51fe6e] | 274 | </para>
|
---|
[a0e439d] | 275 | <indexterm zone="wireless_tools libiw">
|
---|
| 276 | <primary sortas="c-libiw">libiw.so</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
| 281 | </variablelist>
|
---|
| 282 |
|
---|
| 283 | </sect2>
|
---|
| 284 |
|
---|
| 285 | </sect1>
|
---|