Author

Topic: [Minera v0.9.0] Your next mining dashboard - S9/L3+/D3/CPUminer/CGminer/BFGminer - page 155. (Read 850495 times)

member
Activity: 64
Merit: 10
A great user in our pool [ poochiboy ] offered these tips to enhance the speed of minera lighttp refreshes:
Most of the lighthttpd optimization pulled from here:http://c-mobberley.com/wordpress/2013/05/18/raspberry-pi-lighttpd-optimisation-for-wordpress-owncloud-and-more/

Code:
sudo nano /etc/php5/cgi/php.ini
Uncomment the line where it says:
Code:
;cgi.fix_pathinfo=1
to show
Code:
cgi.fix_pathinfo=1


Install PHP APC
Code:
sudo apt-get install libpcre3-dev php-pear php5-dev build-essential
sudo pecl install apc
sudo nano /etc/php5/cgi/conf.d/apc.ini

Add the following lines to the file
.
Code:
extension=apc.so
apc.enabled=1
apc.shm_size=30
Now restart lighttpd

Code:
sudo service lighttpd restart

These optimizations sped up my refreshes like night and day.  

I have only "/etc/php5/cli/conf.d/apc.ini" but none "/etc/php5/cgi/conf.d/apc.ini" path on my RPi Sad
member
Activity: 104
Merit: 10
A great user in our pool [ poochiboy ] offered these tips to enhance the speed of minera lighttp refreshes:
Most of the lighthttpd optimization pulled from here:http://c-mobberley.com/wordpress/2013/05/18/raspberry-pi-lighttpd-optimisation-for-wordpress-owncloud-and-more/

Install Fast CGI
Code:
sudo apt-get install php5-cgi
sudo nano /etc/php5/cgi/php.ini
Uncomment the line where it says:
Code:
;cgi.fix_pathinfo=1
to show
Code:
cgi.fix_pathinfo=1


Install PHP APC
Code:
sudo apt-get install libpcre3-dev php-pear php5-dev build-essential
sudo pecl install apc
sudo nano /etc/php5/cgi/conf.d/apc.ini

Add the following lines to the file
.
Code:
extension=apc.so
apc.enabled=1
apc.shm_size=30
Now restart lighttpd

Code:
sudo service lighttpd restart

These optimizations sped up my refreshes like night and day.  

EDIT: forgot the fast CGI install, many applogies: sudo apt-get install php5-cgi
full member
Activity: 126
Merit: 100
I would like to see a "remember me" or "keep me logged in for XX hours" option on the log screen.
sr. member
Activity: 406
Merit: 250
Hi,

Feature Request:

scheduled miner restart
scheduled system reboot

Thankyou

Anto

This might be a good idea!  Grin

+1
legendary
Activity: 1564
Merit: 1027
Hi,

Feature Request:

scheduled miner restart
scheduled system reboot

Thankyou

Anto

This might be a good idea!  Grin
sr. member
Activity: 364
Merit: 250
i have added the guest view by my own:
pretty hardcoded... just removed the login check and all settings page stuff
works so far but hopefully you will add this to the core script Smiley





Can you share the code needed to do this?  I might like to tinker   Grin Roll Eyes

Pretty Easy:

Go to application/controllers/app.php

and add these lines to the end of the index() function
Code:

$this->session->set_userdata("loggedin", 1);
redirect('app/dashboard');
the login page is gone now.
then remove everything which should not visible for guests from
application/views/dashboard.php and sidebar.php

best regards,

Can you explain a little more about what this screen does?
newbie
Activity: 1
Merit: 0
bug maybe... I just had a power outage and now the minera interface won't come up it's just a blank page I tried updating I tried rebooting nothing works and my miners are churning out trash to the pi any advice.
legendary
Activity: 1150
Merit: 1004
Hi michelem. Just checking in to see how the start/stop daemon is coming. Are you still going to add that?
full member
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
i have added the guest view by my own:
pretty hardcoded... just removed the login check and all settings page stuff
works so far but hopefully you will add this to the core script Smiley





Can you share the code needed to do this?  I might like to tinker   Grin Roll Eyes

Pretty Easy:

Go to application/controllers/app.php

and add these lines to the end of the index() function
Code:

$this->session->set_userdata("loggedin", 1);
redirect('app/dashboard');
the login page is gone now.
then remove everything which should not visible for guests from
application/views/dashboard.php and sidebar.php

best regards,
member
Activity: 114
Merit: 10
Find a Way or Make One
Hi,

Feature Request:

scheduled miner restart
scheduled system reboot

Thankyou

Anto
legendary
Activity: 3556
Merit: 1126
Are you guys able to add support for for GAWminer hardware?
sr. member
Activity: 364
Merit: 250
Has anyone forked this for CGMiner?
newbie
Activity: 19
Merit: 0
i have added the guest view by my own:
pretty hardcoded... just removed the login check and all settings page stuff
works so far but hopefully you will add this to the core script Smiley


http://img4.bilder-hochladen.tv/zL9Nr0LP.png


Can you share the code needed to do this?  I might like to tinker   Grin Roll Eyes
newbie
Activity: 19
Merit: 0
i love this project so much.
is there a way to use the frontend to show some stats to 3th persons without a password and full access to the frontend?

i saw the json stats output but there are no hashrates and other stuff i want to show

Actually I like the idea of this feature:
No-auth read-only access.

What do you guys think?

Sounds like a GREAT idea !
sr. member
Activity: 294
Merit: 250
Is it possible for Minera to mine DarkCoin on a pool like Ghash.io?

