mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
49 lines
1.9 KiB
XML
49 lines
1.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
]>
|
|
|
|
<sect1 id="wireless-kernel" xreflabel="Configuring the Linux Kernel for Wireless">
|
|
<?dbhtml filename="wireless-kernel.html"?>
|
|
|
|
|
|
<title>Configuring the Linux Kernel for Wireless</title>
|
|
|
|
<para>
|
|
Before using any userspace tools for connecting to a wireless AP,
|
|
the Linux kernel must be configured to drive the wireless NIC properly.
|
|
Enable the following options in the kernel configuration as well as
|
|
specific device drivers for your hardware and recompile the kernel if
|
|
necessary:
|
|
</para>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="wireless-kernel-kernel.xml"/>
|
|
|
|
<para>
|
|
Open the <quote>Wireless LAN</quote> submenu and select the options that
|
|
support your hardware. <command>lspci</command> from
|
|
<xref linkend="pciutils"/> or <command>lsusb</command> from
|
|
<xref linkend="usbutils"/> can be used to
|
|
view your hardware configuration. Note that many (though not all)
|
|
options for the wireless NICs depend on
|
|
<parameter>CONFIG_MAC80211</parameter>. After the correct drivers are
|
|
loaded, the interface will appear in
|
|
<filename>/sys/class/net</filename>, or in the output of the
|
|
<command>ip link</command> command.
|
|
</para>
|
|
|
|
<para>
|
|
Many wireless NIC drivers require firmware. If you've enabled the
|
|
correct driver in the kernel configuration but it fails to load (with
|
|
messages like <quote><computeroutput>Direct firmware load for
|
|
<replaceable><filename</replaceable>> failed with error
|
|
-2</computeroutput></quote>, it means that you need to install the firmware
|
|
or the wireless NIC won't work. Read <xref linkend='postlfs-firmware'/>
|
|
for more details.
|
|
</para>
|
|
|
|
</sect1>
|