Pages:
Author

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

legendary
Activity: 896
Merit: 1000
git clone https://github.com/tghamm/PiMinerSimple.git
cd PiMinerSimple
sudo nohup python PiMinerSimple.py &

Since MinePeon comes equipped with everything you need already that is "in theory" all you need do.  The miner is setup and ready.

Neil
hero member
Activity: 756
Merit: 500
OK I can already tell I'm not going to get anywhere with these instructions because everything is inside minepeon.

Quote
Repository:  https://github.com/tghamm/PiMinerSimple
From /home/pi, do the following:

git clone https://github.com/tghamm/PiMinerSimple.git

Now, if you’ve already got cgminer running, we need to stop it, and re-run it using the nohup command, so that we can return to the console to run PiMinerSimple.
Use Ctrl + \ if you need to exit cgminer, or, you can always restart the Pi.Now, let’s start cgminer as a background application.  It’s almost the same as before, but with a couple of small changes.
From home/pi:

cd cgminer
sudo nohup ./cgminer --bmsc-options 115200:20 -o mint.bitminter.com:3333 -u username_instancename -p x --bmsc-freq 0781 --api-allow W:0/0 --api-listen &

When you run this, the application will start and you will be returned to the console.Now let’st start PiMinerSimple.
From /home/pi:

cd PiMinerSimple
sudo nohup python PiMinerSimple.py &

That should activate the the LCD, and after a few seconds, should start reporting statistics from cgminer.
That’s it!

I'm guessing piminersimple needs to be made into a plugin somehow.
hero member
Activity: 756
Merit: 500
Ya it's bfgminer.  PiMinersimple looks like it might work but how do I get it installed with minepeon?

Send one BTC to 12Ui8w9q6eq6TxZmow8H9VHbZdfEnsLDsB .... (kidding, unless your really gonna do it Tongue )

I will have a look to night and might even message the author, lets see if we can get something going.

Neil

Lol how about I keep my donations on   Tongue

I'm gonna play with it and see if I can figure it out from the instructions to make it work with cgminer with raspian... I'll let you know if i'm successful.

Wish me luck
legendary
Activity: 896
Merit: 1000
Ya it's bfgminer.  PiMinersimple looks like it might work but how do I get it installed with minepeon?

Send one BTC to 12Ui8w9q6eq6TxZmow8H9VHbZdfEnsLDsB .... (kidding, unless your really gonna do it Tongue )

I will have a look to night and might even message the author, lets see if we can get something going.

Neil
hero member
Activity: 756
Merit: 500
Has anyone been able to get piminer to work?  I've tried with with the PR releases and the new 2.4.4  It just sits there saying "connecting to miner..." for me after it gives me the IP address.

Is this with bfgminer?

Unfortunately piMiner no longer seems supported by the author, it seems that it has been 8 months since its last update;-

https://github.com/adafruit/PiMiner

With the way open source stuff goes, if your not constantly maintaining stuff every thing else progresses and breaks your old code and I have enough of my own stuff to maintain.  I have noticed though that someone else has forked piMiner and is doing something interesting with it;-

https://github.com/tghamm/PiMinerSimple

Neil

Ya it's bfgminer.  PiMinersimple looks like it might work but how do I get it installed with minepeon?
legendary
Activity: 896
Merit: 1000
Has anyone been able to get piminer to work?  I've tried with with the PR releases and the new 2.4.4  It just sits there saying "connecting to miner..." for me after it gives me the IP address.

Is this with bfgminer?

Unfortunately piMiner no longer seems supported by the author, it seems that it has been 8 months since its last update;-

https://github.com/adafruit/PiMiner

With the way open source stuff goes, if your not constantly maintaining stuff every thing else progresses and breaks your old code and I have enough of my own stuff to maintain.  I have noticed though that someone else has forked piMiner and is doing something interesting with it;-

https://github.com/tghamm/PiMinerSimple

Neil
hero member
Activity: 756
Merit: 500
Has anyone been able to get piminer to work?  I've tried with with the PR releases and the new 2.4.4  It just sits there saying "connecting to miner..." for me after it gives me the IP address.
legendary
Activity: 896
Merit: 1000
Is there any plan for a system updater/modifier with changelog through the web interface?

