Pages:
Author

Topic: Linux mining distro for the Raspberry PI - MinePeon - page 87. (Read 685140 times)

sr. member
Activity: 283
Merit: 250
Thank you, that worked like a charm.
I'm new to Linux in case you didn't guess.

I'm getting this today, I've never had this before.

Code:
[minepeon@minepeon minepeon]$ git pull
fatal: unable to access 'https://github.com/MineForeman/MinePeon.git/': SSL certificate problem: certificate is not yet valid

Think you have an issue with the date on the Pi

Code:
date

Code:
sudo ntpd -s
newbie
Activity: 23
Merit: 0
I'm getting this today, I've never had this before.

Code:
[minepeon@minepeon minepeon]$ git pull
fatal: unable to access 'https://github.com/MineForeman/MinePeon.git/': SSL certificate problem: certificate is not yet valid

Think you have an issue with the date on the Pi

Code:
date

Code:
sudo ntpd -s
sr. member
Activity: 283
Merit: 250
I'm getting this today, I've never had this before.

Code:
[minepeon@minepeon minepeon]$ git pull
fatal: unable to access 'https://github.com/MineForeman/MinePeon.git/': SSL certificate problem: certificate is not yet valid
newbie
Activity: 28
Merit: 0
(first sudo su)


 Angry Angry Angry Angry SUDO -I!!!!!!!!  Angry Angry Angry Angry
sudo su is the spawn of evil!
legendary
Activity: 1680
Merit: 1014
Set up NTP. Look at the bottom of this guide here, if you don't need static IP:
http://minepeon.com/index.php/Static_IP
sr. member
Activity: 257
Merit: 250
Will minepeon still remember the  donation pools even if the fields are empty . I'm donating an hour now to catch up . If not , Neil can you please give me a donation URL to enter in the GUI.

So long as the time is set it should I believe you could check

Code:
nano /opt/minepeon/etc/miner.conf.donate

That should open it read only if not add sudo/

And see what pools are listed.

It basically runs a cron hourly and if the time is noon this file kicks off

/opt/minepeon/etc/cron.d/hourly/donate

It copies your config to a temp then copies the donation config and restarts cgminer for the allotted time then copies them back and restarts it again.


I was able to set the right date on the miner client but the time is not right yet. I'll run it for 24 hours and see what happens. , I should of just set it up when I first started using minepeon .

Thanks for helping out.
newbie
Activity: 23
Merit: 0
Will minepeon still remember the  donation pools even if the fields are empty . I'm donating an hour now to catch up . If not , Neil can you please give me a donation URL to enter in the GUI.

So long as the time is set it should I believe you could check

Code:
nano /opt/minepeon/etc/miner.conf.donate

That should open it read only if not add sudo/

And see what pools are listed.

It basically runs a cron hourly and if the time is noon this file kicks off

/opt/minepeon/etc/cron.d/hourly/donate

It copies your config to a temp then copies the donation config and restarts cgminer for the allotted time then copies them back and restarts it again.
sr. member
Activity: 257
Merit: 250
Will minepeon still remember the  donation pools even if the fields are empty . I'm donating an hour now to catch up . If not , Neil can you please give me a donation URL to enter in the GUI.
newbie
Activity: 27
Merit: 0

Nice!
These permission settings will probably have to be done too after git pull:

(first sudo su)

Code:
mkdir /opt/minepeon/etc/backup
chmod 660 $(find /opt/minepeon/etc -type f)
chmod 770 $(find /opt/minepeon/etc -type d)
chmod 770 $(find /opt/minepeon/var -type d)
chmod -R 777 /opt/minepeon/etc/backup
chown -R http.http /opt/minepeon/etc

mkdir /opt/minepeon/http/rrd/ /opt/minepeon/http/phpliteAdmin/
chmod -R 770 /opt/minepeon/http/rrd/ /opt/minepeon/http/phpliteAdmin/
chown -R minepeon.http /opt/minepeon/http/rrd/ /opt/minepeon/http/phpliteAdmin/

And passwd will only change the password, not really reset it Smiley

Thomas
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Outstanding manual, Malakai. Many thanks.

Meanwhile, I'm now using cgminr 3.3.3, without problems, thanks to Neil.

newbie
Activity: 23
Merit: 0
Well with work tying up 90% of my life  Huh

Here's my best effort

Full Guide to MinePeon

http://www.raspians.com/full-guide-to-minepeon/
newbie
Activity: 17
Merit: 0
I think I am almost done getting minepeon running on the cubieboard 2. Working on an authentication issue with the web interface. I hope to have it worked out tonight.
legendary
Activity: 896
Merit: 1000
EDIT: strangely starting the service didn't work (after enabling) but a quick reboot on the pi and it's all good now, mining away with the latest bfgminer (very slightly less cpu usage)

