[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 |
|
---|
[aa0ca26] | 7 | <!ENTITY wireless-download-http "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.28.tar.gz">
|
---|
[a0e439d] | 8 | <!ENTITY wireless-download-ftp " ">
|
---|
[aa0ca26] | 9 | <!ENTITY wireless-md5sum "599c94497f9c9073c7b052d3dcb7cd16">
|
---|
| 10 | <!ENTITY wireless-size "249 KB">
|
---|
[a0e439d] | 11 | <!ENTITY wireless-buildsize "1.7 MB">
|
---|
| 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 |
|
---|
| 32 | <para>The Wireless Extension (WE) is a generic API in the Linux kernel
|
---|
| 33 | allowing 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).</para>
|
---|
| 38 |
|
---|
| 39 | <para>The <application>Wireless Tools</application> (WT) package is a set
|
---|
| 40 | of tools allowing manipulation of the Wireless Extensions. They use a
|
---|
| 41 | textual interface to support the full Wireless Extension.</para>
|
---|
| 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing='compact'>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&wireless-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&wireless-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &wireless-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &wireless-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &wireless-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &wireless-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
| 65 | <para condition="html" role="usernotes">User Notes:
|
---|
| 66 | <ulink url='&blfs-wiki;/WirelessTools'/></para>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 role="kernel" id='wireless-kernel'>
|
---|
| 71 | <title>Kernel Configuration</title>
|
---|
| 72 |
|
---|
| 73 | <indexterm zone="wireless_tools wireless-kernel">
|
---|
| 74 | <primary sortas="d-Wireless-devices">Wireless devices</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 |
|
---|
[9aa2603] | 77 | <para>To use <application>Wireless Tools</application>, the kernel must
|
---|
[a0e439d] | 78 | have the appropriate drivers and other support available. The appropriate
|
---|
| 79 | bus must also be available. For many laptops, the PCMCIA bus
|
---|
| 80 | (CONFIG_PCCARD) needs to be built. In some cases, this bus support will
|
---|
| 81 | also need to be built for embedded wireless cards. The appropriate bridge
|
---|
| 82 | support also needs to be built. For many modern laptops, the CardBus host
|
---|
| 83 | bridge (CONFIG_YENTA) will be needed.</para>
|
---|
| 84 |
|
---|
| 85 | <para>In addition to the bus, the actual driver for the specific wireless
|
---|
| 86 | card must also be available. There are many wireless cards and they don't
|
---|
[9aa2603] | 87 | all work with Linux. The first place to look for card support is the kernel.
|
---|
[a0e439d] | 88 | The drivers are located in Device Drivers → Network Device Support
|
---|
| 89 | → Wireless LAN (non-hamradio). There are also external drivers
|
---|
[9f12e36] | 90 | available for some very common cards. For more information, look
|
---|
| 91 | at the user notes.</para>
|
---|
[a0e439d] | 92 |
|
---|
[9f12e36] | 93 | <para>After the correct drivers are loaded, the interface will
|
---|
[a0e439d] | 94 | appear in <filename>/proc/net/wireless</filename>.</para>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="installation">
|
---|
[9aa2603] | 99 | <title>Installation of Wireless Tools</title>
|
---|
[a0e439d] | 100 |
|
---|
[9aa2603] | 101 | <para>To install <application>Wireless Tools</application>,
|
---|
[a0e439d] | 102 | use the following commands:</para>
|
---|
| 103 |
|
---|
[aa0ca26] | 104 | <screen><userinput>make</userinput></screen>
|
---|
[a0e439d] | 105 |
|
---|
| 106 | <para>This package does not come with a test suite.</para>
|
---|
| 107 |
|
---|
| 108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 109 |
|
---|
| 110 | <screen role="root"><userinput>make PREFIX=/usr install</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
[aa0ca26] | 114 | <!--
|
---|
[a0e439d] | 115 | <sect2 role="commands">
|
---|
| 116 | <title>Command Explanations</title>
|
---|
| 117 |
|
---|
| 118 | <para><command>sed -i -e "s/__GNUC__ == 3/__GNUC__ > 3/"
|
---|
| 119 | -e "s/__GNUC_MINOR__ < 4/& || __GNUC__ > 3/" iwlib.h</command>:
|
---|
| 120 | This modification is necessary to properly compile inline functions
|
---|
| 121 | with GCC4.</para>
|
---|
[9f12e36] | 122 |
|
---|
[a0e439d] | 123 | </sect2>
|
---|
[aa0ca26] | 124 | -->
|
---|
[a0e439d] | 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Programs</segtitle>
|
---|
| 131 | <segtitle>Installed Library</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
| 135 | <seg>ifrename, iwconfig, iwevent, iwgetid, iwlist, iwpriv,
|
---|
| 136 | and iwspy</seg>
|
---|
| 137 | <seg>libiw.so</seg>
|
---|
| 138 | <seg>None</seg>
|
---|
| 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | <variablelist>
|
---|
| 143 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 144 | <?dbfo list-presentation="list"?>
|
---|
| 145 | <?dbhtml list-presentation="table"?>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="ifrename">
|
---|
| 148 | <term><command>ifrename</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>renames network interfaces based on various static criteria.</para>
|
---|
| 151 | <indexterm zone="wireless_tools ifrename">
|
---|
| 152 | <primary sortas="b-ifrename">ifrename</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="iwconfig">
|
---|
| 158 | <term><command>iwconfig</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>configures a wireless network interface.</para>
|
---|
| 161 | <indexterm zone="wireless_tools iwconfig">
|
---|
| 162 | <primary sortas="b-iwconfig">iwconfig</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="iwevent">
|
---|
| 168 | <term><command>iwevent</command></term>
|
---|
| 169 | <listitem>
|
---|
[9aa2603] | 170 | <para>displays wireless events generated by drivers and setting
|
---|
[a0e439d] | 171 | changes.</para>
|
---|
| 172 | <indexterm zone="wireless_tools iwevent">
|
---|
| 173 | <primary sortas="b-iwevent">iwevent</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="iwgetid">
|
---|
| 179 | <term><command>iwgetid</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>reports ESSID, NWID or AP/Cell Address of wireless networks.</para>
|
---|
| 182 | <indexterm zone="wireless_tools iwgetid">
|
---|
| 183 | <primary sortas="b-iwgetid">iwgetid</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="iwlist">
|
---|
| 189 | <term><command>iwlist</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>gets detailed wireless information from a wireless interface.</para>
|
---|
| 192 | <indexterm zone="wireless_tools iwlist">
|
---|
| 193 | <primary sortas="b-iwlist">iwlist</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="iwpriv">
|
---|
| 199 | <term><command>iwpriv</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>configures optional (private) parameters of a wireless network
|
---|
| 202 | interface.</para>
|
---|
| 203 | <indexterm zone="wireless_tools iwpriv">
|
---|
| 204 | <primary sortas="b-iwpriv">iwpriv</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="iwspy">
|
---|
| 210 | <term><command>iwspy</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>gets wireless statistics from specific node.</para>
|
---|
| 213 | <indexterm zone="wireless_tools iwspy">
|
---|
| 214 | <primary sortas="b-iwspy">iwspy</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="libiw">
|
---|
| 220 | <term><filename class='libraryfile'>libiw.so</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>contains functions required by the wireless programs and
|
---|
| 223 | provides an API for other programs.</para>
|
---|
| 224 | <indexterm zone="wireless_tools libiw">
|
---|
| 225 | <primary sortas="c-libiw">libiw.so</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | </variablelist>
|
---|
| 231 |
|
---|
| 232 | </sect2>
|
---|
| 233 |
|
---|
| 234 | </sect1>
|
---|