 |
Turbo Linuxでのインストール設定(LD-WL11/PCC、サポート対象外) |
◇LD-WL11/PCC◇
OS Ver.: TurboLinux日本語版 6.0
チップ名:
接続形態: PCMCIA
確認日時: 2000/10/1
自動認識: □ YES ■ NO
運用動作: ■ YES □ NO
ドライバ: via-rhine.o
動作レベル:
資料:設定方法です。
インストールタイプ=ワークステーション
PCMCIA サポート
このコンピュータでPCMCIAを使用しますか?
「はい」を選択しておいてください。
LAN設定をせずにインストールを行ってしまうとIPAddressの設定がなされません。
この場合は、LD-WL11/PCCを導入後
/etc/hosts
を編集する必要があります。
カーネルソースのインストール
インストールタイプがワークステーションの場合、カーネルソースがインストールされていません。
その為、TurboPkgを用いてTurbo Linux Workstation6.0 CD-ROMの1よりカーネルソースをインストールします。
手順は以下の通りです。(詳細は、活用ガイドP48を参照してください。)
以下のコマンドを実行しTurboPkgを起動します。
# turbopkg
@「ソースメディア」では"CD-ROM 又はローカルファイルシステム"を選択してください。
A「CD-ROM をマウントしますか?」では、CD-ROMをドライブに挿入後"はい"を選択してください。
B「ようこそ!」では、そのまま"OK"を押します。
C「カスタムパッケージ選択」にて"kernel-source"にトグルし"OK"を押してカーネルソースをインストールしてください。
D最後に、「終了」では、"OK"をそのまま押します。
以上でカーネルソースがインストールされます。
/usr/src/linux-2.2.13/.config を作成
# cd /usr/src/linux-2.2.13
# make config
対話形式で設定を進めていきます。
PCMCIAの環境設定
カーネルソースのインストール後、/usr/src/linux-2.2.13ディレクトリにpcmcia-cs-3.0.14ソースもインストールされます。ここでは、pcmcia-cs-3.0.14ソースを用いて/usr/src/linux-2.2.13/pcmcia-cs-3.0.14/include/pcmcia/config.hを作成する手順を示します。
以下のコマンドを入力し Linux PCMCIA Configuration Scriptを起動します。
#cd /usr/src/linux-2.2.13/pcmcia-cs-3.0.14
#./Configure
以下の様な画面が起動され対話形式で設定を進めていきます。
赤文字の個所だけ入力してください。
//////////////////////////////////////////////////////////////////////////
------- Linux PCMCIA Configuration Script --------
The default responses for each qustion are correct for most users.
Consult the PCMCIA HOWTO for additional info about option.
Linux source directory [/usr/src/turbo/BUILD/linux]: \c
/usr/src/linux-2.2.13
The kernel source tree is verson 2.2.13-33
The current kernel build dateis Sun Mar 19 15:01:16 2000.
Alternate target install directory [/var/tmp/kernel-2.2.13-33-root]:
\c
Module install directory [/lib/modules/2.2.13-33]: \c
C compiler name [gcc -V2.7.2.3]: \c
Linker name [ld]: \c
Compiler flags for debugging [-O2 -fno-strength-reduce]: \c
Build 'trusting' versions of card utilities (y/n) [y]: \c
Include 32-bit (CardBus) card support (y/n) [y]: \c
How would you like to set kernel-specific options?
1 - Read from the currently running kernel
2 - Read from the Linux source tree
3 - Set each option by hand (experts only!)
Enter option (1-3) [2]: \c
・・・
・・・
System V init script layout (y/n) [Y/n]: \c
Top-level directory fo RC scripts [/etc/ec.d]: \c
//////////////////////////////////////////////////////////////////////////
Wireless LAN Driver sourceのダウンロード及びコンパイル
ftp://ftp.absoval.com/pub/linux-wlan-ng/
より
linux-wlan-ng-0.1.7.tar.gz
を
/usr/src/linux-2.2.13/
へコピーする。
Windows9xよりlinux-wlan-ng-0.1.7.tar.gzをダウンロードして
フロッピーディスクにてlinux-wlan-ng-0.1.7.tar.gzをコピーする場合は
以下の例を参考にしてください。
mount -r -t vfat /dev/fd0 /mnt/floppy
cp /mnt/floppy/linux-wlan-ng-0.1.7.tar.gz /usr/src/linux-2.2.13/linux-wlan-ng-0.1.7.tar.gz
umount /dev/fd0
ダウンロードしたディレクトリへ移動
# cd /usr/src/linux-2.2.13
ファイルの解凍
# tar zxvf linux-wlan-ng-0.1.7.tar.gz
解凍先ディレクトリへ移動
# cd linux-wlan-ng-0.1.7
# make config
--------------- Linux WLAN Configuration Script ---------------
The default responses are correct for most users.
Linux source directory [/usr/src/linux]:
The kernel source tree is version 2.2.13-33.
The current kernel build date is Sun Mar 19 15:01:16 2000.
pcmcia-cs source dir [/usr/src/pcmcia-cs-3.0.14]: /usr/src/linux-2.2.13/pcmcia-cs-3.0.14
Alternate target install root directory on host []:
Module install directory [/lib/modules/2.2.13-33]:
PCMCIA script directory [/etc/pcmcia]:
Install drives as station (sta) or access point (ap)? [sta]:
Target Architecture? (i386 or ppc) [i386]:
Prefix for host compiler? (rarely needed) []:
Compiling with cross compiler? (y/n) [n]:
Build for debugging (see drc/config.debug) (y/n) [n]:
Build for Kernel PCMCIA? (y/n) [n]:
Configuration successfull.
/lib/modules/2.2.13-33/netにprism2_cs.oのシンボルリックファイルがあるのを確認してください。なかった場合は、以下のコマンドを入力してください。
# cp /lib/modules/2.2.13-33/pcmcia/prism2_cs.o /lib/modules/2.2.13-33/net/prism2_cs.o
# depmod -a
WirelessLANの設定
/etc/pcmcia/wlan-ng.opts をエディタで編集しWireless LANの設定を行います。
標準では、インフストラクチャーモード(APを用いた通信)になっておりWEPの設定等はなされていません。
ここで89行目にあるSSIDを設定します。
ここは、アクセスポイント(AP)のESSIDを入力してください。
LD-WL11/APのデフォルトのESSIDはLaneedなので
dot11DesiredSSID="linux-wlan"
を
dot11DesiredSSID="Laneed"
と変更します。
wlan-ng.confの編集
/etc/pcmcia/wlan-ng.confをエディタで開き以下の項目を追加します。
///////////////////////////////////////////////
card "Laneed LD-WL11/PCC Wireless PC Card"
version "ELECOM", "Air@Hark/LD-WL11/PCC", ""
bind prism2_cs
card "Laneed LD-WL11/PCC Wireless PC Card"
version "ELECOM", "Air@Hawk/LD-WL11/PCC", ""
bind prism2_cs
///////////////////////////////////////////////
incfg-wlan0の作成
TurboLinux6.0では/etc/conf.modules がないため/etc/sysconfig/network-scriptsにifcfg-wlan0フ
ァイルを作成します。
ifcfg-wlan0ファイルの例(DEVICE=wlan0さえ作成しておけば
turbonetcfgにて後は編集可能です。)
/////////////////////////
DEVICE=wlan0
IPADDR=192.168.1.10
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none (dhcp)
/////////////////////////
/etc/rc.d/init.d/pcmcia restart を実行しpcmciaを再起動してください。
後は、turbonetcfgでネットワークの設定を行ってください。
以上。
|
|
|
|