[1e6e8ee] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[34f53a5] | 7 | <!ENTITY iw-download-http "https://www.kernel.org/pub/software/network/iw/iw-&iw-version;.tar.xz">
|
---|
[1e6e8ee] | 8 | <!ENTITY iw-download-ftp " ">
|
---|
[6d8b3302] | 9 | <!ENTITY iw-md5sum "782a3460da2854bd2e5b8f96845a62f8">
|
---|
| 10 | <!ENTITY iw-size "148 KB">
|
---|
| 11 | <!ENTITY iw-buildsize "4.5 MB">
|
---|
[1e6e8ee] | 12 | <!ENTITY iw-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="iw" xreflabel="iw-&iw-version;">
|
---|
| 16 | <?dbhtml filename="iw.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>iw-&iw-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="iw">
|
---|
| 25 | <primary sortas="a-iw">iw</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to iw</title>
|
---|
| 30 |
|
---|
[b51fe6e] | 31 | <para>
|
---|
| 32 | <application>iw</application> is a new nl80211 based CLI configuration
|
---|
| 33 | utility for wireless devices. It supports all new drivers that have been
|
---|
| 34 | added to the kernel recently. The old tool
|
---|
| 35 | <application>iwconfig</application>, which uses Wireless Extensions
|
---|
| 36 | interface, is deprecated and it's strongly recommended to switch to
|
---|
| 37 | <application>iw</application> and nl80211.
|
---|
[1e6e8ee] | 38 | </para>
|
---|
| 39 |
|
---|
[20a35ab] | 40 | &lfs110a_checked;
|
---|
[1e6e8ee] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing='compact'>
|
---|
| 44 | <listitem>
|
---|
[b51fe6e] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&iw-download-http;"/>
|
---|
| 47 | </para>
|
---|
[1e6e8ee] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[b51fe6e] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&iw-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[1e6e8ee] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[b51fe6e] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &iw-md5sum;
|
---|
| 57 | </para>
|
---|
[1e6e8ee] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[b51fe6e] | 60 | <para>
|
---|
| 61 | Download size: &iw-size;
|
---|
| 62 | </para>
|
---|
[1e6e8ee] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[b51fe6e] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &iw-buildsize;
|
---|
| 67 | </para>
|
---|
[1e6e8ee] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[b51fe6e] | 70 | <para>
|
---|
| 71 | Estimated build time: &iw-time;
|
---|
| 72 | </para>
|
---|
[1e6e8ee] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">iw Dependencies</bridgehead>
|
---|
| 77 |
|
---|
[b0b73b1] | 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[1e6e8ee] | 79 | <para role="required">
|
---|
| 80 | <xref linkend="libnl"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url='&blfs-wiki;/iw'/></para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="kernel" id='iw-kernel'>
|
---|
| 89 | <title>Kernel Configuration</title>
|
---|
| 90 |
|
---|
| 91 | <indexterm zone="iw iw-kernel">
|
---|
| 92 | <primary sortas="d-iw-devices">Wireless devices</primary>
|
---|
| 93 | </indexterm>
|
---|
| 94 |
|
---|
[b51fe6e] | 95 | <para>
|
---|
| 96 | To use <application>iw</application>, the kernel must have the
|
---|
| 97 | appropriate drivers and other support available. The appropriate bus
|
---|
| 98 | must also be available. For older laptops, the PCMCIA bus
|
---|
| 99 | (CONFIG_PCCARD) needs to be built. In some cases, this bus support will
|
---|
| 100 | also need to be built for embedded iw cards. The appropriate bridge
|
---|
| 101 | support also needs to be built. For many modern laptops, the CardBus host
|
---|
| 102 | bridge (CONFIG_YENTA) will be needed.
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | In addition to the bus, the actual driver for the specific wireless
|
---|
| 107 | card must also be available. There are many wireless cards and they
|
---|
| 108 | don't all work with Linux. The first place to look for card support is
|
---|
| 109 | the kernel. The drivers are located in Device Drivers → Network
|
---|
| 110 | Device Support → Wireless LAN (non-hamradio). There are also
|
---|
| 111 | external drivers available for some very common cards. For more
|
---|
| 112 | information, look at the user notes.
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | After the correct drivers are loaded, the interface will
|
---|
| 117 | appear in <filename>/proc/net/wireless</filename>.
|
---|
| 118 | </para>
|
---|
[1e6e8ee] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="installation">
|
---|
| 123 | <title>Installation of iw</title>
|
---|
| 124 |
|
---|
[b51fe6e] | 125 | <para>
|
---|
| 126 | To install <application>iw</application>,
|
---|
| 127 | use the following commands:
|
---|
| 128 | </para>
|
---|
[1e6e8ee] | 129 |
|
---|
| 130 | <screen><userinput>sed -i "/INSTALL.*gz/s/.gz//" Makefile &&
|
---|
| 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
[b51fe6e] | 133 | <para>
|
---|
| 134 | This package does not come with a test suite.
|
---|
| 135 | </para>
|
---|
[1e6e8ee] | 136 |
|
---|
[b51fe6e] | 137 | <para>
|
---|
| 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
[1e6e8ee] | 140 |
|
---|
[319ebb32] | 141 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1e6e8ee] | 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="commands">
|
---|
| 146 | <title>Command Explanations</title>
|
---|
| 147 |
|
---|
[b51fe6e] | 148 | <para>
|
---|
| 149 | <command>sed ...</command>: Install uncompressed manual pages
|
---|
| 150 | in accordance with other man pages.
|
---|
| 151 | </para>
|
---|
[1e6e8ee] | 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>iw</seg>
|
---|
| 165 | <seg>None</seg>
|
---|
| 166 | <seg>None</seg>
|
---|
| 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="iw-prog">
|
---|
| 176 | <term><command>iw</command></term>
|
---|
| 177 | <listitem>
|
---|
[b51fe6e] | 178 | <para>
|
---|
[4c24eb0a] | 179 | shows / manipulates wireless devices and their configuration
|
---|
[b51fe6e] | 180 | </para>
|
---|
[1e6e8ee] | 181 | <indexterm zone="iw iw-prog">
|
---|
| 182 | <primary sortas="b-iw">iw</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|