【ubuntu 8.10 serverにmadwifi最新版をインストール】 [ubuntu torrentflux]
DELL Latitude L400(mobile pentiumⅢ700MHz MEM:256MB)にubuntu 8.10 serverをインストールしてダウンロード専用機にしている。PHP BTクライアントTorrentFluxのインストールについては、前の記事http://royalwin.blog.so-net.ne.jp/2008-11-27-5
今回取り付けた無線LANカード(D-Link DWL-G630)はatherosチップで、何もしないで動くかと思ったが、どうもserver editionはドライバが入っていないみたいだ。
----
D-Link DWL-G630 D1
Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
----
madwifiをインストールすることにした。
もちろん自力ではできないのでubuntuフォーラムの以下の記事を参考にした。
sudo -s
cd /home/atc500
wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
tar -xvf madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
cd madwifi-hal-0.10.5.6-r3861-20080903
apt-get install build-essential linux-headers-$(uname -r)
make
make install
modprobe ath_pci
vi /etc/modules
(ファイルの末尾に追加する)
ath_pci
以上で再起動後iwconfigコマンドでwifi0とath1が現れた。
このままでは起動時に自動で無線LANにつながらないので以下のようにした。
vi /etc/network/interfaces
----
auto ath1
iface ath1 inet static
wireless-essid [APのESSID]
wireless-key s:[WEPキー] (s:は文字の場合、16進の場合はs:を付けない)
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
----
アクセスポイントのESSIDやWEPキーも指定している。IPアドレスは固定で192.168.0.101を割り当てた。
コメント 0