ralree
|
|
September 04, 2012, 09:24:20 PM |
|
New changes are good, but dark colors on black = headache after 2 minutes.
Easy to fix in CSS and/or GIMP/Photoshop/etc. for the images. It looks fine on my monitors, but maybe I run at a higher brightness than most.. There's a new feature that requires some effort in apache: read-only stats. Example here: https://ralree.dyndns.org/ANUBIS/read-only/allgpus.phpThe non-read-only directory is just /ANUBIS. HTTP Auth is enabled on the entire webserver EXCEPT for some of the media directories in /ANUBIS and the read-only directory. The read-only scripts run with SELECT privileges in mysql instead of the full gamut. Changes are all in github. https://github.com/hank/ANUBISHere's a quick and dirty example apache config: <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all
AuthUserFile /some/path/outside/served/directories/users AuthName "Area protected by belligerent drunk." AuthGroupFile /dev/null AuthType Basic Require valid-user </Directory>
<LocationMatch "/ANUBIS/(read-only|images|css|table-images)"> Satisfy Any Allow from all </LocationMatch>
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
AniceInovation
Donator
Sr. Member
Offline
Activity: 446
Merit: 262
Interesting.
|
|
September 11, 2012, 10:59:24 PM |
|
Installation is simple. You need a MySQL/PHP enabled host within your rig-network. ocminer
Hey, A MySQL/PHP host, is a MySQL/PHP server right? What software do you recomend? I use windows 7.
|
|
|
|
vapourminer
Legendary
Offline
Activity: 4466
Merit: 4006
what is this "brake pedal" you speak of?
|
|
September 12, 2012, 12:52:24 AM |
|
I use easy php. made for local network web serving only, and easy to setup. everything you need for anubis in one package. http://www.easyphp.org/
|
|
|
|
btckeeper
Newbie
Offline
Activity: 13
Merit: 0
|
|
September 19, 2012, 11:20:18 AM |
|
Hello all. What is DISCARDS column? I have about 30% discards. What does it mean?
|
|
|
|
ralree
|
|
October 09, 2012, 02:10:24 AM |
|
Hello all. What is DISCARDS column? I have about 30% discards. What does it mean?
AFAIK it's when there's a new block detected and you throw away your current batch of work you've been assigned. You lose nothing to discards, only rejects.
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
gigica viteazu`
Sr. Member
Offline
Activity: 458
Merit: 250
beast at work
|
|
October 14, 2012, 01:32:38 AM Last edit: October 14, 2012, 01:51:43 AM by gigica viteazu` |
|
this looks great, but i`m still looking for a solution to get this kind of info from my miners, with them beign behind a firewall
|
|
|
|
stevegee58
Legendary
Offline
Activity: 916
Merit: 1003
|
|
October 14, 2012, 11:18:25 AM |
|
this looks great, but i`m still looking for a solution to get this kind of info from my miners, with them beign behind a firewall
Is it a firewall at home or work? If it's at home you have to set up your router to forward port 80 to your web server. If it's at work I doubt they'd want you running a web server on their network.
|
You are in a maze of twisty little passages, all alike.
|
|
|
ralree
|
|
October 14, 2012, 05:28:59 PM |
|
Yeah simply open a port on your firewall, or use something like STUN/TURN/ICE to get around it. Alternatively, you could host ANUBIS somewhere public, and just use the API through your firewall to your miners in read-only mode.
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
October 21, 2012, 06:42:40 AM |
|
Added the new API features.
|
|
|
|
sharky112065
|
|
November 18, 2012, 02:50:07 PM |
|
Added the new API features.
I just updated and now my login credentials are no longer asked for. I copied over my old auth.inc.php but no joy. Are you now using a different method for authentication? To show bitcoin balance without orphans you might want to change this line in acc.inc.php: $blockchain_addr_options = '?format=json&limit=0'; to this: $blockchain_addr_options = '?format=json&limit=0&filter=5'; I keep having to change it manually on updates.
|
Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
November 18, 2012, 06:34:33 PM |
|
Added the new API features.
I just updated and now my login credentials are no longer asked for. I copied over my old auth.inc.php but no joy. Are you now using a different method for authentication? To show bitcoin balance without orphans you might want to change this line in acc.inc.php: $blockchain_addr_options = '?format=json&limit=0'; to this: $blockchain_addr_options = '?format=json&limit=0&filter=5'; I keep having to change it manually on updates. I never added any login to Anubis. Ralree did though. what does the filter=5 do?
|
|
|
|
sharky112065
|
|
November 18, 2012, 09:09:53 PM |
|
Added the new API features.
I just updated and now my login credentials are no longer asked for. I copied over my old auth.inc.php but no joy. Are you now using a different method for authentication? To show bitcoin balance without orphans you might want to change this line in acc.inc.php: $blockchain_addr_options = '?format=json&limit=0'; to this: $blockchain_addr_options = '?format=json&limit=0&filter=5'; I keep having to change it manually on updates. I never added any login to Anubis. Ralree did though. what does the filter=5 do? I stated what filter=5 does. It filters out orphaned blocks from your query. The returned values are minus orphans, so you get your true balance. Regarding login in Anubis, all I know is the last time it was updated on git it no longer works.
|
Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
|
|
|
Elxiliath
Member
Offline
Activity: 66
Merit: 10
|
|
November 28, 2012, 04:25:31 AM |
|
Wow, this is quite awesome. I've often wondered why this feature wasn't in any of the mining applications.
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
November 30, 2012, 03:16:37 PM |
|
Wow, this is quite awesome. I've often wondered why this feature wasn't in any of the mining applications.
cgminer has one - miner.php Reasonably simple, but it's had one, for quite a while ...
|
|
|
|
BR0KK
|
|
February 22, 2013, 12:54:41 AM |
|
Is it possible to run this on a ddwrt ?
Are there any tutorials aviable (for all platforms)?
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
February 22, 2013, 04:00:50 PM |
|
php files are php files. They can be run on pretty much any platform. In DDWRT there is lighttpd which is the php web server... look on ddwrt on how to get that running, it's not too tricky (copy the files to the web share dir, start the service and maybe a config file to edit).
|
|
|
|
BR0KK
|
|
February 25, 2013, 12:16:49 AM |
|
Got Anubis working but somehow i cant figure out how to start the cgminer with the flags. Is this even necessary in your build (does this work ootb) or do i need to write these flags behind the command "service cgminer start --flags here"? Or can i start the service like a usual linux program with "./program here --flags here"?
As I've seen in Anubis the default port for communication is "4028"? how do i tell cgminer to use this or do i even need to do this?
Again some noob questions. I appreciate if somebody would help me out here:)
Once i figured that all out, I could write all of this into a Howto and you could add that to your work (so that no noob comes across again and asks stupid questions).
|
|
|
|
|
chungenhung
Legendary
Offline
Activity: 1134
Merit: 1005
|
|
April 09, 2013, 05:21:46 PM |
|
I am getting error on some machines "'The requested name is valid, but no data of the requested type was found"
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
April 10, 2013, 08:58:01 AM |
|
Got Anubis working but somehow i cant figure out how to start the cgminer with the flags. Is this even necessary in your build (does this work ootb) or do i need to write these flags behind the command "service cgminer start --flags here"? Or can i start the service like a usual linux program with "./program here --flags here"?
As I've seen in Anubis the default port for communication is "4028"? how do i tell cgminer to use this or do i even need to do this?
Again some noob questions. I appreciate if somebody would help me out here:)
Once i figured that all out, I could write all of this into a Howto and you could add that to your work (so that no noob comes across again and asks stupid questions).
Point 1 ... API-README Point 2 for those who don't bother to read API-README ... If you only want to give API read access: ./cgminer .... --api-listen --api-network If you want ANUBIS (and the rest of the world with netowrk access) to have read access ... otherwise read API-README
|
|
|
|
|