Ryusai's Homepage
トップページ > 無線LAN(Intel PRO/Wireless 3945ABG)の設定

無線LAN(Intel PRO/Wireless 3945ABG)の設定

DellのノートパソコンXPS M1210は無線LANコントローラにIntel PRO/Wireless 3945ABGが搭載されています。このXPS M1210にインストールしたVine Linux 4.0で無線LANを使用するには、Intel PRO/Wireless 3945ABG ネットワーク・コネクション・アダプタをサポートするためにインテルのプロジェクトが開発した、Intel PRO/Wireless 3945ABGドライバを導入します。

基本的にはIntel PRO/Wireless 3945ABG Driver for LinuxサイトのINSTALLドキュメントに従ってインストールします。



必要となるファイルと要件

Intel PRO/Wireless 3945ABGドライバを使うに以下はのファイルが必要です。

Vine Linux 4.0ではieee80211 subsystemは既にインストール済みとなっているのでここではインストールしていません。また、Intel PRO/Wireless 3945ABGのサポートしているLinuxカーネルのバージョンは2.6.13以降となっていますがVine Linux 4.0のカーネルバージョンは2.6.16-0vl60ですので導入可能です。

IIntel PRO/Wireless 3945ABGドライバIntel PRO/Wireless 3945ABG Driver for Linuxサイトからipw3945-1.2.0.tgzをダウンロードし、インストールしています(ipw3945-1.1.3.tgzではビルドでエラーとなりました)。



インストール手順

インストールの作業は/home/hogeディレクトリで行っているものとします。

ipw3945.koモジュールのビルド

$ tar xvfz ipw3945-1.2.0.tgz
$ cd ipw3945-1.2.0/
$ make

ファームウェアのインストール

$ tar xvfz ipw3945-ucode-1.13.tgz
$ su
パスワード(P):
# cp ipw3945-ucode-1.13/ipw3945.ucode /lib/firmware/

Regulatory Daemonのインストール

$ tar xvfz ipw3945d-1.7.22.tgz
$ su
パスワード(P):
# cp ipw3945d-1.7.22/x86/ipw3945d /sbin/
これで、ドライバインストールは終了。

モジュールのロードとチェック

スーパーユーザ権限でモジュールをロードします。
$ su -
パスワード(P):
# cd /home/hoge/ipw3945-1.2.0/
# ./load debug=0
うまくいったかをiwconfigコマンドでチェック。
# iwconfig eth1
うまくいけば、こんな感じに表示されます。
eth1      unassociated  ESSID:off/any
          Mode:Managed  Frequency=nan kHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:15   Missed beacon:0

無線LAN接続の設定

iwconfigコマンドでESSID、Keyの設定をします。
# iwconfig eth1 essid hoge_foo
# iwconfig eth1 key DEADBEEF00
# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:"hoge_foo"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:07:40:0B:DA:2C
          Bit Rate:11 Mb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:DEAD-BEEF-00   Security mode:open
          Power Management:off
          Link Quality=92/100  Signal level=-40 dBm  Noise level=-40 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:19   Missed beacon:0
ネットワーク接続の再起動。
# /etc/init.d/network restart

起動時に無線LAN接続を有効にする

ブート時に自動起動するにはdepmodのパスにipw3945.koをコピーします。そして更新を反映する為に depmod -a を実行します。
# cp ipw3945.ko /lib/modules/2.6.16-0vl60/kernel/drivers/net/wireless/
# depmod -a
以下の2行を追加した /etc/modprobe.d/ipw3945 というファイルを作成します。
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.5 ; /sb\
in/ipw3945d --quiet
remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r --ignore-remove \
ipw3945
/etc/rc.local に
/sbin/ipw3945d --quiet > /dev/null 2>&1
を追加します。
起動時にeth1 のデバイスがないようだといった旨のメッセージが表示されますが、問題なく認識されているようです。
Bringing up interface eh1 : ipw3945 device eth1 does not seem to be present, delaying initialisation
後は、デスクトップ > システム管理 > ネットワークの管理 > 無線LAN接続のプロパティでIPアドレスネットマスクゲートウェイアドレス等の設定をすればOKです。




サイトマップこのサイトについてお問い合わせ |エンジニアの転職
Copyright (C) 2006-2008Ryusai's Homepage All rights reserved