Bitcoin Forum
April 19, 2014, 12:33:11 PM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20  All
  Print  
Author Topic: ANUBIS - a CGMINER Web Frontend  (Read 52765 times)
Internet151
Full Member
***
Offline Offline

Activity: 170



View Profile

Ignore
April 15, 2012, 03:18:01 AM
 #201

Just an idea, I think it would be nice if there was some way to have the site require a login or something for any webpage commands to be executable.

Sometimes I just want to show friends of mine my ANUBIS page without giving them the potential to blow up my mining rigs.
1397910791
Hero Member
*
Offline Offline

Posts: 1397910791

View Profile Personal Message (Offline)

Ignore
1397910791
Reply with quote  #2

1397910791
Report to moderator
Buy a Blade, Get a 5-Chip Free!
Start Mining with GAWMiners.com
24/7 Live Phone & Tech Support
Free Hosting & Electricity for 1 Year!

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1397910791
Hero Member
*
Offline Offline

Posts: 1397910791

View Profile Personal Message (Offline)

Ignore
1397910791
Reply with quote  #2

1397910791
Report to moderator
1397910791
Hero Member
*
Offline Offline

Posts: 1397910791

View Profile Personal Message (Offline)

Ignore
1397910791
Reply with quote  #2

1397910791
Report to moderator
1397910791
Hero Member
*
Offline Offline

Posts: 1397910791

View Profile Personal Message (Offline)

Ignore
1397910791
Reply with quote  #2

1397910791
Report to moderator
1397910791
Hero Member
*
Offline Offline

Posts: 1397910791

View Profile Personal Message (Offline)

Ignore
1397910791
Reply with quote  #2

1397910791
Report to moderator
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
April 16, 2012, 05:45:54 PM
 #202

I'll think about that, but I think it'll be more trouble then it's worth.
Maybe I'll get bored one day and do it.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
DeathAndTaxes
Donator
Hero Member
*
Offline Offline

Activity: 966



View Profile WWW

Ignore
April 20, 2012, 07:33:54 PM
 #203

One potential bug ....

It looks like discards % is (discards / accepted) but this is not a valid metric.
Discards are discards getworks.  so discard % should be (discards / getworks).

For users where accepted ~= getworks then error is small but for pools like p2pool where due to LP a large number of getworks are discarded and shares are > 1 difficulty (thus lower accepted) it results in some "weird" % like 287% discarded. Smiley


Gerald Davis  CEO, Tangible Cryptography Inc.
BitSimple. A simpler way to buy and sell bitcoins
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
April 20, 2012, 09:57:48 PM
 #204

One potential bug ....

It looks like discards % is (discards / accepted) but this is not a valid metric.
Discards are discards getworks.  so discard % should be (discards / getworks).

For users where accepted ~= getworks then error is small but for pools like p2pool where due to LP a large number of getworks are discarded and shares are > 1 difficulty (thus lower accepted) it results in some "weird" % like 287% discarded. Smiley



That's an easy one, I'll fix that with my next commit.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Aseras
Hero Member
*****
Offline Offline

Activity: 658


View Profile

Ignore
April 23, 2012, 09:56:13 PM
 #205

Just an idea, I think it would be nice if there was some way to have the site require a login or something for any webpage commands to be executable.

Sometimes I just want to show friends of mine my ANUBIS page without giving them the potential to blow up my mining rigs.

this is a setting in .htaccess or file permissions on the webserver. It has nothing to do with anubis itself.
Aseras
Hero Member
*****
Offline Offline

Activity: 658


View Profile

Ignore
April 23, 2012, 09:59:02 PM
 #206

What I think would be really great is to have the miners organized into groups and be able to change them all in one shot. Change a pool -> click. They all go. Go from failover to roundrobin or whatever-> click done. Clicking through each one is not very fun.
Inaba
Hero Member
*****
Offline Offline

Activity: 1120



View Profile WWW

Ignore
April 24, 2012, 06:22:38 PM
 #207

The default DB schema for ANUBIS has an error.  You have the "port" field set to smallint (6) and it's signed - it should be set to a bare minimum of MEDIUMINT (6).  Otherwise you are limited to ports < 32768

Either that or make smallint unsigned.


If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
DeathAndTaxes
Donator
Hero Member
*
Offline Offline

Activity: 966



View Profile WWW

