Bitcoin Forum
July 21, 2018, 04:03:37 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Cgminer working on Rasberry Pi  (Read 1671 times)
Jexy
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.
1532189017
Hero Member
*
Offline Offline

Posts: 1532189017

View Profile Personal Message (Offline)

Ignore
1532189017
Reply with quote  #2

1532189017
Report to moderator
1532189017
Hero Member
*
Offline Offline

Posts: 1532189017

View Profile Personal Message (Offline)

Ignore
1532189017
Reply with quote  #2

1532189017
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2590
Merit: 1113


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.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!