Author

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

legendary
Activity: 896
Merit: 1000
what SD card do you recommend to use for the pi mineforeman. It took a couple hours to write the image onto the card i got for my pi .

Just about anything will do to tell the truth, I do recommend the more expensive brands to guard against failure (sandisk or something) but it does not need to be big or class 10.

I do think something is wrong with yours though, a couple of hours is wrong, it should take 2-3 minutes at most.

Neil
sr. member
Activity: 257
Merit: 250
what SD card do you recommend to use for the pi mineforeman. It took a couple hours to write the image onto the card i got for my pi .
legendary
Activity: 896
Merit: 1000
UPDATE: MinePeon-0.2.0.img.zip

Updated;-

cgminer
bfgminer
ArchARM Linux

Added;-

Stats table on the graphs page (sort-able too, click on a header)
Start of live update (incomplete)

Fixed;-

miner.php

As promised here is the Sunday release (its Sunday here) fixing the old stats and adding some new.

Not allot has changed underneath just a few updates and the start of the live update system, you will notice that you will be downloading from mega, I kept having odd problems with sourceforge so this will work better (hopefully).

Please don't forget to give me some time when you setup your rig it is greatly appreciated and will go towards making MinePeon even better.

Neil
legendary
Activity: 896
Merit: 1000
how can i get wifi working? I have a edimax usb device when i plug it in and do lsusb the device is detected. When I search on google it looks like the edimax is supported by default.

You can use 'sudo wicd-cureses' from ssh or the console.

Neil
REF
hero member
Activity: 529
Merit: 500
how can i get wifi working? I have a edimax usb device when i plug it in and do lsusb the device is detected. When I search on google it looks like the edimax is supported by default.
hero member
Activity: 504
Merit: 504
PGP OTC WOT: EB7FCE3D
I've managed to get the graphs display useful data in the June 11 release.

As you can see from the attached picture, it's the old style (without the fancy table with miner details), just overview of the hour/day/week etc. but since it's the default webpage that I see when I visit the minepeon I'm glad it works again



looking forward to official fix from Neil though : )
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Ok, I confess... I was one of the selfish guys that put the donation box to 0, as the Stats option doesn't work yet and I do need it working (I don't like te screen -r console).

I selected again 15 minutes.  Roll Eyes

Here is a screen shot just for you;-
...
It is off my unstable machine (I am not saying it is unstable, I develop on 3 separate machines, one called 'unstable', one called 'testing' and the last called 'production bob').

Actually, I take that back, its unstable as hell right now Tongue, the new CSS freaks most windows browses out and the updating of those stats is a bit temperamental.

But yeah, I am working on it.

Neil

I'm always confident in your work, Neil! And I love that "new" function!

If you need a 4th RPI test machine, send me the MinePeon image and I'll test it in mine, with the 2 USB Gizmos attached.

Do you have any form of confirming the "offer" of mining for you n minutes/24h? If not, think about that...  Grin

...
Seriously though, as I mentioned at the time there was a rather irritating bug with how php handles raw sockets and sessions in Arch ARM (crazy I know).  Kano (who wrote miner.php) uses sessions raw sockets to communicate with the cgminer api.  I don't use sessions and use fopen and that mysteriously was not affected and it was 2 versions on before anyone pointed out to me that miner.php was not working (I don't use miner.php and had not really counted that as part of MinePeon so it was not part of my test plans (it is now)).
...

I love the miner.php page and I still use it with one of my RPI's, CPU mining a monstrous 150 KH/s. I can't upgrade it, as the old cgminer 2.11.4 still uses CPU for mining (versions 3.n.n don't use CPU's any more).

...
I hope you guys appreciate the blood I sweat for you Tongue .
...

I'm a vampire...  Cool
legendary
Activity: 896
Merit: 1000
what was the main reason you took the stats out of minepeon (to begin with), please?

I knew you liked it and I wanted to be mean to you Tongue .

Seriously though, as I mentioned at the time there was a rather irritating bug with how php handles raw sockets and sessions in Arch ARM (crazy I know).  Kano (who wrote miner.php) uses sessions raw sockets to communicate with the cgminer api.  I don't use sessions and use fopen and that mysteriously was not affected and it was 2 versions on before anyone pointed out to me that miner.php was not working (I don't use miner.php and had not really counted that as part of MinePeon so it was not part of my test plans (it is now)).

Rather than back porting all the changes made to MinePeon to an older version of Arch and freezing php I decided to continue releasing versions while working on the bug.  It would have taken a lot of time to back port (and unfortunatly it took a long time to fix the bug).

Anyways, it is fixed now in unstable and I will be moving that to testing tomorrow (probably).  Once it is in testing I will rush through all of my test cases to make sure I did not break anything (again) and probably get it into production and release it some time Sunday.

I hope you guys appreciate the blood I sweat for you Tongue .

