Bitcoin Forum

Bitcoin => Hardware => Topic started by: Kaffe on May 26, 2014, 10:41:09 PM



Title: hex16a2 with cg miner
Post by: Kaffe on May 26, 2014, 10:41:09 PM
So i got my two hex16a2 miners from technobit working with their windows program , but now im movieing over to linux  ??? ...

as it seems u must now use cg miner and for that update the miner with this http://technobit.eu/index.php?id_product=53&controller=product&id_lang=1#

But i have no idea how to a) update the miners  b) get the badboys working with cg miner on my raspberry pi


i Guess i can get the b) going if i can update the miners, anyone have any experiance with how to do this?


Title: Re: hex16a2 with cg miner
Post by: Zich on May 27, 2014, 12:29:54 AM
You may want to consider to buy TPLINK TL-MR3020 if you hadn't but Rpi.

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

Download cgminer 4.2.3
Code:
1. git clone https://github.com/ckolivas/cgminer.git
2. mv cgminer cgminer-4.2.3
3. cd cgminer-4.2.3
4. git checkout e574114682fe1edc344b7e291eb9d9497d26ef92
5. wget https://www.dropbox.com/s/ugg6nczel6hqmr6/e574114682fe1edc344b7e291eb9d9497d26ef92.patch
6. patch -p1 < e574114682fe1edc344b7e291eb9d9497d26ef92.patch
7. ./autogen.sh --enable-hexminera --enable-hexminerc --enable-hexminer3 --enable-hexminerb --enable-hexmineru --enable-hexminer8
8. make

Run cgminer on their folder:
Code:
sudo ./cgminer --hexminerc-voltage 1100 --hexminerc-options 16:1500 --set_default_to_c

Or add hexc setting to cgminer.conf(located on /root/.cgminer)
Code:
{
"pools" : [
        {
                "url" : "stratum+tcp://stratum-lb-usa48.btcguild.com:3333",
                "user" : "user",
                "pass" : "123"
        }
]
,
"api-listen" : true,
"api-allow" : "R:127.0.0.1",
"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",
"hexminer3-voltage" : "750",
"hexminer3-options" : "16:7000",
"hexminer3-chip-mask" : "255",
"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",
"set_default_to_c" : true,
"kernel-path" : "/usr/local/bin"
}


Title: Re: hex16a2 with cg miner
Post by: Kaffe on August 05, 2014, 09:51:16 PM
Anyone know how to keep this active if i use putty, start the miner and then close putty?

right now when i close putty the miner stops :(


Title: Re: hex16a2 with cg miner
Post by: Doff on August 05, 2014, 10:37:18 PM
You need to use screen, I am not sure what version of linux you are using so not but it should be in your package manager depending on what flavor of linux that device has.

command would like something like this  screen Sudo ./cgminer --hexminerc-voltage 1100 --hexminerc-options 16:1500 --set_default_to_c

There are a lot of options Screen has I would suggest reading the Man page for that.



Title: Re: hex16a2 with cg miner
Post by: DaveF on August 05, 2014, 10:38:13 PM
Anyone know how to keep this active if i use putty, start the miner and then close putty?

right now when i close putty the miner stops :(

ctrl  a  d  before you close putty should kill the screen but keep the session active.
-Dave


Title: Re: hex16a2 with cg miner
Post by: Doff on August 05, 2014, 10:39:16 PM
Anyone know how to keep this active if i use putty, start the miner and then close putty?

right now when i close putty the miner stops :(

ctrl  a  d  before you close putty should kill the screen but keep the session active.
-Dave

Right and also this :)