keronbluesky.blogg.se

Install cgminer on raspberry pi
Install cgminer on raspberry pi








install cgminer on raspberry pi
  1. #Install cgminer on raspberry pi how to
  2. #Install cgminer on raspberry pi update
  3. #Install cgminer on raspberry pi password

You may now logout and cgminer will keep running in the background and you can attach back to it any time. You can leave that screen by pressing ctrl+a d Personally I opted for MinePeon as it is so much more lightweight than Raspbian and Kano and MineForeman (See two posts down from that forum thread. Which will attach you the cgminer screen. ll-cgminer you will need to get 3.1.1 on Raspbian if your using ckolivas cgminer. Once connected via ssh again type screen -r miner If you need I can let you know how it is done. But if you have loads of them may be worth it. Naturally hash rate Is low even with over clocking it. It does take a bit of configuring but works fine. An example of a batch file for Doge setx GPUFORCE64BITPTR 0 setx GPUMAXHEAPSIZE 100 setx GPUUSESYNCOBJECTS 1 setx GPUMAXALLOCPERCENT 100 setx GPUSINGLEALLOCPERCENT 100 cgminer -scrypt -I 10 -o stratum +tcp ://:3151 -u.

#Install cgminer on raspberry pi how to

OK, now it is time to reboot and check if everything is working. You can successfully mine things like monero on a raspberry pi 4. In this video i go over how to install the GekkoScience Compac F on a Raspberry Pi 4.

#Install cgminer on raspberry pi password

Wher username and password are your worker credentials from the pool.Ĭgminer is started via screen, this gives us later the possibility to switch to cgiminer when we connect via ssh. Now we only need to start mining after the user logged in therefore we open /etc/rc.local and add su -l USERNAME -c 'screen -d -m -S miner cgminer -o :3333 -u USERNAME -p PASSWORD' This is just in case it gets disconnected for whatever reason so you don’t have to think about starting it up every time.ġ:2345:respawn:/sbin/getty -noclear 38400 tty1ġ:2345:respawn:/bin/login -f USERNAME tty1 /dev/tty1 2>&1 I will also configure the raspberry to automatically login after startup and start mining. Now add yourself to the plugdev group and you have access to the miner as “normal” user. You can check with lsusb -vįor Some Uart Bridge which most likely is the Erupter. SUBSYSTEMS="usb", ATTRS="ea60", GROUP="plugdev"īe sure to check if your idProduct is the same as mine. This is also necessary for the automatic startup I will go through later.įire up your editor as root and create an udev rule at /etc/udev/rules.d/les with this content: Now we setup udev so it allows us to access the miners as normal user, so we don’t have to start it as root. Now get yourself a place in a mining pool, you can check this one out don’t forget to add your Bitcoin address in the appropriate field or you will not get any payout.

#Install cgminer on raspberry pi update

Get cgMiner via git, just so we can update to new versions easily.ĬFLAGS="-O2 -Wall". Sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev git autoconf automake libtool screen You will need the powered USB hub even if you mining with only one Erupter since the Raspberry only outputs 100mA on it’s USB Port and the Erupter needs 500mA.įirst connect to the Raspberry via ssh and install all needed packages. In this post I will go through the process of setting up a Bitcoin miner with the raspberry pi, cgminer and an Block Erupter Asicminer.










Install cgminer on raspberry pi