Neil
legendary
Activity: 896
Merit: 1000
Ok, I confess... I was one of the selfish guys that put the donation box to 0, as the Stats option doesn't work yet and I do need it working (I don't like te screen -r console).

I selected again 15 minutes.  Roll Eyes

Here is a screen shot just for you;-



It is off my unstable machine (I am not saying it is unstable, I develop on 3 separate machines, one called 'unstable', one called 'testing' and the last called 'production bob').

Actually, I take that back, its unstable as hell right now Tongue, the new CSS freaks most windows browses out and the updating of those stats is a bit temperamental.

But yeah, I am working on it.

Neil
legendary
Activity: 896
Merit: 1000
I selected again 15 minutes.  Roll Eyes

Thanks, it will help out.  It may sound crazy but if enough people did it I could turn MinePeon into a full time job, can you imagine what I could do if I had 8+ hours a day to work on it.  You would not even notice 15 minutes off your mining time either.

=== from minepeon 2013-06-11==============

/opt/minepeon/bin/cgminer -help
cgminer 3.2.1
Built with bflsc bitforce icarus avalon modminer ztex mining support.


==from the one I compiled from source on raspbian (works) ================================

cgminer --help
cgminer 3.1.1
Built with icarus mining support.


Lots have changed with cgminer in the latest versions related to USB, 99.999% for the better.  Without a Cairnsmore board it makes it very hard to debug though, I don't have one and I don't think the cgminer or bfgminer people do either.

BFL and ASICMiner are very good at making sure all of the bitcoin mining developers have a 'developer version' of their hardware, perhaps someone should suggest to Enterpoint that they do the same (it is in their interest to make sure it works after all).

Neil
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
has anyone managed to use raspberry with a USB 3.0 hub ?

See the post from CumpsD after last one you posted @ https://bitcointalksearch.org/topic/m.2521444
full member
Activity: 188
Merit: 100
has anyone managed to use raspberry with a USB 3.0 hub ?
newbie
Activity: 26
Merit: 0

/opt/minepeon/bin/cgminer: -S: unrecognized option

has something changed with the build of cgminer in this version?

=== from minepeon 2013-06-11==============

/opt/minepeon/bin/cgminer -help
cgminer 3.2.1
Built with bflsc bitforce icarus avalon modminer ztex mining support.

==from the one I compiled from source on raspbian (works) ================================

cgminer 3.1.1


Yes the -S option was removed from 3.2.1, The simplest solution would be to just use your 3.1.1 binary.  cgminer 3.2.1 moved to a direct USB access system.
newbie
Activity: 35
Merit: 0
So I had to do

modprobe ftdi_sio product=0x8350 vendor=0x0403 to make the usb serials arrive in /dev/ttyUSBx

then I had to modify /etc/systemd/system/multi-user.target.wants/cgminer.service

Changing

ExecStart=/usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -S auto --api-listen --api-allow W:172.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf

to read

ExecStart=/usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 -S /dev/ttyUSB4 -S /dev/ttyUSB5 -S /dev/ttyUSB6 -S /dev/ttyUSB7 -S /dev/ttyUSB8 -S /dev/ttyUSB9 -S /dev/ttyUSB10 -S /dev/ttyUSB11 -S /dev/ttyUSB12 -S /dev/ttyUSB13 -S /dev/ttyUSB14 -S /dev/ttyUSB15 -S /dev/ttyUSB16 -S /dev/ttyUSB17 -S /dev/ttyUSB18 -S /dev/ttyUSB19 --api-listen --api-allow W:172.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf

I note the scale of the graph reports Th not Gh.

Cheers


Hi, I downloaded MinePeon-2013-06-11.zip to have a try with my CM1 and the stock autoconfig stuff doesn't seem to work - I see:

[    4.067600] systemd-udevd[76]: starting version 204
[    4.368042] systemd-udevd[76]: unknown key 'SYSFS{idProduct}' in /usr/lib/udev/rules.d/99-cairnsmore.rules:1
[    4.368165] systemd-udevd[76]: invalid rule '/usr/lib/udev/rules.d/99-cairnsmore.rules:1'
[    4.405813] systemd-udevd[76]: specified group 'plugdev' unknown

in dmesg.

but - If I try to use the cgminer options that work on the self compiled version I made in Raspbian (similar to above, using -S /dev/ttyUSB0 -S /dev/ttyUSB1 etc) after running "modprobe ftdi_sio product=0x8350 vendor=0x0403"
I get:
   
/opt/minepeon/bin/cgminer: -S: unrecognized option

has something changed with the build of cgminer in this version?

=== from minepeon 2013-06-11==============

/opt/minepeon/bin/cgminer -help
cgminer 3.2.1
Built with bflsc bitforce icarus avalon modminer ztex mining support.


==from the one I compiled from source on raspbian (works) ================================

cgminer --help
cgminer 3.1.1
Built with icarus mining support.



hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Starting tomorrow (the 19th) I will be making updates to the wiki to bring it up to speed as well as add how-to's for various functions and hardware. 

