Author

Topic: Help with Autostart Mining RasPi (Read 775 times)

hero member
Activity: 734
Merit: 500
August 06, 2013, 04:58:12 PM
#6
I'd really would like to and tried to use minepeon, but it couldn't connect to the internet, don't know why. I tried many many times and hours and asked in the thread, but it didn't work. As time ran away I tried something else and it worked, don't know why again...
But I got another SD Card now and am trying again...

Thanks c789, trying this too.

I'm not at home (for Work at another Town) and the Router/Network is a bit weird here.
member
Activity: 108
Merit: 100
August 06, 2013, 12:08:01 PM
#5
you can also put all that into a .sh file and add @reboot script.sh to your crontab
hero member
Activity: 850
Merit: 1000
August 05, 2013, 01:08:19 PM
#4
Using the raspberian OS, I set mine to automatically login by editing /etc/inittab

Comment this line:
Code:
1:2345:respawn:/sbin/getty 115200 tty1
Add this line below it (here, pi is the user)
Code:
1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1

Now that you're automatically logged in, I'm guessing that your rc.local file should now start the mining process.

If you have security concerns, do NOT do what I just posted Smiley
newbie
Activity: 44
Merit: 0
August 05, 2013, 04:09:26 AM
#3
As above, I would recommend MinePeon. It's pretty simple to set up and get running. They're saying that theres going to be a new update very soon with an overhaul of the web interface.

There's a thread in this sub forum if you want to have a look.
sr. member
Activity: 299
Merit: 250
August 05, 2013, 04:05:14 AM
#2
I highly recommend using MinePeon, a RasPi distro specifically for BitCoin mining. You just install it to your SD card, plug it in, boot up, input pool settings, and you're good!
hero member
Activity: 734
Merit: 500
August 03, 2013, 06:41:56 PM
#1
Hello,

I finally got it with this Manual (http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/initial-setup-and-assembly) to mine with my PasPi.

But the Autostart Setup shown there doesn't work for me. They told me to put

cd /home/pi/PiMiner
python PiMiner.py &
cd ..
nohup ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -S /dev/ttyUSB0 -S /dev/ttyUSB1 >/dev/null 2>&1&

to rc.local

But when I reboot or unplug I have to start manually via SSH.

Any Ideas to fix this?
I'm running Occidentalis v0.2
I tried to run Minepeon, but it sadly didn't work for me. There was a problem with the Network I wasn't able to fix.
Jump to: