yasunari@qube:~$ cd /srv/tftp/ yasunari@qube:/srv/tftp$ ls HS-DHGL_1.20 LS-HGL_1.07b LS-WSGL_1.06 ls400-111 LS-CHL_1.10 LS-LGL_2.01 LS-XHL_1.02 ls400-111en LS-CHL_1.20 LS-QL_1.05+telnet LS-XHL_1.02+telnet ls_series-156 LS-CHL_1.21 LS-QL_1.07b LS-XHL_1.04b ls_series-157 LS-CL+HackKit LS-QL_1.10b LS-XHL_1.10 ls_series-160 LS-CL_1.07 LS-SL_1.11 SheevaPlug_1.2 ls_series-160_88f5182 LS-CL_1.11 LS-SL_1.24 TS-WXL_1.06 uImage.buffalo LS-GL_1.15 LS-VL+X initrd.buffalo yasunari@qube:/srv/tftp$ rm initrd.buffalo uImage.buffalo yasunari@qube:/srv/tftp$ lnあれ? 1.65 ない。
1.60 でええか
yasunari@qube:/srv/tftp$ ln ls_series-160/initrd.buffalo . yasunari@qube:/srv/tftp$ ln ls_series-160/uImage.buffalo . yasunari@qube:/srv/tftp$
root@qube:~# tail -f /var/log/messages : : Nov 19 21:52:09 qube kernel: usb 1-1: new high speed USB device using ehci_marvell and address 2 Nov 19 21:52:10 qube kernel: usb 1-1: configuration #1 chosen from 1 choice Nov 19 21:52:10 qube kernel: scsi2 : SCSI emulation for USB Mass Storage devices Nov 19 21:52:15 qube kernel: scsi 2:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4 Nov 19 21:52:15 qube kernel: sd 2:0:0:0: [sdd] 78165360 512-byte hardware sectors (40021 MB) Nov 19 21:52:15 qube kernel: sd 2:0:0:0: [sdd] Write Protect is off Nov 19 21:52:15 qube kernel: sd 2:0:0:0: [sdd] 78165360 512-byte hardware sectors (40021 MB) Nov 19 21:52:15 qube kernel: sd 2:0:0:0: [sdd] Write Protect is off Nov 19 21:52:15 qube kernel: sdd: sdd1 sdd2 Nov 19 21:52:15 qube kernel: sd 2:0:0:0: [sdd] Attached SCSI disk Nov 19 21:52:15 qube kernel: sd 2:0:0:0: Attached scsi generic sg3 type 0sdd1 と sdd2 があるようだ。
root@qube:~# fdisk -l /dev/sdd Disk /dev/sdd: 40.0 GB, 40020664320 bytes 240 heads, 63 sectors/track, 5169 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x9bdbf079 Device Boot Start End Blocks Id System /dev/sdd1 * 1 5075 38366968+ 7 HPFS/NTFS /dev/sdd2 5076 5169 710640 1c Hidden W95 FAT32 (LBA) root@qube:~#Windows で使っていたぽい
root@qube:~# fdisk /dev/sdd WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): d Partition number (1-4): 2 Command (m for help): d Selected partition 1 Command (m for help): p Disk /dev/sdd: 40.0 GB, 40020664320 bytes 240 heads, 63 sectors/track, 5169 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x9bdbf079 Device Boot Start End Blocks Id System Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. root@qube:~#
root@qube:~# !tail tail -f /var/log/messages : : Nov 19 21:54:14 qube kernel: usb 1-1: new high speed USB device using ehci_marvell and address 3 Nov 19 21:54:15 qube kernel: usb 1-1: configuration #1 chosen from 1 choice Nov 19 21:54:15 qube kernel: scsi3 : SCSI emulation for USB Mass Storage devices Nov 19 21:54:20 qube kernel: scsi 3:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4 Nov 19 21:54:20 qube kernel: sd 3:0:0:0: [sdd] 78165360 512-byte hardware sectors (40021 MB) Nov 19 21:54:20 qube kernel: sd 3:0:0:0: [sdd] Write Protect is off Nov 19 21:54:20 qube kernel: sd 3:0:0:0: [sdd] 78165360 512-byte hardware sectors (40021 MB) Nov 19 21:54:20 qube kernel: sd 3:0:0:0: [sdd] Write Protect is off Nov 19 21:54:20 qube kernel: sdd: sdd1 sdd2 sdd4 < sdd5 sdd6 > Nov 19 21:54:20 qube kernel: sd 3:0:0:0: [sdd] Attached SCSI disk Nov 19 21:54:20 qube kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0これは、LinkStation で使っていたか??
root@qube:~# fdisk -l /dev/sdd Disk /dev/sdd: 40.0 GB, 40020664320 bytes 64 heads, 32 sectors/track, 38166 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xd01819ce Device Boot Start End Blocks Id System /dev/sdd1 1 978 1001456 83 Linux /dev/sdd2 979 5862 5001216 83 Linux /dev/sdd4 5863 38166 33079296 5 Extended /dev/sdd5 5863 6840 1001456 82 Linux swap / Solaris /dev/sdd6 6841 37359 31251440 83 Linux root@qube:~#
root@qube:~# fdisk /dev/sdd WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): d Partition number (1-6): 6 Command (m for help): d Partition number (1-5): 5 Command (m for help): d Partition number (1-5): 4 Command (m for help): d Partition number (1-4): 2 Command (m for help): d Selected partition 1 Command (m for help): p Disk /dev/sdd: 40.0 GB, 40020664320 bytes 64 heads, 32 sectors/track, 38166 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xd01819ce Device Boot Start End Blocks Id System Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. root@qube:~#
tftp サーバに取りに来る
root@qube:~# tail -f /var/log/daemon.log : : Nov 19 22:00:37 qube in.tftpd[1325]: connect from 192.168.11.150 (192.168.11.150) Nov 19 22:00:37 qube tftpd[1326]: tftpd: trying to get file: uImage.buffalo Nov 19 22:00:37 qube tftpd[1326]: tftpd: serving file from /srv/tftp Nov 19 22:00:39 qube in.tftpd[1327]: connect from 192.168.11.150 (192.168.11.150) Nov 19 22:00:39 qube tftpd[1328]: tftpd: trying to get file: initrd.buffalo Nov 19 22:00:39 qube tftpd[1328]: tftpd: serving file from /srv/tftpしばらくして LED が青点滅から青点灯に
[Application] Title = BUFFALO LinkStation Series Updater Ver.1.65 WaitReboot = 1200 WaitFormat = 600 WaitFileSend = 600 WaitDiscover = 120 [Target] ProductID = 0x00000011 ProductID2 = 0x00000012 ProductID3 = 0x00000013 ProductID4 = 0x00000014 ProductID5 = 0x00003006 ProductID6 = 0x00003007 ProductID7 = 0x00000015 ProductID8 = 0x00000016 ProductID9 = 0x00003008 ProductID10 = 0x00004001 ProductID11 = 0x00000017 ProductID12 = 0x00000019 Name = LinkStation [Flags] VersionCheck = 1 NoFormatting = 1NoFormatting = 1 となっているので、
しばらくして、、、
「LinkStation の起動完了を待っています。
しばらくお待ちください」のところで、E06。
アカンやん。
root@qube:~# !tail tail -f /var/log/daemon.log : : Nov 19 22:26:59 qube in.tftpd[1395]: connect from 192.168.11.150 (192.168.11.150) Nov 19 22:26:59 qube tftpd[1397]: tftpd: trying to get file: uImage.buffalo Nov 19 22:26:59 qube tftpd[1397]: tftpd: serving file from /srv/tftp Nov 19 22:27:00 qube in.tftpd[1398]: connect from 192.168.11.150 (192.168.11.150) Nov 19 22:27:00 qube tftpd[1399]: tftpd: trying to get file: initrd.buffalo Nov 19 22:27:00 qube tftpd[1399]: tftpd: serving file from /srv/tftp今度は、I25。「ファームウェアをアップデートしています。」
しばらくして再起動がかかり青点滅、
PC には「LinkStation のアップデートは完了しました」と
LS-WSXL は、青点滅のまま。。。
しばらくして青点灯。
DHCP サーバのログをみると、、
Nov 19 22:31:48 sil dhcpd: DHCPDISCOVER from 00:24:a5:7d:ce:75 (LS-WSXL-EME75) via eth0 Nov 19 22:31:49 sil dhcpd: DHCPOFFER on 192.168.2.204 to 00:24:a5:7d:ce:75 (LS-WSXLE75) via eth0 Nov 19 22:31:49 sil dhcpd: DHCPREQUEST for 192.168.2.204 (192.168.2.39) from 00:24:a5:7d:ce:75 (LS-WSXLE75) via eth0 Nov 19 22:31:49 sil dhcpd: DHCPACK on 192.168.2.204 to 00:24:a5:7d:ce:75 (LS-WSXLE75) via eth0192.168.2.204 が割り当てられた。
OKey!
LS-WSX80L/R1(笑 の出来上がり!
|
← LS-WSXL の抜け殻入手 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LinkStationシリーズ ファームウェア アップデーター Ver.1.68 がリリースされました |
Copyright (C) 2003-2013 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市