Difference between revisions of "Display HDD temperature in web interface"
Line 6: | Line 6: | ||
Transfer the patch to your bubba and ssh in. Then do:<br> | Transfer the patch to your bubba and ssh in. Then do:<br> | ||
<pre>apt-get install hddtemp | <pre>su (use password 'excito') | ||
apt-get install hddtemp | |||
cd /usr/share/web-admin/ | cd /usr/share/web-admin/ | ||
wget download.excito.net/software/gui_hdd.patch | wget download.excito.net/software/gui_hdd.patch | ||
patch --verbose -p0 < /path/to/gui_hdd.patch</pre> | patch --verbose -p0 < /path/to/gui_hdd.patch</pre> | ||
<br> [Edit: It didn't work well to screen copy/paste the patch for some reason (spaces vs tabs etc.), so we uploaded the patch file to a server for direct download.] | |||
<br> | |||
The result: | The result: |
Revision as of 10:43, 10 November 2010
Hi,
I think it's nice to be able to see the HDD temperature in the web portal and started digging around. I found out that you already have the functionallity but it doesn't seem to be used anywhere (navigate to http://b3.local/admin/stat/info to get the JSON data). Hence I decided to hack it in myself.
I've attached the patch incase anyone else is interested in seeing it as well. Just make sure you have hddtemp installed (apt-get install hddtemp).
Transfer the patch to your bubba and ssh in. Then do:
su (use password 'excito') apt-get install hddtemp cd /usr/share/web-admin/ wget download.excito.net/software/gui_hdd.patch patch --verbose -p0 < /path/to/gui_hdd.patch
[Edit: It didn't work well to screen copy/paste the patch for some reason (spaces vs tabs etc.), so we uploaded the patch file to a server for direct download.]
The result:
Note: This howto was copied by Excito with the writers permission from our forum, and originally written by [vEX]. Our warmest thanks to him/her for this contribution!