Is there an updated patch for cgminer 4.0.2?
I tried the wget from 3.12, but no luck...
In fact, call me stupid if you like, but I can't ever seem to get it to compile on ubuntu 13.10 x64
Could anyone post a current .sh that I could use? I'm not too good with linux...
Patch for cgminer-4.2.0 not available yet. Yhe latest is for cgminer-4.0.0.
1. sudo apt-get update
2. sudo apt-get upgrade
3. sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
4. sudo apt-get install autotools-dev autoconf automake
5. sudo apt-get install libtool libncurses-dev yasm
6. sudo apt-get install curl libcurl4-openssl-dev libjansson-dev screen
7. sudo apt-get install pkg-config uthash-dev make git-core
Download cgminer 4.0.0
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](https://bitcointalk.org/Smileys/default/wink.gif)
Make sure there is no error message on each step.
No need to install, you can run cgminer from folder.
1. screen
2. sudo ./cgminer --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 1000 --hexminer8-options 8:260 --set_default_to_8 --hexmineru-frequency 54
Or add the setting to cgminer.conf so you don't have to type setting command each time
![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
sudo nano /home/"user"/.cgminer/cgminer.conf
{
"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",
"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_8" : true,
"kernel-path" : "/usr/local/bin"
}