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