Pages:
Author

Topic: .... - page 5. (Read 77282 times)

legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
July 27, 2013, 12:07:24 PM
#8
I have something to add to this.

Minepeon, the dirty donation OS!

I got some USBs yesterday, set up my hubs, got everything ready, plugged them all in, I see the pi happily booting, and then suddenly I see they are getting accepted shares.  I get my IP, SSH in, and sure enough he's got it to start mining towards his "donation" accounts by default. 

Fair enough, right?  Why waste any clock cycles?  Give the guy a few cents. 

So I change the pools in cgminer to point at my own pools.  Save, exit screen, and watch the hashrate increase at my own pool.   

I then go to bed.  I wake up in the morning and it's back to donating again.  How could this be?  I scan the system for the word "donate" and I find a file in cron.d/hourly which contains this:

Code:
#!/usr/bin/php

include('miner.inc.php');
include(
'timezone.inc.php');

$donation file_get_contents("/opt/minepeon/etc/donation");
$hour date('H');

$configfile "/opt/minepeon/etc/miner.conf";
$dontatefile "/opt/minepeon/etc/miner.conf.donate";
$tempfile "/opt/minepeon/etc/miner.conf.tmp";

echo 
$donation $hour;

if (
$donation and $hour == 00) {

        
copy($configfile$tempfile);
        
copy($dontatefile$configfile);
        
cgminer("restart""");
        
sleep(5);
        
copy($tempfile$configfile);
        
sleep($donation 60);

        
cgminer("quit""");

}



// stratum.ozco.in:3333 minepeon.donate donate
// stratum.btcguild.com:3333 MinePeon_Donate MinePeon_Donate
// pool.50btc.com:8332  Donate

So by default, the system will REMOVE your pool configuration and mine for the minepeon donation pools, and keep checking every hour to reset it back. 

Minepeon took $5 from me, lesson learned.  But I need to post this here to let you guys know. 

I'm fairly certain the command

Code:
rm /opt/minepeon/etc/cron.d/hourly/donate

Will solve this problem. 

If you look on his Wiki Page for MinePeon he makes no mention of this behavior or how to disable it.
legendary
Activity: 1064
Merit: 1000
July 21, 2013, 10:16:19 PM
#7
SSH is working out of the box.

minepeon/peon
full member
Activity: 154
Merit: 1000
Fica Tranquilo
July 15, 2013, 02:49:03 PM
#7
I did not use SSH with the Raspberry.
sr. member
Activity: 279
Merit: 250
July 21, 2013, 10:12:59 PM
#6
I followed your guide and was up and running very quickly. Thanks
If the Pi boots, and you see the green led and yellow network led, you can skip the ifconfig and not bother to connect a monitor. Just log into you router and check you lan connections.
You will see minepeon the mac and the IP.

192.168.1.108   xx:xx:xx:xx:B0:9B   1 day 00:00:00
minepeon   192.168.1.123   xx:xx:xx:xx:2E:2B   1 day 00:00:00
android_e4cfb9c5a6a1e6f2   192.168.1.134   xx:xx:xx:xx:20:4C   1 day 00:00:00
HDHR-10363697   192.168.1.136   xx:xx:xx:xx:63:69   1 day 00:00:00
AMDFX8-PC   192.168.1.127   xx:xx:xx:xx:05:54   1 day 00:00:00

Might be a good idea to reserve that (or one you prefer) IP so it wont change.




full member
Activity: 180
Merit: 100
July 15, 2013, 02:22:17 PM
#5
Did you try to SSH into the Rpi running Minepeon?
If so did you have to configure SSH?
Thanks
member
Activity: 116
Merit: 10
July 13, 2013, 09:53:09 AM
#4
It works! Thank you very much!
full member
Activity: 154
Merit: 1000
Fica Tranquilo
July 13, 2013, 09:08:45 AM
#4
Added a few screenshots with details, see first post.

member
Activity: 116
Merit: 10
July 12, 2013, 07:04:11 PM
#3
Thank you for the tutorial, very useful. I am not an expert and I have a very basic question.

I am having a problem with point 9.
Where am I supposed to "Enter the IP in your web browser (on your PC) and fill in your pool account"? I registered on BTC guild and I can't really understand how is my cgminer going to mine for me?

if I stick the USB erupter it works...donates to minepeon.donate

thank you
newbie
Activity: 26
Merit: 0
July 07, 2013, 06:16:42 AM
#2
dats real sweet, very nice dude.
full member
Activity: 154
Merit: 1000
Fica Tranquilo
July 07, 2013, 05:57:24 AM
#1
….

Pages:
Jump to: