先日、間違えて買ったNASのHDL-CEがあるのですが、それ以前はHDL-GSを使ってました。
置き換えて使い道が無くなってたのですが、検索にてsshdを起動してLinuxサーバとして使えることが分かり、早速試してみました。
■参考サイト
digital西行庵 wiki - HDL-GS petit hack
最新のFWである1.14にsudo.cgiを入れて、メニューよりアップデートを行うだけの簡単作業です。作業はOSXのrootにて行いました。sudu.cgiをtarアーカイブにアペンドするのに手間取りましたが、以下で出来ます。
※sudi.cgiには実行権を付けてください。
- update-files.tar.gzをgunzip
- 解凍したtarと同じディレクトリに./usr/local/public/sudo.cgiとしてディレクトリの作成とファイルを配置
- tar cvf update-files.tar ./usr/local/public/sudo.cgiを実行
- gzip update-files.tar
これで他のファイルと共にtgzファイルを作成してアップデートです。
ブラウザからhttp://アドレスsudo.cgi?/usr/sbin/sshdでsshdが起動するので、sshすると以下のようにログインできます。
$ ssh root@xxx.xxx.xxx.xxx
root@xxx.xxx.xxx.xxx's password: root
Linux LANDISK-xxxxxx 2.6.15 #2 Thu May 14 13:19:40 JST 2009 armv4lThe 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.
LANDISK-xxxxxx:~#
LANDISK-xxxxxx:~# mount -o remunt,rw /
LANDISK-xxxxxx:~# touch /mnt/hda5/dmsf_data/conf/filetype/m4a
LANDISK-xxxxxx:~# audio/mp4 >> m4a
LANDISK-xxxxxx:~# chmod 644 m4a
LANDISK-xxxxxx:~# shutdown -r now