Antes de editar cualquiera de los archivos indicados abajo.
si o si tienes que realizar un backup de ellos!!!!
un parentesis o ";",que falte o mal ubicado,impedirá que veas el dashboard!!!
###############################################################
instalar mbmon:
pkg_add -r http://files.pfsense.org/packages/8/All/mbmon-205_5.tbz
Ejecutar:
rehash
###############################################################
Editar:
/usr/local/www/widgets/widgets/system_information.widget.php
Cambiar la linea:
" />
por esta:
" />
#####################################################################
Editar:
/usr/local/www/includes/functions.inc.php
Agregar lo siguiente:
function has_temp() {
/* no known temp monitors available at present */
/* should only reach here if there is no hardware monitor */
return true;
}
function get_temp() {
$temp_out = "";
exec("/usr/local/bin/mbmon -I -c1 -T3", $dfout);
$temp_out = (trim($dfout[0]));;
return $temp_out;
}
##################################################################
Debe quedar entre "function get_pfstate" y "function disk_usage"
##################################################################
Editar:
/usr/local/www/javascript/index/ajax.js
Agregar lo siguiente:
function updateTemp(x) {
if($("tempmeter")) {
$("tempmeter").value = x + 'C';
$("tempwidtha").style.width = x + 'px';
$("tempwidthb").style.width = (100 - x) + 'px';
}
################################################################
#################################################################
Si todo salio bien,debes ver la temp en el dashboard.