YANO's digital garage

Copyright ©YANO All rights reserved. https://www.bravotouring.com/~yano/

Last-modified: 2024-04-24 (水)


[一語一絵/IT系]

CF-Y5とFedora Coreと無線LAN / 2007-01-15 (月)

[External]レッツノートCF-Y5[External]Fedora Coreの6を入れ、内蔵無線LAN(3945ABG)をセットアップした時の備忘録。

[External]Fedora Coreの6には無線LANドライバが入っていないので、まずは[External]Intel PRO/Wireless 3945ABG Driver for Linuxへ行ってみる。

どうやらipw3945ドライバとieee80211サブシステムを入れる必要があるらしい。[External]ATrpms[External]Fedora Core用のRPMがあるとの事。 http://atrpms.net/dist/fc6/ieee80211/から

ieee80211-1.2.16-15.fc6.at.i386.rpm
ieee80211-devel-1.2.16-15.fc6.at.i386.rpm
ieee80211-kmdl-2.6.18-1.2869.fc6-1.2.16-15.fc6.at.i586.rpm
を、 http://atrpms.net/dist/fc6/ipw3945/から
ipw3945-1.2.0-18.2.fc6.at.i386.rpm
ipw3945-kmdl-2.6.18-1.2869.fc6-1.2.0-18.2.fc6.at.i586.rpm
ipw3945-ucode-1.14.2-3.at.noarch.rpm
ipw3945d-1.7.22-4.at.i386.rpm
を順次ダウンロードし、まとめて導入。

続いて /etc/modprobe.conf に以下の行を追加。(新しくeth1が追加される)

alias eth1 ipw3945
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.5 ; /sbin/ipw3945d --quiet
remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r --ignore-remove ipw3945
で、コマンド
# /sbin/modprobe ipw3945
を投入し、system-config-networkでインタフェースを作成し、まずはWEPの設定で起動させると無事Link Upした。

しかし、rebootするとLink Upしないsystem-config-networkで見ると、eth1のハードウェアタイプがWirelessでなくEthernetになっちゃってるよぉ。取り敢えず

# /sbin/modprobe -r ipw3945
# /sbin/modprobe ipw3945
でreloadすると大丈夫なのだが、rebootするとやっぱりダメだ。 セオリーに従って/var/log/messagesを見ると
Jan 11 13:57:52 localhost kernel: ieee80211_crypt: no version for "struct_module" found: kernel tainted.
Jan 11 13:57:52 localhost kernel: ieee80211: 802.11 data/management/control stack, 1.2.16
Jan 11 13:57:52 localhost kernel: ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
あたりが怪しいかも?

取り敢えず、modprobeでモジュールをreloadすれば良いので、/etc/init.d/ipw3945 を作って起動シーケンスで強制reloadさせる事に。何はともあれ動けば勝ちだ。

#! /bin/bash
#
# ipw3945         Intel Pro Wireless 3945 starter
#
# chkconfig: 2345 11 88
# description: Start for Intel Pro Wireless 3945
#
# processname: ipw3945

# Source function library.
. /etc/init.d/functions

# See how we were called.

prog="ipw3945"

start() {
        /sbin/modprobe -r ipw3945; >/dev/null 2>&1
        /sbin/modprobe ipw3945;
        RETVAL=0;
        return $RETVAL
}

case "$1" in
  start)
        start
        ;;
  *)
        echo $"Usage: $0 {start}"
        exit 1
esac

あと、AESで動かそうとwpa_supplicantにトライしてるんだが、こいつがどうして難航中

【参照】
●Intel PRO/Wireless 3945ABG Driver for Linux http://ipw3945.sourceforge.net/
●@IT http://www.atmarkit.co.jp/
無線LANをWPAで暗号化して使用するには 2006年12月28日