Wifi/ru

Эта статья описывает настройку сетевых устройств Wifi.

Wifi во время установки
Тем, кому требуется соединение Wifi во время установки Gentoo, следует иметь в виду, что минимальный установочный компакт-диск Gentoo содержит только некоторые драйверы и предоставляет только wpa_cli (не wpa_gui) для настройки соединений WPA/WPA2/Enterprise.

If the minimal install CD does not contain the required drivers or the graphical frontend to wpa_supplicant is preferred, choose a different live CD such as the System Rescue CD. Be aware that some special steps may be required when using a non-Gentoo live CD.

Определение аппаратного обеспечения
First detect the Wifi controllers. or are command-line tools that can be used for this task.

If a Linux (LiveCD/USB) is booted that makes a Wifi connection:

The driver will be identified with.

If the booted system does not make a Wifi connection, then obtain a full list of hardware identifiers from the current system. This list can be used to identify the proper driver later:

Copy the list of PCIID's that the command produces and paste it at http://kmuto.jp/debian/hcl/.

For USB devices, a similar approach can be taken. First obtain the list of detected USB devices on the system:

This command produces the PCI ID, manufacturer, make, model, and/or chipset of every USB device attached to the system. Of these, the chipset may be the most useful information. Googling linuxwireless.org  is often the shortest way to find a USB NIC driver and firmware name.

Alternatively, can be used to obtain the necessary information:

This command produces a list of all drivers, regardless of the device being PCI or USB based.

Ядро
With the drivers identified, it is time to configure the Linux kernel.

WEXT
The "cfg80211 wireless extensions compatibility" option aka WEXT will support old wireless-tools & iwconfig.

Драйвера устройств
Next the right set of corresponding kernel options need to be enabled, based on the drivers and hardware detected previously. The recommendation is to build drivers as modules. Also be sure to enable AES cipher support in the kernel if the wireless network uses WPA or WPA2 encryption.

Поддержка LED
To enable LED triggers for different packet receive/transmit events, compile the kernel with the following options:

Firmware
In addition to the kernel driver, some chipsets also require firmware. If required, locate it on the following list and install it:

If the driver requires firmware but does not appear on the list, it will be necessary to download it manually and place it in.

WPA supplicant
Если в беспроводной сети установлены WPA или WPA2, то необходимо использовать. Больше информации по настройке беспроводной сети в Gentoo Linux можно прочитать в разделе Беспроводная сеть в Gentoo Handbook.

dmesg
If none of these methods work be sure to check output for errors. It is likely a kernel driver or module has not been loaded properly:

Устранение проблем

 * Forum thread: wireless lan can't get ip from access point which explains about 169.254.x.x (link local address) being a wrong IP address
 * Forum thread: iwlwifi fails to load after upgrade to 3.17.0
 * Forum thread: Where is my network !?

Смотрите также

 * AC1200 Wireless Adapters
 * iproute2

Внешние ресурсы

 * https://wiki.archlinux.org/index.php/Wireless_network_configuration