Bitcoin Forum
November 19, 2017, 05:20:10 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
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 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 681065 times)
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
June 18, 2013, 06:32:13 AM
 #361

Someone knows if the mining_proxy could be installed into MinePeon?   For use with ASICMiner Blade and RPi for Stratum.

I tried with instructions from https://github.com/slush0/stratum-mining-proxy/ , but doesn't works.

Thanks  Smiley

It could be done, I am not sure why when you followed those instructions it did not work (Slush is an absolute python guru and I have used those instructions several times).  Can you give me the output of where you had a problem?

Its not something I would be terribly keen to add to the standard distro though, sooner or later we are going to run into resourcing problems with the Raspberry Pi and the mid-state calculations that stratum-mining-proxy uses are quite CPU intensive and will eventually be a problem.

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

Posts: 1511068810

View Profile Personal Message (Offline)

Ignore
1511068810
Reply with quote  #2

1511068810
Report to moderator
1511068810
Hero Member
*
Offline Offline

Posts: 1511068810

View Profile Personal Message (Offline)

Ignore
1511068810
Reply with quote  #2

1511068810
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511068810
Hero Member
*
Offline Offline

Posts: 1511068810

View Profile Personal Message (Offline)

Ignore
1511068810
Reply with quote  #2

1511068810
Report to moderator
1511068810
Hero Member
*
Offline Offline

Posts: 1511068810

View Profile Personal Message (Offline)

Ignore
1511068810
Reply with quote  #2

1511068810
Report to moderator
1511068810
Hero Member
*
Offline Offline

Posts: 1511068810

View Profile Personal Message (Offline)

Ignore
1511068810
Reply with quote  #2

1511068810
Report to moderator
ct1aic
Hero Member
*****
Offline Offline

Activity: 714


Are ฿itcoins Radioactive?


View Profile WWW
June 18, 2013, 11:31:01 AM
 #362

The MinePeon's 2013.06.11 version is working fine with my 2 USB Block Eruptors, but I still have to SSH to the RPI / sudo console -r
to see the hash rate, as I still can't get the web Status screen annd tryipg the miner.php page, I always get a server error:

Code:
The website encountered an error while retrieving https://192.168.1.115/miner.php. It may be down for maintenance or configured incorrectly.
Error code: 500

To have the RPI's IP "static", I reserved it's macaddress at the DD-WRT router's DHCP.

A little video of my USB Gizmos (I recommend selecting HD): https://www.facebook.com/photo.php?v=10201539124267144

A little video of MinePeon's cgminer working: https://www.facebook.com/photo.php?v=10201539131827333

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
Its About Sharing
Legendary
*
Offline Offline

Activity: 1288


Antifragile


View Profile
June 18, 2013, 08:08:57 PM
 #363

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

BTC = Black Swan.
BTC = Antifragile - "Some things benefit from shocks; they thrive and grow when exposed to volatility, randomness, disorder, and stressors and love adventure, risk, and uncertainty. Robust is not the opposite of fragile.
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
June 18, 2013, 08:56:46 PM
 #364

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

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/
tingwahk
Jr. Member
*
Offline Offline

Activity: 37


View Profile
June 18, 2013, 11:35:05 PM
 #365

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.
DBG
Full Member
***
Offline Offline

Activity: 121


Digital Illustrator + Software/Hardware Developer


View Profile
June 19, 2013, 05:47:46 AM
 #366

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

/* Coins are never required but are always appreciated in any amount if you are feeling generous! */
Bitcoin - 1KFinZmxUE8PsTuMfvLDW1SSz3P2pA9uxK
Ethereum - 0x338057Fb38bbd22338D2299a68ebA2dDF7929FeA
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
June 19, 2013, 06:14:33 AM
 #367

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

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

Activity: 714


Are ฿itcoins Radioactive?


View Profile WWW
June 19, 2013, 07:04:25 AM
 #368

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

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
frograven
Jr. Member
*
Offline Offline

Activity: 34


View Profile
June 19, 2013, 10:45:43 AM
 #369

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.



cooler-persistence
Newbie
*
Offline Offline

Activity: 26


View Profile
June 19, 2013, 12:41:04 PM
 #370


/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.
stepkrav
Full Member
***
Offline Offline

Activity: 182



View Profile
June 19, 2013, 04:36:49 PM
 #371

has anyone managed to use raspberry with a USB 3.0 hub ?
ct1aic
Hero Member
*****
Offline Offline

Activity: 714


Are ฿itcoins Radioactive?


View Profile WWW
June 19, 2013, 05:35:44 PM
 #372

has anyone managed to use raspberry with a USB 3.0 hub ?

See the post from CumpsD after last one you posted @ https://bitcointalk.org/index.php?topic=195037.msg2521444#msg2521444

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

Activity: 896



View Profile WWW
June 19, 2013, 10:54:24 PM
 #373

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

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

Activity: 896



View Profile WWW
June 21, 2013, 03:51:51 AM
 #374

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

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

Activity: 896



View Profile WWW
June 21, 2013, 05:36:13 AM
 #375

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

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

Activity: 714


Are ฿itcoins Radioactive?


View Profile WWW
June 21, 2013, 07:42:25 AM
 #376

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

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504


PGP OTC WOT: EB7FCE3D


View Profile
June 21, 2013, 01:15:19 PM
 #377

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 : )

You can't build a reputation on what you are going to do.
REF
Hero Member
*****
Offline Offline

Activity: 527


View Profile
June 22, 2013, 04:22:07 PM
 #378

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

Activity: 896



View Profile WWW
June 22, 2013, 09:10:01 PM
 #379

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

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

Activity: 896



View Profile WWW
June 23, 2013, 03:11:43 AM
 #380

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

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/
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 ... 139 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!