Author

Topic: Cgminer working on Rasberry Pi (Read 1852 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 17, 2017, 07:20:36 AM
#2
sudo is not required for git clone, autogen and make. However since you ran git clone sudo you made it owned by root so everything after that would then need it.
newbie
Activity: 5
Merit: 0
February 17, 2017, 04:49:35 AM
#1
After many mistakes I finally managed to get this working with my Antminer U2. If anyone else is trying this then this is what i did to get it to work(If you have a different device it might be different but Antminers should be very close if not the same):

[SSH to rasberry pi]
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev libtool automake pkg-config libjansson-dev tmux
cd
sudo git clone https://github.com/ckolivas/cgminer.git
cd cgminer
sudo ./autogen.sh
./configure --enable-icarus
sudo make
sudo make install
tmux
cd
cd cgminer
cgminer
[Enter pool url]
[Enter pool username.workername]
[Enter password]
If you encounter any errors tell me and i can try and help.
Jump to: