KyrosKrane
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 04, 2014, 10:25:40 PM |
|
could anybody be so kind and give step by step instruction on how to get 4.2.2 working on linux (ubuntu)?
From reading the first post in this thread, you learn you have to do this: Go here: http://ck.kolivas.org/apps/cgminer/If you have 32-bit Ubuntu, download the file cgminer-4.2.2.tar.bz2. If you have 64-bit Ubuntu, download the file cgminer-4.2.2-x86_64-built.tar.bz2 Either way, unzip the file you downloaded. Then run the executable you just unzipped, follow the prompts to set up your first pool, plug in your devices, and poof, you're mining. (I also suggest, after you configure your pool and other settings, that you save a config file using the in-program menus and prompts.) For anything more specific than that, you'll have to ask a clearer question. ok iĺl be more specific... last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it. i need to get cgminer running now, as i have just received a package. I thought it was clear - "run the executable you just unzipped". The executable is cgminer - it's just zipped up for faster download. Once you unzip it, you just run it, like any other Linux program. Either type in the name from the command line, or double click the file if you're using a GUI. If you want to control how it runs, check the readme file and set the command line parameters the way you want them, or configure them in the program and write the config file using the built in function. I'm sorry, but I'm honestly not sure how to be any clearer. If you don't know how to run a program in your preferred operating system, then you need to spend some time learning how to do that along with other basic tasks, like how to safely boot and shut down the PC, or how to log on and log off, or how to save your documents for later use.
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2014, 03:38:08 AM |
|
ok iĺl be more specific...
last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it. i need to get cgminer running now, as i have just received a package.
Make sure the following package already installed on your ubuntu system 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 libcurl3-dev 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 & compile cgminer 4.2.3, no need to install. 1. sudo git clone https://github.com/ckolivas/cgminer.git 2. sudo mv cgminer cgminer-4.2.3 3. cd cgminer-4.2.3 4. sudo ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury 5. sudo make
Step number 4 use additional option to enable specific device. Add the option based on available devices. --enable-ants1 Compile support for Antminer S1 Bitmain (default disabled) --enable-avalon Compile support for Avalon (default disabled) --enable-bab Compile support for BlackArrow Bitfury (default disabled) --enable-bflsc Compile support for BFL ASICs (default disabled) --enable-bitforce Compile support for BitForce FPGAs (default disabled) --enable-bitfury Compile support for BitFury ASICs (default disabled) --enable-cointerra Compile support for Cointerra ASICs (default disabled) --enable-drillbit Compile support for Drillbit BitFury ASICs (default disabled) --enable-hashfast Compile support for Hashfast (default disabled) --enable-icarus Compile support for Icarus (default disabled) --enable-knc Compile support for KnC miners (default disabled) --enable-klondike Compile support for Klondike (default disabled) --enable-knc Compile support for KnC miners (default disabled) --enable-minion Compile support for Minion BlackArrow ASIC (default disabled) --enable-modminer Compile support for ModMiner FPGAs(default disabled)
To run, go to cgminer-4.2.3 folder. To use cgminer-api, you need to compile it first sudo gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api
To run
|
|
|
|
jomant
Newbie
Offline
Activity: 39
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2014, 04:08:38 AM |
|
ok iĺl be more specific...
last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it. i need to get cgminer running now, as i have just received a package.
Make sure the following package already installed on your ubuntu system 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 libcurl3-dev 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 & compile cgminer 4.2.3, no need to install. 1. sudo git clone https://github.com/ckolivas/cgminer.git 2. sudo mv cgminer cgminer-4.2.3 3. cd cgminer-4.2.3 4. sudo ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury 5. sudo make
Step number 4 use additional option to enable specific device. Add the option based on available devices. --enable-ants1 Compile support for Antminer S1 Bitmain (default disabled) --enable-avalon Compile support for Avalon (default disabled) --enable-bab Compile support for BlackArrow Bitfury (default disabled) --enable-bflsc Compile support for BFL ASICs (default disabled) --enable-bitforce Compile support for BitForce FPGAs (default disabled) --enable-bitfury Compile support for BitFury ASICs (default disabled) --enable-cointerra Compile support for Cointerra ASICs (default disabled) --enable-drillbit Compile support for Drillbit BitFury ASICs (default disabled) --enable-hashfast Compile support for Hashfast (default disabled) --enable-icarus Compile support for Icarus (default disabled) --enable-knc Compile support for KnC miners (default disabled) --enable-klondike Compile support for Klondike (default disabled) --enable-knc Compile support for KnC miners (default disabled) --enable-minion Compile support for Minion BlackArrow ASIC (default disabled) --enable-modminer Compile support for ModMiner FPGAs(default disabled)
To run, go to cgminer-4.2.3 folder. To use cgminer-api, you need to compile it first sudo gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api
To run Are those steps apply for the Raspberry pi as well. I was looking for a detailed Installation instruction like this a page before and ended up with backing up my previews version 1.8 or so. I am mining on 2GH/s with a Antminer U2 with a 14% error rate.
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2014, 04:16:43 AM Last edit: April 05, 2014, 04:38:04 AM by Zich |
|
Are those steps apply for the Raspberry pi as well. I was looking for a detailed Installation instruction like this a page before and ended up with backing up my previews version 1.8 or so. I am mining on 2GH/s with a Antminer U2 with a 14% error rate.
Yes ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) The different is you don't need sudo while compile cgminer & add --enable-icarus 1. git clone https://github.com/ckolivas/cgminer.git 2. mv cgminer cgminer-4.2.3 3. cd cgminer-4.2.3 4. ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury --enable-icarus 5. make
|
|
|
|
shortpocket
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2014, 07:19:06 AM |
|
ok iĺl be more specific...
last time i had cgminer running it was 3.7 i think through the console/terminal so i dont know wich executionable you are talking about.. if you could be so kind and tell me i would apreciate it. i need to get cgminer running now, as i have just received a package.
Make sure the following package already installed on your ubuntu system 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 libcurl3-dev 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 & compile cgminer 4.2.3, no need to install. 1. sudo git clone https://github.com/ckolivas/cgminer.git 2. sudo mv cgminer cgminer-4.2.3 3. cd cgminer-4.2.3 4. sudo ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury 5. sudo make
Step number 4 use additional option to enable specific device. Add the option based on available devices. --enable-ants1 Compile support for Antminer S1 Bitmain (default disabled) --enable-avalon Compile support for Avalon (default disabled) --enable-bab Compile support for BlackArrow Bitfury (default disabled) --enable-bflsc Compile support for BFL ASICs (default disabled) --enable-bitforce Compile support for BitForce FPGAs (default disabled) --enable-bitfury Compile support for BitFury ASICs (default disabled) --enable-cointerra Compile support for Cointerra ASICs (default disabled) --enable-drillbit Compile support for Drillbit BitFury ASICs (default disabled) --enable-hashfast Compile support for Hashfast (default disabled) --enable-icarus Compile support for Icarus (default disabled) --enable-knc Compile support for KnC miners (default disabled) --enable-klondike Compile support for Klondike (default disabled) --enable-knc Compile support for KnC miners (default disabled) --enable-minion Compile support for Minion BlackArrow ASIC (default disabled) --enable-modminer Compile support for ModMiner FPGAs(default disabled)
To run, go to cgminer-4.2.3 folder. To use cgminer-api, you need to compile it first sudo gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api
To run OK thanks. That helped. I had to install linux again next to the one i had already installed to get it working. I tried autogen and make yesterday, but there where some errors and when it returned errors today when i tried it your way i decided to install linux again. At first it did'nt work when entering sudo ./cgminer, but that was because there was no asics enabled. I have tried to enable bitmine A1 asics, but it could'nt. All i need now is to get the technobit 130 ghs running... Any pointers?
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2014, 08:48:58 AM |
|
OK thanks. That helped. I had to install linux again next to the one i had already installed to get it working. I tried autogen and make yesterday, but there where some errors and when it returned errors today when i tried it your way i decided to install linux again. At first it did'nt work when entering sudo ./cgminer, but that was because there was no asics enabled. I have tried to enable bitmine A1 asics, but it could'nt.
All i need now is to get the technobit 130 ghs running...
Any pointers?
Ahh, you are on wrong thread ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) I can not answer here ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Try to ask here: https://bitcointalk.org/index.php?topic=491551.msg5418228#msg5418228or https://bitcointalk.org/index.php?topic=376351.0I will help you ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
patrike
Legendary
Offline
Activity: 3430
Merit: 1095
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 06, 2014, 06:25:39 AM |
|
Hi, I have a question about the Cgminer API, and I hope this is the correct thread for these questions.
The Network Difficulty is reported by the Coin command, but if you have two pools with different coins, you don't know for which pool the Network Difficulty is reported. It looks like the Coin command reports the network difficulty for the pool/coin that had the last network difficulty change, but that isn't always the highest prioritized pool where you actually mine.
Isn't the Network Difficulty something that would be better to include in the Pool command, and specified for each pool?
Thanks for a great API and please let me know if I got all this wrong.
|
Awesome Miner - Complete solution to manage and monitor mining operations of ASIC, GPU and CPU miners Optimized Antminer firmware - Increased hashrate, improved power efficiency and more features. For S9, S9i, S9j, T9+, L3+, S17, S17 Pro, S17+, T17, T17+, S19, S19 Pro, S19j, S19j Pro, T19 Up to 200,000 miners | Notifications | Native overclocking | Profit switching | Customizable rules | API | Windows application | Mobile web
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 06, 2014, 08:26:25 AM |
|
Hi, I have a question about the Cgminer API, and I hope this is the correct thread for these questions.
The Network Difficulty is reported by the Coin command, but if you have two pools with different coins, you don't know for which pool the Network Difficulty is reported. It looks like the Coin command reports the network difficulty for the pool/coin that had the last network difficulty change, but that isn't always the highest prioritized pool where you actually mine.
Isn't the Network Difficulty something that would be better to include in the Pool command, and specified for each pool?
Thanks for a great API and please let me know if I got all this wrong.
We don't care about anything but bitcoin so we have no interest in making changes for multiple coin support.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
frankenmint
Legendary
Offline
Activity: 1456
Merit: 1018
HoneybadgerOfMoney.com Weed4bitcoin.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 03:42:59 AM |
|
what does this mean?:
AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE
I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats. Cannot get everything on and mining in harmony.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 03:58:44 AM |
|
what does this mean?:
AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE
I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats. Cannot get everything on and mining in harmony.
It means there has been a fatal usb communication error and cgminer drops the device to allow it to restart again. You probably don't have enough power or dodgy connections etc.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
frankenmint
Legendary
Offline
Activity: 1456
Merit: 1018
HoneybadgerOfMoney.com Weed4bitcoin.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 04:08:28 AM |
|
what does this mean?:
AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE
I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats. Cannot get everything on and mining in harmony.
It means there has been a fatal usb communication error and cgminer drops the device to allow it to restart again. You probably don't have enough power or dodgy connections etc. Its not that simple though - I've have them all up and running before but for some reason I see that after a little that a string of them would turn on (an entire hub wont seem to connect, I have 9 hubs, of those 3 are daisy chained to a 4th.
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 04:41:56 AM |
|
what does this mean?:
AMU 57 SendWork usb write err:(-9) LIBUSB_ERROR_PIPE
I'm getting hashrate to build up to 2/3rds the way then half of it shuts off and it stats to reload again until the cycle repeats. Cannot get everything on and mining in harmony.
It means there has been a fatal usb communication error and cgminer drops the device to allow it to restart again. You probably don't have enough power or dodgy connections etc. Its not that simple though - I've have them all up and running before but for some reason I see that after a little that a string of them would turn on (an entire hub wont seem to connect, I have 9 hubs, of those 3 are daisy chained to a 4th. Doesn't matter how complex your setup is, the error means the same thing. Often when something fails it can take out/reset a whole hub since the communication channel is shared.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
frankenmint
Legendary
Offline
Activity: 1456
Merit: 1018
HoneybadgerOfMoney.com Weed4bitcoin.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 05:00:42 AM |
|
Thanks, you called it. Problem down to one hub now I'm happy ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 08:58:12 AM |
|
I'm willing to do some cgminer testing with the latest stable kernel (mainline 3.14), albeit I'll have to make some fake devices to test the cgminer API on the latest kernel (I don't own any ASICs). On that note, I'm making my own GNU/Linux distribution - I've compiled the kernel (3.14) and bash (4.3) in its own fs/partition and I'm creating the linux directory hierarchy by hand. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Basically my policy is everything mainline - everything latest stable. (Reason for creating this is if I want to run 3.14 none of the distros want to know about me, and I want to see the driver code for my hardware and muck around with it.) And yes, Ted Ts'o is a bit of a smarty pants on the linux kernel mailing list, which I've found out personally. (Not sure how he treated you, conman) The choice and features of each linux kernel pretty much has precisely zero impact on cgminer so there's nothing to test.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
alekseikt
Newbie
Offline
Activity: 4
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 07:57:02 PM |
|
How to/What commnads to overclock miner? Using Hashcoins Apollo? Help) i'm newbie
|
|
|
|
everest556
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 09:46:20 PM |
|
Any chance there'll be support for Technobit's HEX16A2 boards?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 07, 2014, 10:55:54 PM |
|
Any chance there'll be support for Technobit's HEX16A2 boards?
If they submit their code in a way consistent with other driver submissions, or provide one of us devs hardware to help massage the code to get into mainline cgminer then sure.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
oskuro
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 08, 2014, 07:14:53 AM |
|
Are those steps apply for the Raspberry pi as well. I was looking for a detailed Installation instruction like this a page before and ended up with backing up my previews version 1.8 or so. I am mining on 2GH/s with a Antminer U2 with a 14% error rate.
Yes ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) The different is you don't need sudo while compile cgminer & add --enable-icarus 1. git clone https://github.com/ckolivas/cgminer.git 2. mv cgminer cgminer-4.2.3 3. cd cgminer-4.2.3 4. ./autogen.sh --enable-ants1 --enable-avalon --enable-bitfury --enable-icarus 5. make
Hi guys. I have a raspberry pi with a rosewill hub with 2 antminers U2. I installed minepeon last version for raspberry pi and im mining with default bfgminer. Im getting default 1.95GH/s per miner. I would like to know if its best to use cgminer instead of default bfgminer, and what are the steps to install it, and then run it. That quote will work for me? thanks
|
|
|
|
everest556
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 08, 2014, 09:55:46 PM |
|
Any chance there'll be support for Technobit's HEX16A2 boards?
If they submit their code in a way consistent with other driver submissions, or provide one of us devs hardware to help massage the code to get into mainline cgminer then sure. There is a patch for these boards: https://bitcointalk.org/index.php?topic=355031.0Is it possible to integrate it into the main code?
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4214
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 08, 2014, 10:47:19 PM |
|
Any chance there'll be support for Technobit's HEX16A2 boards?
If they submit their code in a way consistent with other driver submissions, or provide one of us devs hardware to help massage the code to get into mainline cgminer then sure. There is a patch for these boards: https://bitcointalk.org/index.php?topic=355031.0Is it possible to integrate it into the main code? No, we do not go out of our way to scrounge up patches from elsewhere and make them work in the master cgminer code. I already described the process above.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|