Thanks for agreeing to do this DBG, it is really appreciated.

To tell you the truth there are now so many people using MinePeon supporting it has become a part time job (one that does not pay unfortunately, not many people make use of the donation feature and seem to set it to 0 when they set their timezone).

With your help getting the wiki into shape I hope to be able to spend more time adding the features that people want (better stats for a start) and less time helping people out getting it running.  (Perhaps I will get time to do some new articles on mineforeman.com too)

Anyway, thanks.

Neil


Ok, I confess... I was one of the selfish guys that put the donation box to 0, as the Stats option doesn't work yet and I do need it working (I don't like te screen -r console).

I selected again 15 minutes.  Roll Eyes
legendary
Activity: 896
Merit: 1000
Starting tomorrow (the 19th) I will be making updates to the wiki to bring it up to speed as well as add how-to's for various functions and hardware. 

Thanks for agreeing to do this DBG, it is really appreciated.

To tell you the truth there are now so many people using MinePeon supporting it has become a part time job (one that does not pay unfortunately, not many people make use of the donation feature and seem to set it to 0 when they set their timezone).

With your help getting the wiki into shape I hope to be able to spend more time adding the features that people want (better stats for a start) and less time helping people out getting it running.  (Perhaps I will get time to do some new articles on mineforeman.com too)

Anyway, thanks.

Neil
DBG
member
Activity: 119
Merit: 100
Digital Illustrator + Software/Hardware Developer
I've just setup MinePeon-2013-06-11 and it's up and running, but how do I get the output of cgminer in my SSH client? Still learning Linux. . .

Code:
sudo screen -r

Thanks. The instructions on the MinePeon wiki are missing the sudo

Starting tomorrow (the 19th) I will be making updates to the wiki to bring it up to speed as well as add how-to's for various functions and hardware.  Thankfully MinePeon has been developed in such a way that you can more or less plug it in and it just works!  However some people (including myself) like to make full use of the Pi (I'm running my Pi stock at the moment, aka at 700mhz, and cgminer only uses 2 - 3% CPU, even while connected via SSH and HTTPS I haven't seen the total go over 5% aka there is a lot of room to play with).  I will be including some Linux basics as well (although this doesn't take priority).
newbie
Activity: 37
Merit: 0
Is there a command that can be run from ssh that will show the current cgminer hash rate?  and the current pool being used?

it is discussed on the previous page.
sudo screen -x

when you-re done detach the screen by pressing ctrl-a + d
closing the terminal window should work as well

Code:
[minepeon@minepeon ~]$ sudo screen -x
[sudo] password for minepeon:
[detached]
[minepeon@minepeon ~]$

Thank you... sorry for my oversight.  I must have missed it.
legendary
Activity: 896
Merit: 1000
Going through the commands here:http://minepeon.com/index.php/Main_Page#Images I notice that ipconfig is not found. If that is listed on the main minepeon site, why wouldn't it be installed?

ifconfig has not been a standard part of Linux networking for some time now, interfaces and networking is now configured with a command called ip.  Having said that though there is no reason not to have it, I will make sure it is there everytime I do a full rebuild (I did one not long ago when Arch reorganised and tidied up the sbin file system).

sudo nmap -sV --open 10.1.1.0/24 -p22 | grep -B 4 Raspbrry

nmap has never been included, what you see there is someone running it from another machine to find the device.  Still, it would be convenient to include it so I will.

If anyone has a link, is there a recommendation for some pools that function well (or do they all) with CGMiner? (Not wanting to join the biggest for obvious reasons.)

I mostly use slush for my personal mining for totally sentimental reasons;-

1. He invented pooled mining.

2. He invented Stratum.

The guy has done a lot for bitcoin mining (and still does), I don't mind giving him his 2%.

Thanks and my first donation made to the MinePeon.com today (and I don't even have a miner yet! But on the way...)

Thanks Cheesy .  One day I would like all of my income to come from bitcoin so I can put 100% of my effort into making cool stuff for you guys.

Neil
legendary
Activity: 1442
Merit: 1000
Antifragile
Great info here. Another relative noob (old linux user but stopped years ago). I have MinePeon (6-11-2013) running fine on my Pi and I see CGminer is already running as well (I guess that is default?). I have another couple of months wait time till my Jalapeno arrives so I'm in learning mode now but will probably pick up an Eruptor to play with.

Question - Going through the commands here:http://minepeon.com/index.php/Main_Page#Images I notice that ipconfig is not found. If that is listed on the main minepeon site, why wouldn't it be installed? Also, nmap is not there, running this command : sudo nmap -sV --open 10.1.1.0/24 -p22 | grep -B 4 Raspbrry
This is odd as everything is stock, no?

If anyone has a link, is there a recommendation for some pools that function well (or do they all) with CGMiner? (Not wanting to join the biggest for obvious reasons.)

Thanks and my first donation made to the MinePeon.com today (and I don't even have a miner yet! But on the way...)

IAS
Jump to: