- Atheros a/b/g対応のカード
- ドライバはSourceForgeより取得可
- デバイス名は athXとなる。
- カーネルソースが/hoge/fuga/kernel-sourceにあり、バージョンが2.6.8.1、モジュールのインストール場所を/hoge/fuga/dist-dirとすると、以下のようにすればよい。
export COPTS=-DSOFTLED <== 無線LANのLEDを使用
export KERNELRELEASE=2.6.8.1 <== 無指定の場合は uname -r の結果
export KERNELSOURCE=/hoge/fuga/kernel-source <== 無指定の場合は /lib/modules/`uname -r`/build
export DISTDIR=/hoge/fuga/dist-dir <== 無指定の場合は / (/lib/modules/`uname -r`/net 以下にインストールされる)
make
make install
- /etc/modprobe.d/ath0というファイルを作成し、以下のように記述し、update-modulesを実行することにより、/etc/modules.confを更新する。
alias ath0 ath_pci
- /etc/network/interfacesに以下のように書く
iface ath0 inet dhcp <== eth0ではない
wireless_mode managed
# The WEP key
wireless_key s:hogehoge
# The WLAN Name
wireless_essid WLANSSID
wireless_power off
wireless_txpower auto
- どのESSIDが使用可能か調べるためには、以下のようにすることにより、リストとして出力可能。
# ifconfig ath0 up
# iwlist ath0 scan