One of my medium turn goals is to be able to update from the WebUI.  That would involve incorporating git into the UI somehow and would enable people to see things changing before there eyes.

Until then your gonna have to make do with the github commit log Tongue ;-

https://github.com/MineForeman/minepeon-base/commits/RaspberryPi-0.2.5

Neil
full member
Activity: 224
Merit: 100
Is there any plan for a system updater/modifier with changelog through the web interface? It would appear a fair amount of effort is made to describe how to update and modify the system for folks who are not as conversant with the system that could possibly be put into scripts which are activated from the browser thus negating the requirement to spell out various steps in detail.

I fully understand this is the testing phase but it appears the system as a whole has matured to this point.

Tremendous work.
legendary
Activity: 896
Merit: 1000
I received a message from Sourceforge (http://sourceforge.net/projects/minepeon/) about 0.2.4.4, is this the current stable?

Yeah, just driver updates and a few bugfixes while I continue working on 0.2.5 Unstable.

Neil
hero member
Activity: 626
Merit: 500
Mining since May 2011.
I received a message from Sourceforge (http://sourceforge.net/projects/minepeon/) about 0.2.4.4, is this the current stable?
full member
Activity: 224
Merit: 100
Here's my Setting line:

/usr/bin/screen -dmS miner /opt/minepeon/bin/bfgminer --http-port 8332 -S all -c /opt/minepeon/etc/miner.conf --set-device antminer:freq=0A81

Maybe the antminer:clock is wrong ?? I use "antminer:freq" instead and NO --icarus

I get 2.25Gh/s /antminer with these settings. Anything else I've tried falls short.
sr. member
Activity: 280
Merit: 250
Here's my Setting line:

/usr/bin/screen -dmS miner /opt/minepeon/bin/bfgminer --http-port 8332 -S all -c /opt/minepeon/etc/miner.conf --set-device antminer:freq=0A81

Maybe the antminer:clock is wrong ?? I use "antminer:freq" instead and NO --icarus
full member
Activity: 224
Merit: 100
Anyone know if it's possible to run stratum proxy for an ASICminer Cube at the same time as running a bunch of Antminer U1's on a single pi or will I require 2Xpi?

Edit. I did find this discussion on the topic using blades and other miners intermixed, however it's a description for ver 0.2.4 set up. Is it still relevant for the current version? I'm just a little foggy on how the call for "all" miners is going to function if my options are suited to the U1's or is it the stratum proxy being started from the config file and then the startup script handles the U1 miners connected immediately to the pi with the "all" variable?

http://minepeon.com/forums/viewtopic.php?f=11&t=1131&p=3648#p3648


I just did that. Addet the --http-Proxy to the Settings line whitin the Pi!
And it runs great!!

Exept, I do habe 2 TwinFury, 1 Antminer U1 and 1 Asic Blade hooked up to my pi.

Thanks. Not sure why since I'm uncertain what it all achieves but I have to leave in all the preceding default bfgminer script information for it to find my miners.
As you can see I added the proxy to the startup settings through the gui vice editing the config file so it would remain persistent.

Code:
#!/bin/bash
sleep 10
TARGET_DATE=20000101
TIMEOUT=30

while [ `date +"%Y%M%d"` -lt $TARGET_DATE ]; do
 sleep 1
 x=$(( $x + 1 ))
 if [ $x -gt $TIMEOUT ]
 then
   break
 fi
done

/usr/bin/screen -dmS miner /opt/minepeon/bin/bfgminer --http-port 8337 -S all -c /opt/minepeon/etc/miner.conf --set-device antminer:clock=x0981 --icarus-options 115200:2:2

runs but using the example given in the link similarly modified for overclocked U1's:

Code:
#!/bin/bash
/usr/bin/screen -dmS miner /opt/minepeon/bin/bfgminer --http-port 8337 -S all -c /opt/minepeon/etc/miner.conf --set-device antminer:clock=x0981 --icarus-options 115200:2:2

Will not find miners when run.

The first code runs the U1's without issues but I have yet to set up the cube and direct it to the proxy to see if that aspect will function.
hero member
Activity: 798
Merit: 1000
A word of caution on setting up the watchdog.  When I learned about it, it seemed like the magical solution to my problems. For some reason, my Pi's network interface is getting blocked.  The Pi itself seems to still be operational, so the watchdog (which I set up as per the instructions on the linked page) wouldn't kick in and reboot. But, I couldn't interact with the Pi using either SSH or a screen and keyboard.  So, I set up the watchdog to reboot if it couldn't ping my desktop (which runs my local P2Pool instance).

BIG mistake.

Once I rebooted my Pi, it tried to bring up the network interface.  However, before it could do that and get an IP address, the watchdog noticed that it couldn't ping my desktop, and promptly rebooted the Pi. This essentially put the Pi into a reboot loop, where I couldn't even log in with a keyboard and screen to turn it off.  The watchdog would trigger the reboot before I could even log in. I had to reimage the SD card entirely. Sad

Yup, for this reason I avoid ANY of the network based watchdog triggers.

For OS or process based triggering though, it's great!
sr. member
Activity: 280
Merit: 250
Anyone know if it's possible to run stratum proxy for an ASICminer Cube at the same time as running a bunch of Antminer U1's on a single pi or will I require 2Xpi?

Edit. I did find this discussion on the topic using blades and other miners intermixed, however it's a description for ver 0.2.4 set up. Is it still relevant for the current version? I'm just a little foggy on how the call for "all" miners is going to function if my options are suited to the U1's or is it the stratum proxy being started from the config file and then the startup script handles the U1 miners connected immediately to the pi with the "all" variable?

http://minepeon.com/forums/viewtopic.php?f=11&t=1131&p=3648#p3648


I just did that. Addet the --http-Proxy to the Settings line whitin the Pi!
And it runs great!!

Exept, I do habe 2 TwinFury, 1 Antminer U1 and 1 Asic Blade hooked up to my pi.
sr. member
Activity: 295
Merit: 250
A word of caution on setting up the watchdog.  When I learned about it, it seemed like the magical solution to my problems. For some reason, my Pi's network interface is getting blocked.  The Pi itself seems to still be operational, so the watchdog (which I set up as per the instructions on the linked page) wouldn't kick in and reboot. But, I couldn't interact with the Pi using either SSH or a screen and keyboard.  So, I set up the watchdog to reboot if it couldn't ping my desktop (which runs my local P2Pool instance).

BIG mistake.

Once I rebooted my Pi, it tried to bring up the network interface.  However, before it could do that and get an IP address, the watchdog noticed that it couldn't ping my desktop, and promptly rebooted the Pi. This essentially put the Pi into a reboot loop, where I couldn't even log in with a keyboard and screen to turn it off.  The watchdog would trigger the reboot before I could even log in. I had to reimage the SD card entirely. Sad
hero member
Activity: 798
Merit: 1000
Hi Neal,

Im having a small issue where my pi gets hug up and crashes about every 12 hours. Im running v0.2.4 pr2 with bfgminer as the defualt. I have 2 6 chip jallie's running on it. I switched over to cgminer3.6.1 for tonight. Any reason why this would be going on? I know my install is stable I used to run some block erupters on it with no problems.

My second question would be, can I configure peon to restart the miner program once the os has booted up? If I cant solve the problem of the pi getting hung up I would like to schedule auto reboots to try to solve my problem of the unit just being down if I dont check on it.

Thanks.

Sounds like you need to setup the builtin watchdog timer. 
http://blog.ricardoarturocabral.com/2013/01/auto-reboot-hung-raspberry-pi-using-on.html

Follow the Arch version of those instructions and you'll be set Wink
hero member
Activity: 602
Merit: 500
Hi Neal,

Im having a small issue where my pi gets hug up and crashes about every 12 hours. Im running v0.2.4 pr2 with bfgminer as the defualt. I have 2 6 chip jallie's running on it. I switched over to cgminer3.6.1 for tonight. Any reason why this would be going on? I know my install is stable I used to run some block erupters on it with no problems.

My second question would be, can I configure peon to restart the miner program once the os has booted up? If I cant solve the problem of the pi getting hung up I would like to schedule auto reboots to try to solve my problem of the unit just being down if I dont check on it.

Thanks.
hero member
Activity: 756
Merit: 500
Any luck?
Pages:
Jump to: