HS-DGL! に代って24時間運転を始めた HD-HLAN でブートサーバが
動かせないかと考えた。
[yasunari@giga /tmp]$ tar ztvf tmpimage.tgz | grep boot -rwxr-xr-x root/root 1922 2003-05-26 12:38:02 ./etc/init.d/bootmisc.sh -rwxr-xr-x root/root 197 1998-06-22 04:48:10 ./etc/init.d/reboot lrwxrwxrwx root/root 0 2006-02-10 10:13:45 ./etc/rc.d/rcS.d/S36bootmisc.sh -> ../init.d/bootmisc.sh lrwxrwxrwx root/root 0 2006-02-10 10:13:45 ./etc/rc.d/rc6.d/S90reboot -> ../init.d/reboot lrwxrwxrwx root/root 0 2006-02-10 10:13:33 ./sbin/reboot -> halt -rwxrwxrwx root/root 1784 2005-05-30 20:30:49 ./usr/local/PCast/usb_boot.sre [yasunari@giga /tmp]$ tar ztvf tmpimage.tgz | grep tftp [yasunari@giga /tmp]$HD-HGLAN ファームウェア 1.51b1 には含まれているようなので、 これを使ってみる
[yasunari@giga /tmp]$ tar ztvf tmpimage.tgz | grep boot -rwxr-xr-x root/root 1922 2004-10-28 23:44:42 ./etc/init.d/bootmisc.sh -rwxr-xr-x root/root 197 2004-10-28 23:44:42 ./etc/init.d/reboot -rwxr-xr-x root/root 1799 2005-10-05 11:06:58 ./etc/init.d/ltbootd lrwxrwxrwx root/root 0 2006-01-26 18:06:06 ./etc/rc.d/rcS.d/S36bootmisc.sh -> ../init.d/bootmisc.sh lrwxrwxrwx root/root 0 2006-01-26 18:06:06 ./etc/rc.d/rc2.d/S97ltbootd -> ../init.d/ltbootd lrwxrwxrwx root/root 0 2006-01-26 18:06:06 ./etc/rc.d/rc0.d/K97ltbootd -> ../init.d/ltbootd lrwxrwxrwx root/root 0 2006-01-26 18:06:06 ./etc/rc.d/rc6.d/S90reboot -> ../init.d/reboot lrwxrwxrwx root/root 0 2006-01-26 18:06:06 ./etc/rc.d/rc6.d/K97ltbootd -> ../init.d/ltbootd -rw-r--r-- root/root 52 2005-10-05 11:06:21 ./etc/melco/bootsrvconf lrwxrwxrwx root/root 0 2006-01-26 18:05:54 ./sbin/reboot -> halt -rwxrwxrwx root/root 1784 2005-05-30 20:30:49 ./usr/local/PCast/usb_boot.sre drwxr-xr-x root/root 0 2005-10-05 11:27:48 ./usr/local/BootServer/tftpboot/ drwxr-xr-x root/root 0 2005-10-05 11:27:48 ./usr/local/BootServer/tftpboot/firm/ -rw-r--r-- root/root 7255175 2005-10-17 22:05:07 ./usr/local/BootServer/tftpboot/firm/initrd.boot -rw-r--r-- root/root 898316 2005-10-17 22:05:07 ./usr/local/BootServer/tftpboot/firm/uImage -rw-r--r-- root/root 5 2005-10-17 22:05:07 ./usr/local/BootServer/tftpboot/version drw------- root/root 0 2004-12-24 14:45:12 ./boot/ [yasunari@giga /tmp]$
bash-2.04$ cat /tmp/bootserverfiles ./etc/init.d/ltbootd ./etc/rc.d/rc?.d/*ltbootd ./etc/melco/bootsrvconf ./usr/local/BootServer bash-2.04$
[root@link /]# /tmp/extract_image /tmp/image.dat /tmp/bootserverfiles Archive: /tmp/image.dat inflating: tmpimage.tgz ./etc/init.d/ltbootd ./etc/rc.d/rc2.d/S97ltbootd ./etc/rc.d/rc0.d/K97ltbootd ./etc/rc.d/rc6.d/K97ltbootd ./etc/melco/bootsrvconf ./usr/local/BootServer/ ./usr/local/BootServer/tftpboot/ ./usr/local/BootServer/tftpboot/firm/ ./usr/local/BootServer/tftpboot/firm/initrd.boot ./usr/local/BootServer/tftpboot/firm/uImage ./usr/local/BootServer/tftpboot/version ./usr/local/BootServer/fwupdated ./usr/local/BootServer/rarpcfgd ./usr/local/BootServer/rarpd ./usr/local/BootServer/tftpd [root@link /]# mv /etc/rc.d/rc2.d/*ltbootd /etc/rc.d/rc3.d
[root@link /]# cat cat /usr/local/BootServer/tftpboot/version 01,00[root@link /]#と、1.00 のまま。
[root@link firm]# ls -l /usr/local/BootServer/tftpboot/firm/ 合計 17292 -rw-r--r-- 1 root root 16777280 Mar 4 10:12 initrd.boot -rw-r--r-- 1 root root 898316 Mar 4 10:12 uImage [root@link firm]#
[root@link /root]# /etc/rc.d/init.d/ltbootd start Starting services: rarpd tftpd rarpcfgd fwupdated. [root@link /root]# ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.7 1516 480 ? S Feb26 0:03 init : : root 9970 0.0 0.9 5756 608 ? S 10:18 0:00 /usr/local/BootServer/rarpd -ae root 9973 0.0 0.9 5756 608 ? S 10:18 0:00 /usr/local/BootServer/rarpd -ae root 9974 0.0 0.9 5756 608 ? S 10:18 0:00 /usr/local/BootServer/rarpd -ae root 9975 0.0 0.9 5756 608 ? S 10:18 0:00 /usr/local/BootServer/rarpd -ae root 9976 0.5 0.9 1632 572 ? S 10:18 0:00 /usr/local/BootServer/tftpd root 9979 0.0 0.9 3688 584 ? S 10:18 0:00 /usr/local/BootServer/rarpcfgd root 9981 0.0 0.9 3688 584 ? S 10:18 0:00 /usr/local/BootServer/rarpcfgd root 9982 0.0 0.9 3688 584 ? S 10:18 0:00 /usr/local/BootServer/rarpcfgd root 9984 0.0 0.8 1632 520 ? S 10:18 0:00 /usr/local/BootServer/fwupdated root 9986 0.0 1.6 3280 1052 pts/0 R 10:18 0:00 ps -aux [root@link /root]#
完了
← HD-HLAN 1.54 β1 :ハック de 録!! の再インストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ SPAM 対策 |