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