Not so strange, I forgot to tell you to reload the systemd unit files with;-

systemctl daemon-reload

A reboot will do though Cheesy .  This is why I am so bad with the wiki, I forget to mention the obvious things.

Neil
legendary
Activity: 896
Merit: 1000
are there instructions somewhere for updating to the latest on git? should it be on the wiki page if its not already?

It should be on the wiki, I have never been good at keeping it up to date though and Thomas is doing a bit of work on it at the moment.

If your running 0.2.2 you can just go;-

cd /opt/minepeon/
git pull

And it will update the binaries and;-

cd /opt/minepeon/http/
git pull

Will update the WebUI.  Remember though, this is beta software and you will probably get problems.  If you are not sure there will be a new image out in the next few days (my real job keeps getting in the way).

Neil
newbie
Activity: 54
Merit: 0
I seem to be having some trouble switching to bfgminer as the auto-start miner.

I did the following:
Code:
sudo systemctl stop cgminer.service
sudo systemctl disable cgminer.service
sudo systemctl enable bfgminer.service
sudo systemctl start bfgminer.service

But the miner never seems to start. So I dug in and started bfgminer via ssh only to receive the message "All devices disabled".

Might I have to edit the line in bfgminer.service that starts the miner?

All that said, MinePeon is freaking awesome, was plug and play for using cgminer with a block erupter (pi will power 1 off it's own ports surprisingly). Only exception to plug and play was setting up wifi (still super easy thanks to wicd-curses) and setting up auto ntp time updating at start (time issue was really bugging me). Thank you so much for getting all this together, and I love the new stats pages, keep up the freaking awesome work!

Unfortunately with the 3.x.x series bfgminer and cgminer went two different ways as to how they use USB, bfgminer still works but you may need to edit;-

/usr/lib/systemd/system/bfgminer.service

And put your options into it.

Neil

Thanks! Though I did make the edit and I'm still getting "all devices disabled" perhaps I'm missing something else? Here's what the ExecStart line in bfgminer.service looks after the small edit:
Code:
ExecStart=/usr/bin/screen -dmS bfgminer /opt/minepeon/bin/bfgminer -S all --icarus-options 115200:1:1 --icarus-timing 3.0=100 --api-listen --api-allow W:172.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf

EDIT: strangely starting the service didn't work (after enabling) but a quick reboot on the pi and it's all good now, mining away with the latest bfgminer (very slightly less cpu usage)
member
Activity: 73
Merit: 10
Oh no! Not again! CGMINER: LATEST-IS-3.3.3

I saw that, it has a few optimisations that will be very useful on the Pi, I am running it now and expect to push it up to git soon.

Neil

are there instructions somewhere for updating to the latest on git? should it be on the wiki page if its not already?

legendary
Activity: 896
Merit: 1000
Oh no! Not again! CGMINER: LATEST-IS-3.3.3

I saw that, it has a few optimisations that will be very useful on the Pi, I am running it now and expect to push it up to git soon.

Neil
legendary
Activity: 896
Merit: 1000
I seem to be having some trouble switching to bfgminer as the auto-start miner.

I did the following:
Code:
sudo systemctl stop cgminer.service
sudo systemctl disable cgminer.service
sudo systemctl enable bfgminer.service
sudo systemctl start bfgminer.service

But the miner never seems to start. So I dug in and started bfgminer via ssh only to receive the message "All devices disabled".

Might I have to edit the line in bfgminer.service that starts the miner?

All that said, MinePeon is freaking awesome, was plug and play for using cgminer with a block erupter (pi will power 1 off it's own ports surprisingly). Only exception to plug and play was setting up wifi (still super easy thanks to wicd-curses) and setting up auto ntp time updating at start (time issue was really bugging me). Thank you so much for getting all this together, and I love the new stats pages, keep up the freaking awesome work!

Unfortunately with the 3.x.x series bfgminer and cgminer went two different ways as to how they use USB, bfgminer still works but you may need to edit;-

/usr/lib/systemd/system/bfgminer.service

And put your options into it.

Neil
legendary
Activity: 896
Merit: 1000
With last updates, and having my TZ in London/Lisbon, the donation period started today @ Noon and not @ Midnight and I like it more, as I can quickly confirm that all went smoothly and as expected, without having to be awake @ "late night".

I did it at Thomas's suggestion for debugging but I actually quite like it as well and will probably keep it like that.  It has proiven to be a buggy bit of code and the last thing I want to do is steal hashes (what I actualy want to do is make enough to make MinePeon my full time job).

Neil
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Oh no! Not again! CGMINER: LATEST-IS-3.3.3
Pages:
Jump to: