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