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