Bitcoin Forum
May 07, 2024, 07:22:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Can and how do I get cgminer 3.4.3 on raspberry pi?  (Read 6388 times)
J35st3r
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
September 26, 2013, 07:55:13 AM
 #21

However the last part ">/dev/null 2>&1&" I'm not sure what it does

The final '&' is required. It runs the command in background (disconnected from the terminal).

">/dev/null 2>&1" redirects any output to the null device (just discards it), else "nohup" would write it to nohup.out

There are always two output streams under unix, standard output and error, ">/dev/null" redirects the standard output while "2>&1" tells it to put the error stream (2) in the same place as the standard output stream (1).

Finally the "nohup" just traps the "hangup" signal, so the program running in background does not quit when you log off (hangup being terminology from the old days of dialup terminal sessions).

Unix is fun  Grin

1Jest66T6Jw1gSVpvYpYLXR6qgnch6QYU1 NumberOfTheBeast ... go on, give it a try Grin
1715066525
Hero Member
*
Offline Offline

Posts: 1715066525

View Profile Personal Message (Offline)

Ignore
1715066525
Reply with quote  #2

1715066525
Report to moderator
1715066525
Hero Member
*
Offline Offline

Posts: 1715066525

View Profile Personal Message (Offline)

Ignore
1715066525
Reply with quote  #2

1715066525
Report to moderator
1715066525
Hero Member
*
Offline Offline

Posts: 1715066525

View Profile Personal Message (Offline)

Ignore
1715066525
Reply with quote  #2

1715066525
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715066525
Hero Member
*
Offline Offline

Posts: 1715066525

View Profile Personal Message (Offline)

Ignore
1715066525
Reply with quote  #2

1715066525
Report to moderator
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
November 07, 2013, 04:56:40 PM
 #22

below is the instructions for 3.1.1 but since 3.4.3 is missing what I think I need, its probably no help at all either.

http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/install-cgminer

That's a good start...here's what I ended up doing to build cgminer 3.7.2 from GitHub source. (I had trouble retrieving source archives from ck.kolivas.org a while back, so I started pulling from GitHub instead.) A Raspberry Pi came with my Bitfury mining equipment yesterday. I'd like to have it manage my BFL Jalapeños as well so I can get rid of the power-hungry Pentium 4 that's currently running them.

Code:
# install dependencies

apt-get install autoconf automake libtool libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev

# option 1: clone the repo

git clone https://github.com/ckolivas/cgminer
git checkout 829f068 # 3.7.2 release
cd cgminer

# option 2: grab a snapshot

wget https://github.com/ckolivas/cgminer/archive/v3.7.2.tar.gz -O cgminer-3.7.2.tar.gz
tar tzf cgminer-3.7.2.tar.gz
cd cgminer-3.7.2

# build and install

./autogen.sh
./configure --enable-bflsc
make
make install

Replace --enable-bflsc with whatever's appropriate for the mining equipment you have.  As near as I can tell, the Bitfury support included in recent versions doesn't yet extend to the rigs sold by megabigpower and bitfurystrikesback.


Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
Pages: « 1 [2]  All
  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!