Bitcoin Forum
May 04, 2024, 10:14:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HELP - configuration HEX16a2 (hex16c) - raspberry  (Read 3580 times)
jinlemon (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 06, 2014, 11:39:19 AM
Last edit: March 06, 2014, 02:28:31 PM by jinlemon
 #1

I installed on Raspeberry (rasbian) cgminer-4.0.0. with patch 0_2_2.

These are my steps:

1)sudo apt-get update && sudo apt-get upgrade

2)sudo rpi-update

3)apt-get install autoconf libtool libncurses-dev curl libcurl4-openssl-dev gcc make libudev-dev

4)wget http://ck.kolivas.org/apps/cgminer/4.0/cgminer-4.0.0.tar.bz2

5)tar xvf cgminer-4.0.0.tar.bz2

6)cd cgminer-4.0.0


(THE PATCH 0.2.2 with a pendrive download to R.pi directory Pi
open the folder and copy it into the folder contents cgminer-4.0.0)

7)patch -p1 < 2786526d9f1acb7bd903ece3c822c2c9203aa0b7.patch

8)autoreconf -vi

9)./configure --enable-hexminerc

10)make

11)nano cgminer.conf

{
"pools" : [
{
"url" : "http://stratum.bitcoin.cz:3333",
"user" : "my user",
"pass" : "my password"
}
]
,
"api-listen" : true,
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"log" : "5",
"no-pool-disable" : true,
"queue" : "2",
"scan-time" : "60",
"worktime" : true,
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"api-allow" : "0/0, W:127.0.0.1, 192.168.0.142",
"icarus-options" : "115200:1:1",
"icarus-timing" : "3.0=100",
"hexminerc-voltage"  : "1100",
"hexminerc-options" : "16:1500"
}

12)Now I can not just give the command to start.

I missed something?
I am looking for a helping hand,
Thank you.
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714817667
Hero Member
*
Offline Offline

Posts: 1714817667

View Profile Personal Message (Offline)

Ignore
1714817667
Reply with quote  #2

1714817667
Report to moderator
1714817667
Hero Member
*
Offline Offline

Posts: 1714817667

View Profile Personal Message (Offline)

Ignore
1714817667
Reply with quote  #2

1714817667
Report to moderator
Zich
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


View Profile WWW
March 11, 2014, 07:37:46 AM
 #2

You miss git checkout command.

Code:
1. sudo aptitude update
2. sudo aptitude upgrade
3. sudo aptitude install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
4. sudo aptitude install autotools-dev autoconf automake
5. sudo aptitude install libtool libncurses-dev yasm
6. sudo aptitude install curl libcurl4-openssl-dev libjansson-dev screen
7. sudo aptitude install pkg-config uthash-dev make git-core

Then download cgminer 4.0.0
Code:
1. git clone https://github.com/ckolivas/cgminer.git
2. mv cgminer cgminer-4.0.0
3. cd cgminer-4.0.0
4. git checkout 2786526d9f1acb7bd903ece3c822c2c9203aa0b7
5. wget https://www.dropbox.com/s/tyerzzpc1xjqegj/2786526d9f1acb7bd903ece3c822c2c9203aa0b7.patch
6. patch -p1 < 2786526d9f1acb7bd903ece3c822c2c9203aa0b7.patch
7. ./autogen.sh --enable-hexminera --enable-hexminerc --enable-hexminerb --enable-hexmineru --enable-hexminer8
8. make

Step 5 is patch uploaded to dropbox by myself, so you can use your own that downloaded from technobit download page if you want  Wink

Make sure there is no error message on each step.

No need to install, you can run cgminer from folder.
Code:
1. screen
2. sudo ./cgminer --hexminerc-voltage 1100 --hexminerc-options 16:1500 --hexminer8-set-diff-to-one 0 --hexminer8-chip-mask 255 --hexminer8-voltage 1005 --hexminer8-options 8:260 --set_default_to_8

Or add the setting to cgminer.conf so you don't have to type setting command each time  Cheesy
Code:
sudo nano /root/.cgminer/cgminer.conf

Code:
{
"pools" : [
        {
                "url" : "stratum+tcp://stratum-lb-usa48.btcguild.com:3333",
                "user" : "user",
                "pass" : "123"
        }
]
,
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"shares" : "0",
"hexminera-voltage" : "1460",
"hexminera-options" : "16:480",
"hexminerc-voltage" : "1100",
"hexminerc-options" : "16:1500",
"hexminerb-voltage" : "900",
"hexminerb-options" : "16:540",
"hexminer8-set-diff-to-one" : "0",
"hexminer8-chip-mask" : "255",
"hexminer8-voltage" : "1005",
"hexminer8-options" : "8:260",
"hexmineru-frequency" : "54",
"kernel-path" : "/usr/local/bin"
}
dnaleor
Legendary
*
Offline Offline

Activity: 1470
Merit: 1000


Want privacy? Use Monero!


View Profile
March 15, 2014, 04:40:08 PM
 #3

can you tell me what the "checkout" does and if it is necessary?
I have also problems running my HEX16A (so hexminera) on cgminer 4.0.0.  It worked with the previous patch and cgminer version...

I will try to use your method tomorrow. But I am running a light version of raspberry because my SD cart with 8GB is  dead. I am now using a SD card of 1 GB... (and git clone is too large for that)
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!