Debian GNU/Linux 5.0 brick login: yasunari Password: Last login: Wed Jul 7 05:03:41 JST 2004 from uxl.yamasita.jp on pts/0 Linux brick 2.6.22.18 #132 Wed Jan 21 20:16:50 JST 2009 armv5tejl The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. yasunari@brick:~$
yasunari@brick:~$ su - root Password: brick:~#
brick:~# tail -f /var/log/messages : : Feb 28 11:29:29 brick kernel: usb 1-1: new high speed USB device using ehci_marvell and address 3 Feb 28 11:29:29 brick kernel: usb 1-1: configuration #1 chosen from 1 choice Feb 28 11:29:29 brick kernel: scsi3 : SCSI emulation for USB Mass Storage devices Feb 28 11:29:34 brick kernel: scsi 3:0:0:0: Direct-Access WDC WD16 WD-WCANM4151553 2E02 PQ: 0 ANSI: 2 CCS Feb 28 11:29:34 brick kernel: sd 3:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB) Feb 28 11:29:34 brick kernel: sd 3:0:0:0: [sdb] Write Protect is off Feb 28 11:29:34 brick kernel: sd 3:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB) Feb 28 11:29:34 brick kernel: sd 3:0:0:0: [sdb] Write Protect is off Feb 28 11:29:34 brick kernel: sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 Feb 28 11:29:34 brick kernel: sd 3:0:0:0: [sdb] Attached SCSI disk Feb 28 11:29:34 brick kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0 Feb 28 11:23:59 brick kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
brick:~# mkdir /tmp/root brick:~# mount /dev/sdb2 /tmp/root brick:~#
brick:~# ls -l /tmp/root/usr/sbin/telnetd lrwxrwxrwx 1 root root 17 Nov 1 2007 /tmp/root/usr/sbin/telnetd -> ../../bin/busybox brick:~#ある。
brick:~# less /tmp/root/etc/init.d/rcS : :特に問題なさそう。
brick:~# echo >> /tmp/root/etc/init.d/rcS brick:~# echo /usr/sbin/telnetd >> /tmp/root/etc/init.d/rcS brick:~# tail !$ tail /tmp/root/etc/init.d/rcS echo "** step final(after bootcomplete) **" for cmd in hdd_late_check.sh check_initialization.sh usb_late_check.sh do exec_sh ${cmd} done /usr/local/bin/share_delete.sh & /usr/sbin/telnetd brick:~#
BUFFALO INC. LinkStation series LS-XHLA1F login: root No mail. root@LS-XHLA1F:~#
だーん。
root@LS-XHLA1F:~# cat /etc/linkstation_release VERSION=1.04 SUBVERSION=HDD 0.31 PRODUCTID=0x00000000 BUILDDATE=2009/02/24 16:38:45 root@LS-XHLA1F:~# cat /proc/version Linux version 2.6.22.18 (root@build2.dd-hot24.nas.buffalo.local) (gcc version 4.2.0 20070413 (prerelease)) #11 Tue Feb 24 16:37:06 JST 2009 root@LS-XHLA1F:~# cat /proc/buffalo/firmware SERIES=LinkStation PRODUCTNAME=LS-XHL(ANKOU) VERSION=0.16 SUBVERSION=FLASH 0.00 PRODUCTID=0x00000011 BUILDDATE=2009/02/24 16:37:02 BOOTVER=0.07 root@LS-XHLA1F:~#
|
← ファームウェア 1.04 βのインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-XHL, LS-QL 対応ハックキットの確認(6)LS-XHL:準備 |