Author

Topic: HELP - configuration HEX16a2 (hex16c) - raspberry (Read 3604 times)

legendary
Activity: 1470
Merit: 1000
Want privacy? Use Monero!
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)
legendary
Activity: 1190
Merit: 1000
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"
}
newbie
Activity: 3
Merit: 0
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.
Jump to: