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 |
|
---|
7 | <!ENTITY iw-download-http "https://www.kernel.org/pub/software/network/iw/iw-&iw-version;.tar.xz">
|
---|
8 | <!ENTITY iw-download-ftp " ">
|
---|
9 | <!ENTITY iw-md5sum "9e6bb70ae4f19283e921fc59c6079556">
|
---|
10 | <!ENTITY iw-size "112 KB">
|
---|
11 | <!ENTITY iw-buildsize "3.6 MB">
|
---|
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 |
|
---|
32 | <para>iw is a new nl80211 based CLI configuration utility for wireless
|
---|
33 | devices. It supports all new drivers that have been added to the kernel
|
---|
34 | recently. The old tool iwconfig, which uses Wireless Extensions interface,
|
---|
35 | is deprecated and it's strongly recommended to switch to iw and nl80211.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs83_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing='compact'>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&iw-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&iw-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &iw-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &iw-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &iw-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &iw-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">iw Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Requireded</bridgehead>
|
---|
65 | <para role="required">
|
---|
66 | <xref linkend="libnl"/>
|
---|
67 | </para>
|
---|
68 |
|
---|
69 | <para condition="html" role="usernotes">User Notes:
|
---|
70 | <ulink url='&blfs-wiki;/iw'/></para>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2 role="kernel" id='iw-kernel'>
|
---|
75 | <title>Kernel Configuration</title>
|
---|
76 |
|
---|
77 | <indexterm zone="iw iw-kernel">
|
---|
78 | <primary sortas="d-iw-devices">Wireless devices</primary>
|
---|
79 | </indexterm>
|
---|
80 |
|
---|
81 | <para>To use <application>Wireless Tools</application>, the kernel must
|
---|
82 | have the appropriate drivers and other support available. The appropriate
|
---|
83 | bus must also be available. For oldere laptops, the PCMCIA bus
|
---|
84 | (CONFIG_PCCARD) needs to be built. In some cases, this bus support will
|
---|
85 | also need to be built for embedded iw cards. The appropriate bridge
|
---|
86 | support also needs to be built. For many modern laptops, the CardBus host
|
---|
87 | bridge (CONFIG_YENTA) will be needed.</para>
|
---|
88 |
|
---|
89 | <para>In addition to the bus, the actual driver for the specific wireless
|
---|
90 | card must also be available. There are many wireless cards and they don't
|
---|
91 | all work with Linux. The first place to look for card support is the kernel.
|
---|
92 | The drivers are located in Device Drivers → Network Device Support
|
---|
93 | → Wireless LAN (non-hamradio). There are also external drivers
|
---|
94 | available for some very common cards. For more information, look
|
---|
95 | at the user notes.</para>
|
---|
96 |
|
---|
97 | <para>After the correct drivers are loaded, the interface will
|
---|
98 | appear in <filename>/proc/net/wireless</filename>.</para>
|
---|
99 |
|
---|
100 | </sect2>
|
---|
101 |
|
---|
102 | <sect2 role="installation">
|
---|
103 | <title>Installation of iw</title>
|
---|
104 |
|
---|
105 | <para>To install <application>iw</application>,
|
---|
106 | use the following commands:</para>
|
---|
107 |
|
---|
108 | <screen><userinput>sed -i "/INSTALL.*gz/s/.gz//" Makefile &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>This package does not come with a test suite.</para>
|
---|
112 |
|
---|
113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
114 |
|
---|
115 | <screen role="root"><userinput>make SBINDIR=/sbin install</userinput></screen>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="commands">
|
---|
120 | <title>Command Explanations</title>
|
---|
121 |
|
---|
122 | <para><command>sed ...</command>: Install uncompressed manual pages
|
---|
123 | in accordance with other man pages.</para>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="content">
|
---|
128 | <title>Contents</title>
|
---|
129 |
|
---|
130 | <segmentedlist>
|
---|
131 | <segtitle>Installed Programs</segtitle>
|
---|
132 | <segtitle>Installed Libraries</segtitle>
|
---|
133 | <segtitle>Installed Directories</segtitle>
|
---|
134 |
|
---|
135 | <seglistitem>
|
---|
136 | <seg>iw</seg>
|
---|
137 | <seg>None</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="iw-prog">
|
---|
148 | <term><command>iw</command></term>
|
---|
149 | <listitem>
|
---|
150 | <para>show / manipulate wireless devices and their configuration</para>
|
---|
151 | <indexterm zone="iw iw-prog">
|
---|
152 | <primary sortas="b-iw">iw</primary>
|
---|
153 | </indexterm>
|
---|
154 | </listitem>
|
---|
155 | </varlistentry>
|
---|
156 |
|
---|
157 | </variablelist>
|
---|
158 |
|
---|
159 | </sect2>
|
---|
160 |
|
---|
161 | </sect1>
|
---|