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