And if so, how?

Darkcoin is X11 algorithm not Scrypt algorithm like Litecoin and others.
There are not hardware ASIC miners for X11 - all mining (at least for now) is CPU or GPU based.

Theoretically you could set up the CPU on the ras pi to mine darkcoin but speeds would be infinitesimally low.
So, short answer, no.
newbie
Activity: 22
Merit: 0
Just want to say thank you for minera! I use it with my farm at home and it is a huge gain for me!
Keep up the good community to make it even better!
legendary
Activity: 1015
Merit: 1000

This didn't work either. Should I try a fresh image?

Definitely, just to quit wasting time, 10 minutes and you are done Wink
full member
Activity: 126
Merit: 100
Linux noob here.  I found the php files, but I don't know how to open or view them.

If you have a SFTP client just point it to your ip with minera/minera as user/pass you should be able to navigate the filesystem and get the files (then just open them with a text-edit)
Files are in /var/log/minera or /var/www/minera/application/logs (it's a directory link)

Here is what the logs look like
Code:
ERROR - 2014-05-28 23:55:02 --> Miner is up
ERROR - 2014-05-28 23:55:02 --> Storing stats...
ERROR - 2014-05-28 23:55:03 --> Delta Stats stored as: {"timestamp":1401321303,"pool_hashrate":2974929,"hashrate":3757777,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0}
ERROR - 2014-05-28 23:55:03 --> Total Stats stored as: {"timestamp":1401321303,"pool_hashrate":2974929,"hashrate":3757777,"avg_freq":895,"accepted":7629,"errors":40,"rejected":35,"shares":3639005}
ERROR - 2014-05-28 23:55:04 --> Sending data to Mobileminer
ERROR - 2014-05-28 23:56:02 --> Miner is up
ERROR - 2014-05-28 23:56:02 --> Storing stats...
ERROR - 2014-05-28 23:56:03 --> Delta Stats stored as: {"timestamp":1401321363,"pool_hashrate":4971027,"hashrate":3757840,"avg_freq":0,"accepted":8,"errors":0,"rejected":0,"shares":4096}
ERROR - 2014-05-28 23:56:03 --> Total Stats stored as: {"timestamp":1401321363,"pool_hashrate":4971027,"hashrate":3757840,"avg_freq":895,"accepted":7637,"errors":40,"rejected":35,"shares":3643101}
ERROR - 2014-05-28 23:56:04 --> Sending data to Mobileminer
ERROR - 2014-05-28 23:57:02 --> Miner is up
ERROR - 2014-05-28 23:57:02 --> Storing stats...
ERROR - 2014-05-28 23:57:03 --> Delta Stats stored as: {"timestamp":1401321423,"pool_hashrate":2354697,"hashrate":3758129,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0}
ERROR - 2014-05-28 23:57:03 --> Total Stats stored as: {"timestamp":1401321423,"pool_hashrate":2354697,"hashrate":3758129,"avg_freq":895,"accepted":7637,"errors":40,"rejected":35,"shares":3643101}
ERROR - 2014-05-28 23:57:04 --> Sending data to Mobileminer
ERROR - 2014-05-28 23:58:02 --> Miner is up
ERROR - 2014-05-28 23:58:02 --> Storing stats...
ERROR - 2014-05-28 23:58:03 --> Delta Stats stored as: {"timestamp":1401321483,"pool_hashrate":4431717,"hashrate":3758139,"avg_freq":0,"accepted":7,"errors":0,"rejected":0,"shares":3584}
ERROR - 2014-05-28 23:58:03 --> Total Stats stored as: {"timestamp":1401321483,"pool_hashrate":4431717,"hashrate":3758139,"avg_freq":895,"accepted":7644,"errors":40,"rejected":35,"shares":3646685}
ERROR - 2014-05-28 23:58:04 --> Sending data to Mobileminer
ERROR - 2014-05-28 23:59:02 --> Miner is up
ERROR - 2014-05-28 23:59:02 --> Storing stats...
ERROR - 2014-05-28 23:59:03 --> Delta Stats stored as: {"timestamp":1401321543,"pool_hashrate":2672477,"hashrate":3758158,"avg_freq":0,"accepted":2,"errors":0,"rejected":0,"shares":1024}
ERROR - 2014-05-28 23:59:03 --> Total Stats stored as: {"timestamp":1401321543,"pool_hashrate":2672477,"hashrate":3758158,"avg_freq":895,"accepted":7646,"errors":40,"rejected":35,"shares":3647709}


It seems you haven't MM enabled, could you try to force it with this command?

Code:
redis-cli set mobileminer_enabled 1

This didn't work either. Should I try a fresh image?
newbie
Activity: 21
Merit: 0
Is it possible for Minera to mine DarkCoin on a pool like Ghash.io?

And if so, how?
legendary
Activity: 1015
Merit: 1000
Well guys, leaserig.net isn't possible, too much complex, binary files, port nat, my answer is definitely NO WAY.

The idea instead is giving you the ability to create custom user that can access your Minera doing only what you permit to do. Is it sufficient for you? Would you like a scheduling system too? What kind of permissions would you like to set per user (switching pool/add-remove pools/restart miner/reboot system ?)

@jekv2: why do you need to overclock your RPi? Please, don't touch anything, leave your miner hashing in peace and go out get a beer! Wink (explanation: RPi overclock could (COULD) be useful only if you need to run a media player on it like XBMC, to run a miner you don't absolutely need to overclock it.)
Jump to: