Pages:
Author

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

sr. member
Activity: 294
Merit: 250
Anyone have details about a source where you can get RPi/accessories for BTC?
I asked this before - but I'm in no hurry this time - so pretty much any information would be good Smiley
http://www.bitcoinin.com/electronics-en/computers-en/microcomputers/
Pi but not really any other accessories.
Thanks - that did the trick Smiley

I'm probably gonna be selling my Adafruit "PiMiner Bitcoin mining machine" LCD attachment as soon as it's soldered together...   Tongue I'm pretty sure I'm gonna like the USB LCD display better. haha

http://www.adafruit.com/blog/2013/06/23/piminer-bitcoin-mining-machine-raspberry_pi-raspberrypi/

BTW, still working on an installation tutorial for the USB LCD cgminer script. I'll hopefully do that today. I know some of y'all were having trouble getting Python and pyUSB set up, so writing up the installation steps is my next goal.

The code as been cleaned up for the most part. It's working well, but there's still a known issue with showing the correct pool in certain cases. Planning to fix that code today as well.

hero member
Activity: 626
Merit: 500
Mining since May 2011.
Hi Neil,

my cgminer on MinePeon 0.2.1 has stopped, and I can't get it running again. sudo screen -r just results in "There is no screen to be resumed". I've also tried sudo systemctl start cgminer.service and nothing happens. How can I restart my miner?

Sometimes I find it faster, especially when you are down, to just re-flash the SD, put in your pool settings and go. Time is money.
sr. member
Activity: 299
Merit: 250
Hi Neil,

my cgminer on MinePeon 0.2.1 has stopped, and I can't get it running again. sudo screen -r just results in "There is no screen to be resumed". I've also tried sudo systemctl start cgminer.service and nothing happens. How can I restart my miner?
full member
Activity: 238
Merit: 100
Yea it seems like mineforeman.com is down?
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Anyone have details about a source where you can get RPi/accessories for BTC?
I asked this before - but I'm in no hurry this time - so pretty much any information would be good Smiley
http://www.bitcoinin.com/electronics-en/computers-en/microcomputers/
Pi but not really any other accessories.
Thanks - that did the trick Smiley
member
Activity: 66
Merit: 10
Neil,http://mineforeman.com/ "Error establishing a database connection"
hero member
Activity: 574
Merit: 500
Medical Translations for Bitcoins
Anyone have details about a source where you can get RPi/accessories for BTC?
I asked this before - but I'm in no hurry this time - so pretty much any information would be good Smiley

Depending on how many accessories and RPi's you want to buy, I could sell them to you for BTC *g* - but I doubt we are in the same country.. (postage and stuff would drive the price)
hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
Anyone have details about a source where you can get RPi/accessories for BTC?
I asked this before - but I'm in no hurry this time - so pretty much any information would be good Smiley
http://www.bitcoinin.com/electronics-en/computers-en/microcomputers/
Pi but not really any other accessories.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Anyone have details about a source where you can get RPi/accessories for BTC?
I asked this before - but I'm in no hurry this time - so pretty much any information would be good Smiley
member
Activity: 102
Merit: 10
yep my mistake
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting

Thanks to the pair of you, I will give it a try.  Grin

edit: looks like this will work, However am having probs with installing the python usb drivers, am over it for the moment and wishing I had another PI to play with that does not have my miner hooked up to. Maybe I`ll regain my enthusiasm in a few days and try again..   Huh

I know the feeling. I just got another Pi from Adafruit yesterday. Smiley

I'm going to try and make notes of the dependancies needed for this code since I plan to do a fresh install on the new Pi. Meanwhile, I THINK (sorry, still waking up) what I did to install the Python USB drivers was grab the pyUSB zip from:
https://github.com/walac/pyusb

and then did a:
sudo python setup.py install

I'll verify later today when bringing up the new Pi.

Getting closer lmao
could you tell me how you installed python, I now have 2 and 3 installed
python cgminerLCDStats.py returns syntax error
python2 cgminerLCDStats.py returns no module named usb
Am thinking I have really screwed it up and will do a fresh install

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Kano.
Big question.
Adafruit creates the "Pi-miner".
Do you know if it display works with MinePeon???
That could be awesome!!!!!!!!

Good question. I sure hope so...

I've got the adafruit LCD kit laying here. Just need to find the time to solder it up and test it...
Someone mentioned to me in IRC that it uses a lot of CPU with python on it ...

I've always thought a USB display sounded like a good idea ... then someone posted about one here and I bought it that day Smiley
I like also being able to place the display wherever I like ...
No doubt if some other such USB displays are found (cheap also) people will write scripts to use them.

I'm not too sure about the ideas of what else to do with an RPi when it is mining - i.e. get it those items required (a hub, a USB display) and that'll do IMO
... and I'm not sure why it wouldn't always be mining Smiley
sr. member
Activity: 294
Merit: 250
Kano.
Big question.
Adafruit creates the "Pi-miner".
Do you know if it display works with MinePeon???
That could be awesome!!!!!!!!

Good question. I sure hope so...

I've got the adafruit LCD kit laying here. Just need to find the time to solder it up and test it...
JLM
full member
Activity: 164
Merit: 100

Thanks to the pair of you, I will give it a try.  Grin

edit: looks like this will work, However am having probs with installing the python usb drivers, am over it for the moment and wishing I had another PI to play with that does not have my miner hooked up to. Maybe I`ll regain my enthusiasm in a few days and try again..   Huh

I know the feeling. I just got another Pi from Adafruit yesterday. Smiley

I'm going to try and make notes of the dependancies needed for this code since I plan to do a fresh install on the new Pi. Meanwhile, I THINK (sorry, still waking up) what I did to install the Python USB drivers was grab the pyUSB zip from:
https://github.com/walac/pyusb

and then did a:
sudo python setup.py install

I'll verify later today when bringing up the new Pi.

Good data!!
sr. member
Activity: 294
Merit: 250

Thanks to the pair of you, I will give it a try.  Grin

edit: looks like this will work, However am having probs with installing the python usb drivers, am over it for the moment and wishing I had another PI to play with that does not have my miner hooked up to. Maybe I`ll regain my enthusiasm in a few days and try again..   Huh

I know the feeling. I just got another Pi from Adafruit yesterday. Smiley

I'm going to try and make notes of the dependancies needed for this code since I plan to do a fresh install on the new Pi. Meanwhile, I THINK (sorry, still waking up) what I did to install the Python USB drivers was grab the pyUSB zip from:
https://github.com/walac/pyusb

and then did a:
sudo python setup.py install

I'll verify later today when bringing up the new Pi.
JLM
full member
Activity: 164
Merit: 100
Kano.
Big question.
Adafruit creates the "Pi-miner".
Do you know if it display works with MinePeon???
That could be awesome!!!!!!!!
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
The quick hack fix is to change the "8192" to "65433" in CgminerRPCClient.py
But cardcomm will tidy it up properly when he has a chance.

Major thanks to Kano for his invaluable assistance with my coding hurdles Smiley  I'm not gonna even comment on his hashing capacity, except to say it's sure gonna take the fun out of looking at my LCD showing my single Block Erupter...  lol

I'll finally off to bed now, but I'll be cleaning up the code tomorrow. Meanwhile, I've pushed Kano's quick fix mention above to github. The version there should work now, but still needs cleanup and the display layout won't match Kano's.

I'll post back again very soon once I've made the changes to clean up the code and update the display a bit. Hopefully within a day or two. I hope to add some nice additions eventually as well.

Thanks to the pair of you, I will give it a try.  Grin

edit: looks like this will work, However am having probs with installing the python usb drivers, am over it for the moment and wishing I had another PI to play with that does not have my miner hooked up to. Maybe I`ll regain my enthusiasm in a few days and try again..   Huh
sr. member
Activity: 294
Merit: 250
The quick hack fix is to change the "8192" to "65433" in CgminerRPCClient.py
But cardcomm will tidy it up properly when he has a chance.

Major thanks to Kano for his invaluable assistance with my coding hurdles Smiley  I'm not gonna even comment on his hashing capacity, except to say it's sure gonna take the fun out of looking at my LCD showing my single Block Erupter...  lol

I'll finally off to bed now, but I'll be cleaning up the code tomorrow. Meanwhile, I've pushed Kano's quick fix mention above to github. The version there should work now, but still needs cleanup and the display layout won't match Kano's.

I'll post back again very soon once I've made the changes to clean up the code and update the display a bit. Hopefully within a day or two. I hope to add some nice additions eventually as well.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
The quick hack fix is to change the "8192" to "65433" in CgminerRPCClient.py
But cardcomm will tidy it up properly when he has a chance.
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
cardcomm has been working on a python script to the API and I've been testig it for him also on my desktop.
I'll leave him to update you about the script when it's working, but I hacked it up a bit and also got it to display what I wanted Smiley
Pointing at my main rig:

Code:
[root@minepeon ~]# sudo python cgminerLCDStats.py
  File "cgminerLCDStats.py", line 89
    print "No summary data found"
                                ^
SyntaxError: invalid syntax
[root@minepeon ~]#


complete linux newbie here....but trying to learn

Any hints  Grin

Should I be using python3 (or 2)
Edit : runs under python2 but
Code:
JSON decoding error - bad JSON sring:
{"STATUS":[{"STATUS":"S","When":1375336997,"Code blah blah blah
Pages:
Jump to: