ファン制御の確認

LS-XHL

ファンのコントロールができているかと見てみた
root@xhl:~# crontab -l
*/5 * * * * nice /bin/sh /usr/local/sbin/fancontrol 2>/dev/null 1>/dev/null
root@xhl:~# /bin/sh /usr/local/sbin/fancontrol
/usr/local/sbin/fancontrol: 1: /usr/local/sbin/fancontrol: smartctl: not found

/usr/local/sbin/fancontrol: 34: [: -gt: unexpected operator
/usr/local/sbin/fancontrol: 38: [: -gt: unexpected operator
/usr/local/sbin/fancontrol: 42: [: -gt: unexpected operator
fan_set_speed stop
root@xhl:~#
がー。

smartctl は、

root@xhl:~# apt-cache search smartctl
gsmartcontrol - graphical user interface for smartctl
idle3-tools - change the idle3 timer of recent Western Digital Hard Disk Drives
smartmontools - control and monitor storage systems using S.M.A.R.T.
root@xhl:~#
smartmontools に入っているようだ

smartmontools をインストールする

root@xhl:~# apt-get install smartmontools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libcap-ng0
Suggested packages:
  gsmartcontrol smart-notifier
The following NEW packages will be installed:
  libcap-ng0 smartmontools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 570 kB of archives.
After this operation, 1300 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org/debian/ wheezy/main libcap-ng0 armel 0.6.6-2 [12.3 kB]
Get:2 http://ftp.jp.debian.org/debian/ wheezy/main smartmontools armel 5.41+svn3365-1 [557 kB]
Fetched 570 kB in 0s (1171 kB/s)
Selecting previously unselected package libcap-ng0.
(Reading database ... 14936 files and directories currently installed.)
Unpacking libcap-ng0 (from .../libcap-ng0_0.6.6-2_armel.deb) ...
Selecting previously unselected package smartmontools.
Unpacking smartmontools (from .../smartmontools_5.41+svn3365-1_armel.deb) ...
Processing triggers for man-db ...
Setting up libcap-ng0 (0.6.6-2) ...
Setting up smartmontools (5.41+svn3365-1) ...
!root@xhl:~#
再度確認
root@xhl:~# /bin/sh /usr/local/sbin/fancontrol
44
fan_set_speed fast
root@xhl:~#
ぐぬぬ。ハックキットのアーカイブの作りなおしやな
ま、もう需要ないし、ほっとこ

LS-XHL
バッファローダイレクト
楽天市場
amazon
ValuMore


メールの設定
ハックの記録
LinkStation/玄箱 をハックしよう

ftp, less のインストール

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2014 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市