MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 11, 2014, 11:45:14 PM |
|
You get a chance to play with it at all?
Sorry, I got side tracked working on the graphs. I will have a crack this afternoon. Unfortunately the PiMiner code was not written by me and is in Python, my Phthon is worse than my JavaScript . Neil
|
|
|
|
tripppn
|
|
February 13, 2014, 11:34:47 PM |
|
Any luck?
|
“You can't be a real country unless you have a beer and an airline - it helps if you have some kind of football team, or some nuclear weapons, but in the very least you need a beer.” ― Frank Zappa
|
|
|
terrapinflyer
|
|
February 15, 2014, 11:32:08 AM |
|
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.
|
|
|
|
jedimstr
|
|
February 15, 2014, 12:08:08 PM |
|
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.htmlFollow the Arch version of those instructions and you'll be set
|
|
|
|
KyrosKrane
|
|
February 15, 2014, 01:12:08 PM |
|
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.
|
|
|
|
Atomar
|
|
February 15, 2014, 01:17:22 PM |
|
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#p3648I 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.
|
|
|
|
jedimstr
|
|
February 15, 2014, 01:31:30 PM |
|
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. Yup, for this reason I avoid ANY of the network based watchdog triggers. For OS or process based triggering though, it's great!
|
|
|
|
necro_nemesis
|
|
February 15, 2014, 01:40:46 PM Last edit: February 15, 2014, 02:03:44 PM by necro_nemesis |
|
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#p3648I 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. #!/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: #!/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.
|
|
|
|
Atomar
|
|
February 15, 2014, 02:00:10 PM |
|
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
|
|
|
|
necro_nemesis
|
|
February 15, 2014, 02:06:20 PM |
|
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.
|
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 17, 2014, 07:48:32 PM |
|
Yeah, just driver updates and a few bugfixes while I continue working on 0.2.5 Unstable. Neil
|
|
|
|
necro_nemesis
|
|
February 17, 2014, 08:00:52 PM |
|
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.
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 17, 2014, 08:30:52 PM |
|
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 ;- https://github.com/MineForeman/minepeon-base/commits/RaspberryPi-0.2.5Neil
|
|
|
|
tripppn
|
|
February 17, 2014, 08:31:56 PM |
|
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.
|
“You can't be a real country unless you have a beer and an airline - it helps if you have some kind of football team, or some nuclear weapons, but in the very least you need a beer.” ― Frank Zappa
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 17, 2014, 08:40:23 PM |
|
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/PiMinerWith 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/PiMinerSimpleNeil
|
|
|
|
tripppn
|
|
February 17, 2014, 08:50:49 PM |
|
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/PiMinerWith 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/PiMinerSimpleNeil Ya it's bfgminer. PiMinersimple looks like it might work but how do I get it installed with minepeon?
|
“You can't be a real country unless you have a beer and an airline - it helps if you have some kind of football team, or some nuclear weapons, but in the very least you need a beer.” ― Frank Zappa
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 17, 2014, 08:55:12 PM |
|
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 ) I will have a look to night and might even message the author, lets see if we can get something going. Neil
|
|
|
|
tripppn
|
|
February 17, 2014, 09:01:05 PM |
|
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 ) 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 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
|
“You can't be a real country unless you have a beer and an airline - it helps if you have some kind of football team, or some nuclear weapons, but in the very least you need a beer.” ― Frank Zappa
|
|
|
tripppn
|
|
February 17, 2014, 09:11:06 PM |
|
OK I can already tell I'm not going to get anywhere with these instructions because everything is inside minepeon. Repository: https://github.com/tghamm/PiMinerSimpleFrom /home/pi, do the following: git clone https://github.com/tghamm/PiMinerSimple.gitNow, 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.
|
“You can't be a real country unless you have a beer and an airline - it helps if you have some kind of football team, or some nuclear weapons, but in the very least you need a beer.” ― Frank Zappa
|
|
|
|