A patch to support miner that report 'MHS 20s'...
# git diff -p index.php
diff --git a/index.php b/index.php
index 2935bc7..4890627 100644
--- a/index.php
+++ b/index.php
@@ -217,7 +217,7 @@ for ($i=0; $i<$nr_rigs; $i++)
echo $dev['Fan Percent']?>% | - $stats_second = isset ($dev['MHS 5s']) ? $dev['MHS 5s'] : (isset ($dev['MHS 2s']) ? $dev['MHS 2s'] : 0); + $stats_second = isset ($dev['MHS 20s']) ? $dev['MHS 20s'] : (isset ($dev['MHS 5s']) ? $dev['MHS 5s'] : (isset ($dev['MHS 2s']) ? $dev['MHS 2s'] : 0)); $stats_second_string = $r[$i]['coin']['COIN']['Hash Method'] == 'scrypt' ? $stats_second * 1000 . ' | ' . $dev['MHS av'] * 1000 : $stats_second . ' | ' . $dev['MHS av']; $stats_ratio = 0; if ($dev['MHS av'] > 0)
A patch to address that several small USB devices don't have FAN and temperature sensor.
# git diff -p index.php diff --git a/index.php b/index.php index 2935bc7..5ca0d67 100644 --- a/index.php +++ b/index.php @@ -213,11 +213,11 @@ for ($i=0; $i<$nr_rigs; $i++) ?> | echo $dev['Status'] == 'Alive' ? '' . $dev['Status'] . '' : '' . $dev['Status'] . '' ?> | -
echo $dev['Temperature'] > ALERT_TEMP ? '' . round($dev['Temperature']) . '°C' : round($dev['Temperature']) . '°C' ?> | -
echo $dev['Fan Percent']?>% | +
echo isset ($dev['Temperature']) ? ($dev['Temperature'] > ALERT_TEMP ? '' . round($dev['Temperature']) . '°C' : round($dev['Temperature']) . '°C') : '-' ?> | +
echo isset ($dev['Fan Percent']) ? $dev['Fan Percent'] . '%' : '-' ?> |
member
Activity: 166
Merit: 10
Sorry, i don't know how to use java API with cgminer. I am noob
cgminer$ ls -l API.class; java API coin localhost 4028 -rw-r--r-- 1 peon peon 3431 2013-05-27 16:56 API.class Attempting to send 'coin' to 127.0.0.1:4028 Answer='STATUS=S,When=1391857634,Code=78,Msg=BFGMiner coin,Description=bfgminer 3.10.0|COIN,Hash Method=scrypt,Current Block Time=1391857600,Current Block Hash=fb246a37af09cb9c2cac0593375fd94752b81e72c591274b39870b1dc049b16d,LP=true,Network Difficulty=158.43854530|' [STATUS] => ( [STATUS] => S [When] => 1391857634 [Code] => 78 [Msg] => BFGMiner coin [Description] => bfgminer 3.10.0 ) [COIN] => ( [0] => COIN [Hash Method] => scrypt [Current Block Time] => 1391857600 [Current Block Hash] => fb246a37af09cb9c2cac0593375fd94752b81e72c591274b39870b1dc049b16d [LP] => true [Network Difficulty] => 158.43854530 )
[/code]
newbie
Activity: 45
Merit: 0
Sorry, i don't know how to use java API with cgminer. I am noob
btw.: as i said port is forwared, so firewall is not blocking traffic, but where is problem?
//looks, my web hosting have denied UDP ports. Maybe, that's problem?
hero member
Activity: 956
Merit: 1001
i already read it, cgminer configured fine, but it doesn't work
use the java API app that comes with cgminer to determine if cgminer is not setup correctly or if your port is not forwarded properly.
newbie
Activity: 45
Merit: 0
i already read it, cgminer configured fine, but it doesn't work
hero member
Activity: 956
Merit: 1001
See "1. CONFIGURING CGMINER" in first post by OP
newbie
Activity: 45
Merit: 0
full member
Activity: 214
Merit: 100
full member
Activity: 214
Merit: 100
this is not the script problem but problem with your setup (cPanel or any other module) not able to connect to SQL database.
newbie
Activity: 42
Merit: 0
any help to setup this at my domain through cPanel?
getting this error
FATAL: Cannot use Anubis_db ! SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
newbie
Activity: 57
Merit: 0
Hi! I set Email alert on my GPUfarm, but on every farm i have AMD APU, integrater chip userd for control/work, and i not mine on it, so i get error in email: PROBLEM: Farm1 - G1 (0.00 MH/s) Home - G1 (0.00 MH/s) Office - G1 (0.00 MH/s) Work - G1 (0.00 MH/s) Farm2 - G1 (0.00 MH/s) How i can fix it?
newbie
Activity: 15
Merit: 0
Love this monitor. Thanks for making it!
sr. member
Activity: 350
Merit: 250
Co-Owner Of DCMCo-Op Mining Farm at 3.5 th/s
|