Will send any standard output errors (so any errors) to standard output, which is going to /dev/null & Will send any standard output from the command to the blackhole known as /dev/null 2>&1 Will block any command from receiving the hangup signal which is sent out to all processes in a shell upon termination (say, when you log out) >/dev/null Let’s break this down so we know exactly what is going on nohup cgminer -config /path/to/nf >/dev/null 2>&1& a service) so even if you close your session your miners will continue to hum away at those hashes? The beauty about Linux is any process can be sent into the background using a combination of nohup and >/dev/null 2>&1& as below sudo nohup. So now that we have cgminer working just the way we want to, why not go one step further and run cgminer as a background process (i.e. I know it's frustrating now, but you're learning in one night what it took me months of dicking with Linux to figure out.In a previous post, we covered how to setup your Raspberry Pi with cgminer along with some USB ASIC mining hardware. configure through -prefix=/home/pi/cgminer looks OK, but don't forget to add the -enable-zeus flag to make sure your ASICs are recognized!Īfter that, run make & make install to build it and put it in place. This is part of GNU Autotools, and you really don't want to see how far that particular rabbit hole goes tonight.Įverything from. autogen.sh makes the autogen.sh file executable and runs it - it's a shell script that builds the configure script for you. cd = Change Directory, just like DOS or Windows.Ĭhmod +x autogen.sh &. So first you update your package listings, then you get any upgrades, then you install tmux.Īlso, you typed that configure command wrong, I suspect due to reddit formatting.Ĭd cgminer is a command by itself, that drops you into the directory you just cloned the git repository into. & means "do the thing on the right if the thing on the left succeeds." There's a TON of stuff in there, all for free, and 95% of it is open source. Sudo is basically "run as admin" for Linux and Unix, done sanely.Īpt-get is the "package manager," how you install, remove, update, upgrade, etc. Update your stuff and install tmux: sudo apt-get update & sudo apt-get upgrade & sudo apt-get install tmuxĬrash course in shell scripting to understand wtf that means: If you don't use the search flags, this will be a loooooooooooooooong command, so I recommend making a shell script for it. This will take a long time too, and is not optional.įollow the instructions for running cgminer from the command line. This will take a couple hours, but it is optional if your payout address is on another machine.īuild this specific version of cgminer from source on your Pi. You don't need the pretty Qt interface, but you do need a proper wallet for mining. Install a package called "tmux" to let you run super long programs (like compiling and mining) without keeping an SSH client open the whole time.īuild Dogecoin 1.8 from source on your Raspberry Pi. Once you figure out your Pi's IP address you can log in with an SSH client (the "ssh" program in your terminal if you're on Linux or a Mac, PuTTY if you're on Windows). The default username is "pi" and the default password is "raspberry." This is very simple to do, and you can even buy pre-installed SD cards at Microcenter. Hi! I've got a GAW Fury running with my RPi, which has the same Zeus ASICs as your Gridseed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |