Bitcoin Forum
May 08, 2024, 07:01:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cgminer working on Rasberry Pi  (Read 1853 times)
Jexy (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 17, 2017, 08: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.
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
February 17, 2017, 11: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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!