[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[ca66edf] | 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 |
|
---|
[c5d6597] | 8 | <sect1 id="wireless-kernel" xreflabel="Configuring the Linux Kernel for Wireless">
|
---|
[ca66edf] | 9 | <?dbhtml filename="wireless-kernel.html"?>
|
---|
| 10 |
|
---|
| 11 |
|
---|
[c5d6597] | 12 | <title>Configuring the Linux Kernel for Wireless</title>
|
---|
[ca66edf] | 13 |
|
---|
| 14 | <para>
|
---|
[da1a663] | 15 | Before using any userspace tools for connecting to a wireless AP,
|
---|
[ca66edf] | 16 | the Linux kernel must be configured to drive the wireless NIC properly.
|
---|
| 17 | Enable the following options in the kernel configuration as well as
|
---|
| 18 | specific device drivers for your hardware and recompile the kernel if
|
---|
| 19 | necessary:
|
---|
| 20 | </para>
|
---|
| 21 |
|
---|
[0add366] | 22 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 23 | href="wireless-kernel-kernel.xml"/>
|
---|
[ca66edf] | 24 |
|
---|
| 25 | <para>
|
---|
| 26 | Open the <quote>Wireless LAN</quote> submenu and select the options that
|
---|
| 27 | support your hardware. <command>lspci</command> from
|
---|
| 28 | <xref linkend="pciutils"/> or <command>lsusb</command> from
|
---|
| 29 | <xref linkend="usbutils"/> can be used to
|
---|
| 30 | view your hardware configuration. Note that many (though not all)
|
---|
| 31 | options for the wireless NICs depend on
|
---|
| 32 | <parameter>CONFIG_MAC80211</parameter>. After the correct drivers are
|
---|
| 33 | loaded, the interface will appear in
|
---|
[da1a663] | 34 | <filename>/sys/class/net</filename>, or in the output of the
|
---|
[ca66edf] | 35 | <command>ip link</command> command.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
| 38 | <para>
|
---|
[da1a663] | 39 | Many wireless NIC drivers require firmware. If you've enabled the
|
---|
[ca66edf] | 40 | correct driver in the kernel configuration but it fails to load (with
|
---|
[af2b317] | 41 | messages like <computeroutput>Direct firmware load for
|
---|
[ca66edf] | 42 | <replaceable><filename</replaceable>> failed with error
|
---|
[af2b317] | 43 | -2</computeroutput>, it means that you need to install the firmware
|
---|
[da1a663] | 44 | or the wireless NIC won't work. Read <xref linkend='postlfs-firmware'/>
|
---|
| 45 | for more details.
|
---|
[ca66edf] | 46 | </para>
|
---|
| 47 |
|
---|
| 48 | </sect1>
|
---|