Ignore
April 24, 2012, 06:50:37 PM
 #208

A great project and one I have enjoyed making some minor changes to.

The largest annoyance is the rig communication seems to be blocking.  If I have a rig which is down Anubis takes 10 sec trying to establish a connection meanwhile the entire webpage is unresponsive.

Gerald Davis  CEO, Tangible Cryptography Inc.
BitSimple. A simpler way to buy and sell bitcoins
Inaba
Hero Member
*****
Offline Offline

Activity: 1120



View Profile WWW

Ignore
April 24, 2012, 07:36:40 PM
 #209

Also line 32 of index.php should probably be changed to:

$result = $dbh->query("SELECT * FROM hosts ORDER BY name ASC");

I may setup a git and issue pull requests, but it's not worth it for the small changes I've needed to make so far.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Red Emerald
Hero Member
*****
Offline Offline

Activity: 728



View Profile WWW

Ignore
April 25, 2012, 08:41:36 PM
 #210

Also line 32 of index.php should probably be changed to:

$result = $dbh->query("SELECT * FROM hosts ORDER BY name ASC");

I may setup a git and issue pull requests, but it's not worth it for the small changes I've needed to make so far.

You can actually edit a file and make simple pull requests right on github.com.  No need to manually fork and all that.

The LT
Full Member
***
Offline Offline

Activity: 188



View Profile WWW

Ignore
April 26, 2012, 01:44:01 AM
 #211

this is a setting in .htaccess or file permissions on the webserver. It has nothing to do with anubis itself.

.htaccess alone won't solve the issue, as P_Shep's anubis allows finer control over the miners.
Inaba
Hero Member
*****
Offline Offline

Activity: 1120



View Profile WWW

Ignore
April 29, 2012, 02:44:28 PM
 #212

I submitted the pull requests... pretty handy I can do it online.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 01, 2012, 09:45:30 AM
 #213

Thanks for the work Inaba and the other suggestions here. I'm on vacation for the next week, so will get back on it when I'm back.

Regarding the multi-rig changes... I did think about that, but you need to guarantee that the pools are ordered the same on all rigs, something that is outside anubis' control, things could get out of sync. Doable though. I'll have a think.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Inaba
Hero Member
*****
Offline Offline

Activity: 1120



View Profile WWW

Ignore
May 01, 2012, 01:51:53 PM
 #214

I'm going to be putting some work into Anubis this week related to historical tracking. I suck at charting though, so once the data is collected, maybe someone can write some code to make good charts?


If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 12, 2012, 09:47:09 PM
 #215

Vast amount of changes in Anubis, go have a play Smiley

https://github.com/pshep/ANUBIS

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Inaba
Hero Member
*****
Offline Offline

Activity: 1120



View Profile WWW

Ignore
May 12, 2012, 10:11:40 PM
 #216

Hey P_Shep, you left a bunch of bare carriage returns in your edited files.  Did you edit them in a DOS editor and then upload them without conversion?  It's playing hell with DIFF and editing locally on a unix machine.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 12, 2012, 10:21:29 PM
 #217

Ah, I was wondering what that could be, make sense. Yeah sorry about that, not sure what I can do about it now :/

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Inaba
Hero Member
*****
Offline Offline

Activity: 1120



View Profile WWW

Ignore
May 12, 2012, 10:26:59 PM
 #218

Well... I'm not sure if you can back out a merge on Github, but in either event, I would recommend remerging everything without carriage returns.

What text editor are you using?  You should be able to set it to save in UNIX format instead of DOS format.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 12, 2012, 10:44:49 PM
 #219

OK, done. Sorry about that, I'll be more careful about that in future.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
P_Shep
Hero Member
*****
Offline Offline

Activity: 826


View Profile WWW

Ignore
May 15, 2012, 03:28:49 AM
 #220

Updated again with device details / notifications / stats page

(Kano doesn't want the stats displayed, so don't tell him I show them anyway Smiley )

Oh, and config saving doesn't work in CGminer yet, so you'll have to wait till the next version 2.4.2 for that.

Edit: in fact I just changed it so it's disabled until the next version.

Anubis cgminer web frontend: https://bitcointalk.org/index.php?topic=57342.0
Files and instructions for CGminer on DD-WRT: https://bitcointalk.org/index.php?topic=76685.0
Pan handling: 1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj
Pages: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!