実家サーバは実家に置いてあるので直接触ることはない。(なのでモニターも買ってない)。
が、sshによる接続でコマンド操作はできるし、vncを使えばGUIも使える。
GUIを使えるということは、Firefox2.0などのブラウザも利用可能。
今回前のエントリで、実家の環境のPC(WindowsXP機2台、うち1台無線LAN)からNW構成を改善したにも係わらず、Bフレッツの速度が5Mbpsしか出ていないということで、それなら、Netgearを経由していないLinuxサーバから速度計測をしてみたらどうか、とひらめいてやってみることにした。
大抵、回線の速度計測といえばブラウザからFlashやJavaを使った手法で測定サイトから実施する。
しかし、2006年10月31日現在、AMD64, EM64T などのx86_64システムで動くflashプラグインはない。このためx86_64システムのデフォルトのFireFoxではFlashを使ったwebページを閲覧できない。 x86_64システム上でもFlashを見られるようにするためには、i386(32ビット) モードのブラウザを使ってプラグインを動かす。
まず、32ビット版のFirefox2.0と、install_flash_player_7_linux.tar.gzをダウンロードしておく
Flash:http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux&P3_Browser_Version=Netscape4&Lang=Japanese
Firefox:http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/ja/
適当なディレクトリにダウンロードしたものを置いておく(ここではrootのホームディレクトリ)
●/usr/localに移動[root@linux ~]# mv install_flash_player_7_linux.tar.gz /usr/local [root@linux ~]# mv firefox-2.0.tar.gz /usr/local●各tarballの展開
[root@linux ~]# cd /usr/local [root@linux local]# tar zxvf firefox-2.0.tar.gz firefox/ firefox/.autoreg firefox/chrome/ firefox/chrome/chromelist.txt firefox/chrome/ja.manifest firefox/chrome/browser.jar ・・・ (以下略) [root@linux local]# mv firefox firefox.i386 [root@linux local]# tar zxvf install_flash_player_7_linux.tar.gz install_flash_player_7_linux/ install_flash_player_7_linux/flashplayer.xpt install_flash_player_7_linux/flashplayer-installer install_flash_player_7_linux/Readme.htm install_flash_player_7_linux/Readme.txt install_flash_player_7_linux/libflashplayer.so●FlashプレイヤーをFirefoxのプラグインディレクトリに移動
[root@linux local]# cd firefox.i386/plugins/ [root@linux plugins]# mv /usr/local/install_flash_player_7_linux/libflashplayer.so . [root@linux plugins]# mv /usr/local/install_flash_player_7_linux/flashplayer.xpt .●このままではFirefox起動時に「libstdc++.so.5が存在しない」と言って怒られるので、以下手順で追加インストール
[root@linux plugins]# yum install compat-libstdc++* Loading "installonlyn" plugin Setting up Install Process Setting up repositories extras [1/3] updates [2/3] core [3/3] Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for compat-libstdc++-296 to pack into transaction set. compat-libstdc%2B%2B-296- 100% |=========================| 3.4 kB 00:00 ---> Package compat-libstdc++-296.i386 0:2.96-135 set to be updated ---> Downloading header for compat-libstdc++-33 to pack into transaction set. compat-libstdc%2B%2B-33-3 100% |=========================| 6.9 kB 00:00 ---> Package compat-libstdc++-33.i386 0:3.2.3-56.fc5 set to be updated ---> Downloading header for compat-libstdc++-33 to pack into transaction set. compat-libstdc%2B%2B-33-3 100% |=========================| 6.9 kB 00:00 ---> Package compat-libstdc++-33.x86_64 0:3.2.3-56.fc5 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: compat-libstdc++-296 i386 2.96-135 core 175 k compat-libstdc++-33 i386 3.2.3-56.fc5 updates 231 k compat-libstdc++-33 x86_64 3.2.3-56.fc5 updates 227 k Transaction Summary ============================================================================= Install 3 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 633 k Is this ok [y/N]: y Downloading Packages: (1/3): compat-libstdc++-2 100% |=========================| 175 kB 00:00 (2/3): compat-libstdc++-3 100% |=========================| 231 kB 00:00 (3/3): compat-libstdc++-3 100% |=========================| 227 kB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: compat-libstdc++-33 ######################### [1/3] Installing: compat-libstdc++-296 ######################### [2/3] Installing: compat-libstdc++-33 ######################### [3/3] Installed: compat-libstdc++-296.i386 0:2.96-135 compat-libstdc++-33.i386 0:3.2.3-56.fc5 compat-libstdc++-33.x86_64 0:3.2.3-56.fc5 Complete!●Firefoxの起動
# /usr/local/firefox.i386/firefox
これで起動可能
参考サイト:http://bbs.fedora.jp/read.php?FID=2&TID=941&p=2
続いてJavaRuntimeEnvironmentのインストール
■JavaRuntimeEnvironmentのインストール
参考:http://plugindoc.mozdev.org/ja-JP/faqs/java.html
ダウンロード元:http://java.sun.com/j2se/1.4.2/download.html
[root@linux local]# chmod +x j2re-1_4_2_12-linux-i586.bin
[root@linux local]# ./j2re-1_4_2_12-linux-i586.bin
Sun Microsystems, Inc.
Binary Code License Agreement
for the
JAVATM 2 RUNTIME ENVIRONMENT (J2RE), STANDARD EDITION,
VERSION 1.4.2_X
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
(中略)
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
creating: j2re1.4.2_12/
creating: j2re1.4.2_12/bin/
inflating: j2re1.4.2_12/bin/java
inflating: j2re1.4.2_12/bin/ControlPanel
inflating: j2re1.4.2_12/bin/java_vm
inflating: j2re1.4.2_12/bin/keytool
inflating: j2re1.4.2_12/bin/policytool
■Firefoxでプラグインとして使えるようにする
[root@linux ~]# cd /usr/local/firefox.i386/plugins/ [root@linux plugins]# ln -s /usr/local/j2re1.4.2_12/plugin/i386/ns610-gcc32/libjavaplugin_oji.so [root@linux plugins]# ll 合計 2140 -r--r--r-- 1 1000 users 856 7月 27 09:11 flashplayer.xpt -rwxr-xr-x 1 1000 users 2154768 7月 27 09:11 libflashplayer.so lrwxrwxrwx 1 root root 68 10月 31 13:34 libjavaplugin_oji.so -> /usr/local/j2re1.4.2_12/plugin/i386/ns610-gcc32/libjavaplugin_oji.so -rwxr-xr-x 1 root root 19160 10月 11 15:57 libnullplugin.so■JavaRuntimeEnvironmentを必要とするサイトに接続してみると、libXp.so.6がないというエラーが出たので、インストールする
[root@linux ~]# yum -y install libXp.so.6 Loading "installonlyn" plugin Setting up Install Process Setting up repositories extras [1/3] updates [2/3] core [3/3] Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libXp to pack into transaction set. libXp-1.0.0-2.2.i386.rpm 100% |=========================| 5.4 kB 00:00 ---> Package libXp.i386 0:1.0.0-2.2 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: libXp i386 1.0.0-2.2 core 21 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 21 k Downloading Packages: (1/1): libXp-1.0.0-2.2.i3 100% |=========================| 21 kB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: libXp ######################### [1/1] Installed: libXp.i386 0:1.0.0-2.2 Complete!
ふう・・・これでサーバから直接RT-200KIを経由して回線の速度計測を行ってみた。
結果・・・
80Mpbs出ている!
やはり。
ということで、Netgear WGR614がボトルネックとなって、10分の1も速度が出ない状況となっていると断定できた。
さて、どうしてくれようか、このNetgear WGR614。







