MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 18, 2013, 06:32:13 AM |
|
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
|
|
|
|
ct1aic
|
|
June 18, 2013, 11:31:01 AM |
|
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: 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=10201539124267144A little video of MinePeon's cgminer working: https://www.facebook.com/photo.php?v=10201539131827333
|
Rui Costa, Portugal - BTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
|
|
|
Its About Sharing
Legendary
Offline
Activity: 1442
Merit: 1000
Antifragile
|
|
June 18, 2013, 08:08:57 PM |
|
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 (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 18, 2013, 08:56:46 PM |
|
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 . 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
|
|
|
|
tingwahk
Newbie
Offline
Activity: 37
Merit: 0
|
|
June 18, 2013, 11:35:05 PM |
|
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 -xwhen you-re done detach the screen by pressing ctrl-a + d closing the terminal window should work as well [minepeon@minepeon ~]$ sudo screen -x [sudo] password for minepeon: [detached] [minepeon@minepeon ~]$
Thank you... sorry for my oversight. I must have missed it.
|
|
|
|
DBG
Member
Offline
Activity: 119
Merit: 100
Digital Illustrator + Software/Hardware Developer
|
|
June 19, 2013, 05:47:46 AM |
|
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. . .
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).
|
Bitcoin - 3DTcMYT8SmRw4o4Lbq9cvm71YaUtVuNn29 Litecoin - MAoFYsBf7BzeK86gg6WRqzFncfwWnoYZet /* Coins are never required but always appreciated if feeling generous! */
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 19, 2013, 06:14:33 AM |
|
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
|
|
|
|
ct1aic
|
|
June 19, 2013, 07:04:25 AM |
|
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.
|
Rui Costa, Portugal - BTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
|
|
|
frograven
Newbie
Offline
Activity: 35
Merit: 0
|
|
June 19, 2013, 10:45:43 AM |
|
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
Activity: 26
Merit: 0
|
|
June 19, 2013, 12:41:04 PM |
|
/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
|
|
June 19, 2013, 04:36:49 PM |
|
has anyone managed to use raspberry with a USB 3.0 hub ?
|
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 19, 2013, 10:54:24 PM |
|
I selected again 15 minutes. 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
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 21, 2013, 03:51:51 AM |
|
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. 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 , 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
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 21, 2013, 05:36:13 AM |
|
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 . 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 . Neil
|
|
|
|
ct1aic
|
|
June 21, 2013, 07:42:25 AM Last edit: June 21, 2013, 08:25:12 AM by ct1aic |
|
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. 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 , 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... ... 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 . ... I'm a vampire...
|
Rui Costa, Portugal - BTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
|
|
|
Binford 6100
|
|
June 21, 2013, 01:15:19 PM |
|
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
|
|
June 22, 2013, 04:22:07 PM |
|
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 (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 22, 2013, 09:10:01 PM |
|
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
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
June 23, 2013, 03:11:43 AM |
|
UPDATE: MinePeon-0.2.0.img.zipUpdated;- 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
|
|
|
|
|