Bitcoin Forum
April 24, 2024, 09:25:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 684872 times)
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
August 12, 2013, 11:26:44 AM
 #1021

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".

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
1713993922
Hero Member
*
Offline Offline

Posts: 1713993922

View Profile Personal Message (Offline)

Ignore
1713993922
Reply with quote  #2

1713993922
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713993922
Hero Member
*
Offline Offline

Posts: 1713993922

View Profile Personal Message (Offline)

Ignore
1713993922
Reply with quote  #2

1713993922
Report to moderator
1713993922
Hero Member
*
Offline Offline

Posts: 1713993922

View Profile Personal Message (Offline)

Ignore
1713993922
Reply with quote  #2

1713993922
Report to moderator
1713993922
Hero Member
*
Offline Offline

Posts: 1713993922

View Profile Personal Message (Offline)

Ignore
1713993922
Reply with quote  #2

1713993922
Report to moderator
tinnvec
Newbie
*
Offline Offline

Activity: 54
Merit: 0



View Profile
August 12, 2013, 06:32:58 PM
 #1022

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!
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
August 12, 2013, 08:35:18 PM
 #1023

Oh no! Not again! CGMINER: LATEST-IS-3.3.3

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 12, 2013, 08:41:53 PM
 #1024

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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 12, 2013, 08:44:56 PM
 #1025

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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 12, 2013, 09:00:41 PM
 #1026

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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
Scorpia
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
August 12, 2013, 11:05:29 PM
 #1027

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?

tinnvec
Newbie
*
Offline Offline

Activity: 54
Merit: 0



View Profile
August 12, 2013, 11:06:19 PM
 #1028

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)
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 12, 2013, 11:21:03 PM
 #1029

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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 12, 2013, 11:28:15 PM
 #1030

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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
tombs
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
August 13, 2013, 12:28:47 AM
 #1031

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.
Malakai
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile WWW
August 13, 2013, 05:26:44 AM
 #1032

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/
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
August 13, 2013, 07:43:57 AM
 #1033

Outstanding manual, Malakai. Many thanks.

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


Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
yxzq
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 13, 2013, 08:39:52 AM
Last edit: August 13, 2013, 11:02:23 AM by yxzq
 #1034


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
Polyatomic
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
August 13, 2013, 09:52:32 AM
 #1035

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.
Malakai
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile WWW
August 13, 2013, 10:07:36 AM
 #1036

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.
Polyatomic
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
August 13, 2013, 11:05:07 AM
 #1037

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.
Nemo1024
Legendary
*
Offline Offline

Activity: 1680
Merit: 1014



View Profile WWW
August 13, 2013, 01:05:33 PM
 #1038

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

“Dark times lie ahead of us and there will be a time when we must choose between what is easy and what is right.”
“We are only as strong as we are united, as weak as we are divided.”
“It is important to fight and fight again, and keep fighting, for only then can evil be kept at bay, though never quite eradicated.”
Mavy
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
August 13, 2013, 01:24:35 PM
 #1039

(first sudo su)


 Angry Angry Angry Angry SUDO -I!!!!!!!!  Angry Angry Angry Angry
sudo su is the spawn of evil!
funkymunky
Sr. Member
****
Offline Offline

Activity: 283
Merit: 250



View Profile
August 13, 2013, 01:47:30 PM
 #1040

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
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!