Wireless Tools-29

Wireless Tools の概要

The Wireless Extension (WE) is a generic API in the Linux kernel allowing a driver to expose configuration and statistics specific to common Wireless LANs to userspace. A single set of tools can support all the variations of Wireless LANs, regardless of their type, as long as the driver supports Wireless Extensions. WE parameters may also be changed on the fly without restarting the driver (or Linux).

The Wireless Tools (WT) package is a set of tools allowing manipulation of the Wireless Extensions. They use a textual interface to support the full Wireless Extension.

[注記]

注記

LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。

パッケージ情報

追加のダウンロード

Wireless Tools の依存パッケージ

必須 (実行時)

Configuring the Linux Kernel for Wireless

カーネルの設定

To use Wireless Tools, the kernel must have the appropriate drivers and other support available. Besides the configurations mentioned by Configuring the Linux Kernel for Wireless, it's also needed to enable the following options in the kernel configuration:

[*] Networking support --->                                                [NET]
  [*] Wireless --->                                                   [WIRELESS]
    <*/M> cfg80211 - wireless configuration API                       [CFG80211]
    [*]     cfg80211 wireless extensions compatibility           [CFG80211_WEXT]

Wireless Tools のインストール

First, apply a patch that fixes a problem when numerous networks are available:

patch -Np1 -i ../wireless_tools-29-fix_iwlist_scanning-1.patch

以下のコマンドを実行して Wireless Tools をビルドします。

make

このパッケージにテストスイートはありません。

root ユーザーになって以下を実行します。

make PREFIX=/usr INSTALL_MAN=/usr/share/man install

コマンド説明

INSTALL_MAN=/usr/share/man: Install manual pages in /usr/share/man instead of /usr/man.

パッケージ構成

インストールプログラム: ifrename, iwconfig, iwevent, iwgetid, iwlist, iwpriv, iwspy
インストールライブラリ: libiw.so
インストールディレクトリ: なし

概略説明

ifrename

renames network interfaces based on various static criteria

iwconfig

configures a wireless network interface

iwevent

displays wireless events generated by drivers and setting changes

iwgetid

reports ESSID, NWID or AP/Cell Address of wireless networks

iwlist

gets detailed wireless information from a wireless interface

iwpriv

configures optional (private) parameters of a wireless network interface

iwspy

gets wireless statistics from specific node

libiw.so

contains functions required by the wireless programs and provides an API for other programs