% startx -- -bpp 16
# cd /usr/share/fonts/truetype/windows
# ln -s /dos/windows/fonts/times.ttf
/etc/X11/xfs/config を編集して, catalogue に /usr/share/fonts/truetype/windows を追加する.
% cd /usr/local/src/sys/ % ncftpget ftp://ftp.jp.kernel.org/pub/linux/kernel/v2.2/linux-2.2.4.tar.gz % su # cd /usr/src/ # gtar zxvf /usr/local/src/sys/linux-2.2.4.tar.gz # mv linux linux-2.2.4 # ln -s linux-2.2.4 linux # cd linux # setenv DISPLAY abyss:0.0 # make xconfig// 設定ファイルは /usr/src/linux/arch/i386/defconfig かな? ちがうみたい. /usr/src/linux/.config だな.
# make-kpkg --revision vaio505rx.0 kernel_image -zimage # cd .. # dpkg -i kernel-image-2.2.4_vaio505rx.0_i386.deb Selecting previously deselected package kernel-image-2.2.4. (Reading database ... 53056 files and directories currently installed.) Unpacking kernel-image-2.2.4 (from kernel-image-2.2.4_vaio505rx.0_i386.deb) ... Setting up kernel-image-2.2.4 (vaio505rx.0) ... A new kernel image has been installed, and usually that means that some action has to be taken to make sure that the new kernel image is used next time the machine boots. Usually, this entails running a ``bootloader'' like grub, SILO, loadlin, LILO, QUIK, or booting from a floppy. A new kernel image has been installed. LILO sets up your system to boot Linux directly from your hard disk, without the need for a boot floppy. WARNING If you are keeping another operating system or another version of Linux on a separate disk partition, you should not have LILO install a boot block now. Wait until you read the LILO documentation. That is because installing a boot block now might make the other system un-bootable. If you only want to run this version of Linux, go ahead and install the boot block here. If it does not work, you can still boot this system from a floppy. Would you like to create a boot floppy now? [No] no You already have a LILO configuration in /etc/lilo.conf Install a boot block using the existing /etc/lilo.conf? [Yes] yes Testing lilo.conf ... The boot sector and the map file have *NOT* been altered. Testing successful. Installing the partition boot sector... Installation successful. #最初, 全然モジュールにしないで単純に Yes にしていたら, サイズが大きすぎるから bzImage にしろといわれてしまったので, zImage でなんとか make するため, できるかぎり module にして make しなおした. # vi /etc/lilo.conf
boot sequence で APM が認識されていること を確認. apm, xapm, xbatt を実行し確認したかぎり, ちゃんと動いているみたい. panel を閉じて, suspend させ, しばらく待って開いて resume させてみる. ちゃんとネットワークも生き返り, きれいに機能している.
それから, ふと気づくと boot sequence の msdos file system のマウント に失敗している. Filesystem の設定で msdos とかちゃんといれたはずなんだけど... やはり, 近いうちにもう一度やってみる必要あり?
If you decide later that you need to automatically eject/insert your
PCMCIA cards with a script you should modify the /etc/pcmcia/apm.opts
file so that it contains the following line:
APM=eject
What do you want to do on APM suspend/resume events? 1) Automatically suspend/resume 2) Automatically eject/insert 3) Nothing(default)
/usr/bin/pon というシェルスクリプトがあるので, これにあわせる. pon に引数を与えないと /etc/ppp/peer/provider を使って call するので, とりあえず, このファイルを設定.
http://argus.riken.go.jp/~ohno/hobby-j/vaio.html をみて, /etc/pcmcia/config.opts で irq 3 を内蔵モデムにリザーブすればいい? exclude irq3 をuncommentしてみる.
あ, ダイアルしてる! (sound が死んでるのでダイアルの音は聞こえないけど モデムの LED が点灯している, log をみても発呼してそうなのがわかる)
つながった.
# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:165.76.222.32 P-t-P:165.76.222.11 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1514 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
#
とおもったら, 気づいてみると, PCカードの ethernet が使えなくなってる.
exclude irq4 のほうはcomment out しないとだめかな?ということで, exclude irq4 を comment out して再挑戦. # pon att PC card の network は生きている. dial してみると, 2 度失敗. 3 度目で成功.
Solaris で試した時もそうだったけど, どうも pppd って うまくいく時といかない時がある. (というか最初の1, 2度が だめなことが多い) 自分の設定の問題かもしれないけれど.
内蔵 modem からのPPPでつながった状態で, ping をかけながら PCカードのコネクタを抜いてみる. ping はとぎれない. 無事, PPP が機能してるのを確認.
調子に乗って, 国際電話して US のアクセスポイントでも試してみる. これが動けば出張でも安心.
# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:12.78.115.39 P-t-P:199.70.76.24 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1514 Metric:1
RX packets:10 errors:1 dropped:0 overruns:0 frame:1
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
#
http://www.dsl.gr.jp/~manabe/PPxP/ へ行き, userlink と ppxp をとってくる.
% wget http://www.dsl.gr.jp/~manabe/PPxP/packages/Linux/userlink-0.98a.tar.gz
% wget http://www.dsl.gr.jp/~manabe/PPxP/packages/Linux/ppxp-0.99030108.tar.gz
ppxp/doc/ja_JP/QuickStart.txt に従い, userlink をインストール.
# make install
# /sbin/depmod -a
ppxp/doc/ja_JP/INSTALL.txt に従い, ppxp をインストール.
Debian package としてインストール(して動かすのに失敗)した, ppxp と 衝突しないよう, /usr/local/ 以下にインストール. PPxP の page によると Linux kernel 2.2.4 では ppxpd のコンソールインターフェースにバグがあり, ppxp が起動しないということなので, ソースを1バイト(listen()の backlog を 0から1に)修正して build.
% ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc
% cd src
% cp console.c console.c.dist
% vi console.c
% diff console.c.dist console.c
760c760,761
< listen(bindFd, 0);
---
> listen(bindFd, 1);
> /*listen(bindFd, 0);*/
% make
% su
# make install
abyss:/home/dxy[12:53am] which ppxp
/usr/local/bin/ppxp
abyss:/home/dxy[12:53am] ppxp
PPxP version 0.99030108
interface: ul0
ppxp> quit
abyss:/home/dxy[12:53am] ppxp serial
PPxP version 0.99030108
interface: ul0
ppxp> set line /dev/ttyS1
ppxp> terminal
at
OK
(Ctrl-\ C)
term> quit
abyss:/home/dxy[12:55am]
# apt-get install realplayer Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: rvplayer The following NEW packages will be installed: realplayer 0 packages upgraded, 1 newly installed, 1 to remove and 282 not upgraded. 3 packages not fully installed or removed. Need to get 7940b of archives. After unpacking 5488kb will be used. Do you want to continue? [Y/n] y Get:1 ftp://ftp.debian.or.jp unstable/contrib realplayer 6.0alpha-3 [7940b] Fetched 7940b in 41s (191b/s) (Reading database ... 55004 files and directories currently installed.) Removing rvplayer ... Selecting previously deselected package realplayer. (Reading database ... 54994 files and directories currently installed.) Unpacking realplayer (from .../realplayer_6.0alpha-3_i386.deb) ... Setting up ptex-bin (2.1.8-8) ... /usr/sbin/ptexconfig: cd: /usr/lib/texmf/web2c: No such file or directory /usr/sbin/ptexconfig: /usr/lib/texmf/web2c/mktexupd: No such file or directory dpkg: error processing ptex-bin (--configure): subprocess post-installation script returned error exit status 127 dpkg: dependency problems prevent configuration of ptex-jtex: ptex-jtex depends on ptex-bin; however: Package ptex-bin is not configured yet. dpkg: error processing ptex-jtex (--configure): dependency problems - leaving unconfigured Setting up realplayer (6.0alpha-3) ... Error: cannot find realplayer archive in /tmp/G2player-6.0-0.99051701.i386_rpm Visit http://www.real.com/products/player/linux.html and download the Red Hat RPM of Real Player. Correct the above problems, and when you are done, enter 'Y' below. Or, enter 'N' to abort the installation. Continue with install? [Y/n]http://www.real.com/products/player/linux.html で rpm をとってこいとのことなので, もってくる.
# wget http://205.158.7.38/1776630caa4354349a14/unix/G2player-6.0-0.99051701.i386_rpm # chown root:root /tmp/G2player-6.0-0.99051701.i386_rpm Continue with install? [Y/n] y 25764 blocks /tmp/G2player-6.0-0.99051701.i386_rpm has been unpacked and installed. You can now delete it, if you wish.add deb ftp://ring.ocn.ad.jp/pub/linux/debian/debian-jp unstable main contrib non-free
# apt-get update # apt-get install navigator-smotif-ja-46 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: navigator-smotif-46 netscape-base-46 navigator-base-ja-46 navigator-base-46 netscape-base-ja-46 The following NEW packages will be installed: navigator-smotif-46 netscape-base-46 navigator-base-ja-46 navigator-smotif-ja-46 navigator-base-46 netscape-base-ja-46 0 packages upgraded, 6 newly installed, 0 to remove and 289 not upgraded. 3 packages not fully installed or removed. Need to get 3979kb of archives. After unpacking 15.8Mb will be used. Do you want to continue? [Y/n] y Get:1 ftp://ring.ocn.ad.jp unstable/non-free netscape-base-46 4.6-1 [465kb] Get:2 http://www.jp.debian.org potato-jp/non-free netscape-base-ja-46 1.0 [304kb] Get:3 ftp://ring.ocn.ad.jp unstable/non-free navigator-base-46 4.6-1 [6918b] Get:4 ftp://ring.ocn.ad.jp unstable/non-free navigator-smotif-46 4.6-1 [3153kb] Get:5 http://www.jp.debian.org potato-jp/non-free navigator-base-ja-46 1.0 [25.0kb] Get:6 http://www.jp.debian.org potato-jp/non-free navigator-smotif-ja-46 1.0 [25.3kb] Fetched 3979kb in 7m14s (9157b/s) Selecting previously deselected package netscape-base-46. (Reading database ... 55004 files and directories currently installed.) Unpacking netscape-base-46 (from /var/cache/apt/archives/netscape-base-46_4.6-1_i386.deb) ... Selecting previously deselected package netscape-base-ja-46. Unpacking netscape-base-ja-46 (from /var/cache/apt/archives/netscape-base-ja-46_1.0_all.deb) ... Selecting previously deselected package navigator-base-46. Unpacking navigator-base-46 (from /var/cache/apt/archives/navigator-base-46_4.6-1_i386.deb) ... Selecting previously deselected package navigator-base-ja-46. Unpacking navigator-base-ja-46 (from /var/cache/apt/archives/navigator-base-ja-46_1.0_all.deb) ... Selecting previously deselected package navigator-smotif-46. Unpacking navigator-smotif-46 (from /var/cache/apt/archives/navigator-smotif-46_4.6-1_i386.deb) ... Selecting previously deselected package navigator-smotif-ja-46. Unpacking navigator-smotif-ja-46 (from /var/cache/apt/archives/navigator-smotif-ja-46_1.0_all.deb) ... etting up netscape-base-46 (4.6-1) ... Setting up netscape-base-ja-46 (1.0) ... Setting up navigator-base-46 (4.6-1) ... Setting up navigator-base-ja-46 (1.0) ... Setting up navigator-smotif-46 (4.6-1) ... Checking available versions of navigator, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Updating navigator (/usr/X11R6/bin/navigator) to point to /usr/lib/netscape/46/navigator/navigator-smotif. Checking available versions of netscape, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Updating netscape (/usr/X11R6/bin/netscape) to point to /usr/lib/netscape/46/navigator/navigator-smotif. Setting up navigator-smotif-ja-46 (1.0) ... Checking available versions of jnetscape, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Updating jnetscape (/usr/X11R6/bin/jnetscape) to point to /usr/lib/netscape/46/navigator-ja/navigator-ja-smotif. Checking available versions of jnavigator, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Updating jnavigator (/usr/X11R6/bin/jnavigator) to point to /usr/lib/netscape/46/navigator-ja/navigator-ja-smotif.
07/10/1999, lspci を使ってみたくなって pciutils をいれる. apt-get install pci-utils でおわりだけど. うまくうごいた.
BIOS: ESC-F2