Bitcoin Forum
May 04, 2024, 02:00:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 »  All
  Print  
Author Topic: cgminer extranonce.subscribe extension (binaries available for download)  (Read 32677 times)
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 15, 2014, 09:17:47 PM
 #61

my s4 s working latest firmware 16102014, i copied nice hash cgminer and added #xnsub string but S4 dont start hashing. allways 0Gh.
is this --queue 8192 problem ?

The S4 binary on Nicehash is not good.  It does not work.
1714831249
Hero Member
*
Offline Offline

Posts: 1714831249

View Profile Personal Message (Offline)

Ignore
1714831249
Reply with quote  #2

1714831249
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714831249
Hero Member
*
Offline Offline

Posts: 1714831249

View Profile Personal Message (Offline)

Ignore
1714831249
Reply with quote  #2

1714831249
Report to moderator
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 15, 2014, 09:20:49 PM
 #62

hello,

I have completely newbee question.

When I try upload cgminer via putty i receive message: No such file or directory

In guide I found
Code:
scp [path where you download and extracted patched cgminer]/cgminer root@[IP of your miner]:/usr/bin/cgminer

I put
Code:
scp [C:/Users/my_comp_name/Downloads/AntMinerS3-cgminer/cgminer]/cgminer root@[Ip_to_antminer3]:/usr/bin/cgminer

In advence ty for any help

eljotik

The error message you report does not accurate match my response, but here is something to try.  With some Linux OS, it will not allow scp to overwrite a file without force options.  I usually move the original cgminer first, then the scp works.  For example, first I run this on the miner "mv /usr/bin/cgminer /usr/bin/cgminer.bak".

Also, after you put the new cgminer in place, you may need to add execute permissions.  I typically run this.  "chmod +x /usr/bin/cgminer".


eljotik
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
December 15, 2014, 09:42:07 PM
 #63

hello,

I have completely newbee question.

When I try upload cgminer via putty i receive message: No such file or directory

In guide I found
Code:
scp [path where you download and extracted patched cgminer]/cgminer root@[IP of your miner]:/usr/bin/cgminer

I put
Code:
scp [C:/Users/my_comp_name/Downloads/AntMinerS3-cgminer/cgminer]/cgminer root@[Ip_to_antminer3]:/usr/bin/cgminer

In advence ty for any help

eljotik

The error message you report does not accurate match my response, but here is something to try.  With some Linux OS, it will not allow scp to overwrite a file without force options.  I usually move the original cgminer first, then the scp works.  For example, first I run this on the miner "mv /usr/bin/cgminer /usr/bin/cgminer.bak".

Also, after you put the new cgminer in place, you may need to add execute permissions.  I typically run this.  "chmod +x /usr/bin/cgminer".




I have complete guide from nicehash https://www.nicehash.com/index.jsp?p=software#cgminer

Quote
Drop in replacement for /usr/bin/cgminer

How to use:

1. (this step is optional but recommended) update your AntMiner firmware to the latest one: https://bitmaintech.com/support.htm

2. after firmware update is successful, connect via ssh to your miner (use putty under Windows)

3. enter this command to stop cgminer:

/etc/rc.d/S99cgminer stop

4. backup existing cgminer binary

mv /usr/bin/cgminer /usr/bin/cgminer-original

5. upload patched cgminer binary from your computer

scp [path where you download and extracted patched cgminer]/cgminer root@[IP of your miner]:/usr/bin/cgminer

(or use WinSCP under Windows)

6. make the new uploaded cgminer binary executable:

chmod +x /usr/bin/cgminer

7. start cgminer

/etc/rc.d/S99cgminer start

8. go to the AntMiner's web interface and append #xnsub at nicehash or westhash pool URL, press "Save & Apply"

stratum.nicehash.com:3334#xnsub

9. wait a minute and then go to the nicehash or westhash miner's details web page and make sure you have a green checkmark in "Extranonce subscription" column

https://www.nicehash.com/index.jsp?p=miners&a=1&addr=your-Bitcoin-address

and did it 1 step before (i have  moved/beckup orginal cgminer)

I guess i put wrong patch to file on my computer!?Huh

this is correct one?

Code:
scp [C:/Users/my_comp_name/Downloads/AntMinerS3-cgminer/cgminer]/cgminer root@[Ip_to_antminer3]:/usr/bin/cgminer
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 15, 2014, 10:04:03 PM
 #64

hello,

Code:
scp [C:/Users/my_comp_name/Downloads/AntMinerS3-cgminer/cgminer]/cgminer root@[Ip_to_antminer3]:/usr/bin/cgminer

I see.  The slashes need to be backslashes for Windows.  And now I see you have cgminer in the path twice.  Make sure that is correct.  It depends on how you unzipped the file.  Try "C:\Users\my_comp_name\Downloads\AntMinerS3-cgminer\cgminer" or "C:\Users\my_comp_name\Downloads\AntMinerS3-cgminer\cgminer\cgminer" if cgminer under subdirectory cgminer.

eljotik
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
December 15, 2014, 10:15:41 PM
 #65

My Putty says

[C:UsersazerDownloadsAntMinerS3-cgminercgminer]/cgminer: No such file or directory

Seems putty can't read backslashes

Full command i put is

Code:
scp [C:\Users\azer\Downloads\AntMinerS3-cgminer\cgminer]/cgminer root@[192.168.0.205]:/usr/bin/cgminer

what can be wrong?

in advance ty for support
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 15, 2014, 10:25:59 PM
 #66

My Putty says

[C:UsersazerDownloadsAntMinerS3-cgminercgminer]/cgminer: No such file or directory

Seems putty can't read backslashes

Full command i put is

Code:
scp [C:\Users\azer\Downloads\AntMinerS3-cgminer\cgminer]/cgminer root@[192.168.0.205]:/usr/bin/cgminer

what can be wrong?

in advance ty for support

I haven't used putty's scp in a long time.  How about using WinSCP?  It has a UI, and is free.  winscp.net.
 
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 16, 2014, 03:48:29 AM
 #67

I looked again at the instructions you provided.  I see they are from the README.txt file included with Nicehash's Cgminer binary.  I did not catch this the first time, step 5 of the instructions mentions two different copy methods.  The first one with "scp" is to copy from a Linux host to the miner.  The line underneath step 5 mentions WinSCP for Windows.  If you're copying a file from Windows to Linux, use WinSCP, because it is more user friendly.  If you were using Putty's version of SCP for Windows, the executable name is PSCP.exe.  Maybe the "No such file or directory" error is because you were trying "scp" on your Windows host, and scp does not exist.

Just for fun, and for future reference, I tried Putty's SCP program PSCP.exe.  The first time I tried PSCP, I got an error related to not running an SFTP Server instance.  It appears that PSCP first tries SFTP (Secure FTP), which the Antminer's are not running. 
Code:
pscp D:\Downloads\Putty\PSCP_Test_File.zip root@192.168.44.150:/root/PSCP_Test_File.zip
root@192.168.44.150's password:
sh: /usr/lib/openssh/sftp-server: not found
Fatal: Received unexpected end-of-file from server

I ran PSCP again and provided the -scp option to force the use of the SCP protocol.
Code:
pscp -scp D:\Downloads\Putty\PSCP_Test_File.zip root@192.168.44.150:/home/root/PSCP_Test_File.zip
root@192.168.44.150's password:
PSCP_Test_File.zip        | 2144 kB | 2144.9 kB/s | ETA: 00:00:00 | 100%
MasterRadix
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
December 19, 2014, 02:56:25 PM
 #68

Anything for the C1 ready?
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 19, 2014, 09:14:55 PM
 #69

Anything for the C1 ready?
+1
 
I would also like a binary for the C1.  And we still need one (that works) for the S4.

I have an Arduino kit, which I think can be used to create the binaries.  I just got it and still learning its capabilities.  I used it to create a serial connection to an S3 controller board to fix a failed firmware flash.  Basically, the S3 appeared bricked, but just needed the OS re-imaged, which I did via serial connection.  This is one of the negatives from not using Micro SD to store the OS.  I digress...   Anyway... I will start searching for instructions on how to configure the Arduino to run the Antminer code version so I can create binaries.  If anyone has those instructions, I would appreciate letting me know.

This is the Arduino kit I have.  http://arduino.cc/en/Main/ArduinoStarterKit

sEpuLchEr
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


Are we there yet?


View Profile
December 19, 2014, 11:16:38 PM
 #70

Any fix for Antminer S4 yet? The current one you released does not work Sad Can't use the stratum proxy provided on your page does not work too....

vegasguy
Legendary
*
Offline Offline

Activity: 1610
Merit: 1003


"Yobit pump alert software" Link in my signature!


View Profile
December 21, 2014, 04:26:46 AM
 #71

Any fix for Antminer S4 yet? The current one you released does not work Sad Can't use the stratum proxy provided on your page does not work too....

I also would like to see a working S4 binary. Also for the noobs is there ANY chance you can compile it in the same format as bitmain so we can easily enter our web console and do upgrade through there?

I want to make sure everyone knows that I just released my software called "Yobit pump alert". THis is custom software that uses an algo to detect the start of a pump here on yobit, the second it starts. YOu can even filter the coins you see by price. Most pumps start less than 100 sats , so you can easily filter the cheap coins, so they are the only ones displayed Smiley https://bitcointalk.org/index.php?topic=1945937.msg20241953#msg20241953
sEpuLchEr
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


Are we there yet?


View Profile
December 21, 2014, 05:45:22 AM
 #72

Any fix for Antminer S4 yet? The current one you released does not work Sad Can't use the stratum proxy provided on your page does not work too....

I also would like to see a working S4 binary. Also for the noobs is there ANY chance you can compile it in the same format as bitmain so we can easily enter our web console and do upgrade through there?

Keep sending emails to info@bitmaintech.com with link to the patch. I sent a few and they replied saying they are looking into in and a new firmware for S4 will be release soon... but soon is never soon enough.

gupik65
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
December 27, 2014, 11:49:11 AM
Last edit: December 27, 2014, 03:26:59 PM by gupik65
 #73

Tell me how to make settings for AntimanerS1 stratum extranonce
Thanks!
nicehash (OP)
Legendary
*
Offline Offline

Activity: 885
Merit: 1006


NiceHash.com


View Profile WWW
February 25, 2015, 07:10:25 PM
 #74

Update: cgminer extranonce.subscribe extension is now included in AntMiner S5 and Spondoolies SP20 and SP3x firmware, so all you have to do is update your firmware and add #xnsub at the tail of stratum connection string. If anybody is interested, our test Avalon4.1 is also running fine on NiceHash.com. Here is compiled binary for Linux 64 bit (includes extranonce.subscribe, compiled from our official cgminer fork) : https://www.nicehash.com/download/cgminer-Avalon4-Linux64.zip

If you are using Ubuntu you can simply connect your Avalon4.1 and run cgminer from the above zip file:

sudo ./cgminer -o stratum+tcp://stratum.nicehash.com:3334 -u yourBitcoinAddress -p x --avalon4-automatic-voltage --avalon4-fan 40

(--avalon4-fan is percentage of fan speed)

If you wan't to build cgminer from source just use the source from our official cgminer fork.

Here is a screenshot of under-clocked ("avalon4-voltage" : "7000", "avalon4-freq" : "320:310:300") Avalon4.1 running on NiceHash.com:






And working AntMiner S3:






And working AntMiner S5:






And working Spondoolies-Tech SP20 (a bit underclocked):


valkir
Legendary
*
Offline Offline

Activity: 1484
Merit: 1004



View Profile
February 27, 2015, 06:33:58 PM
 #75

My S5 work fine with #xnsub but I cant make my Avalon4 and SP20 to use #xnsub.

Could you provide screen shot of myminer.io to see how you write it. Maybe Im doing something wrong.

Thanks

Valkir

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
nicehash (OP)
Legendary
*
Offline Offline

Activity: 885
Merit: 1006


NiceHash.com


View Profile WWW
February 27, 2015, 06:41:27 PM
 #76

My S5 work fine with #xnsub but I cant make my Avalon4 and SP20 to use #xnsub.

Could you provide screen shot of myminer.io to see how you write it. Maybe Im doing something wrong.

Thanks

Valkir

For avalon you have to compile your own cgminer (or use provided if you're using Linux). Devs should add extranonce.subscribe to firmware.

For SP20 - first check which cgminer version do you have - check at SP20 homepage - is it written cgminer4.7.0 or cgminer4.8.0?

valkir
Legendary
*
Offline Offline

Activity: 1484
Merit: 1004



View Profile
February 27, 2015, 06:50:36 PM
 #77

4.7.0 how can I upgrade to 4.8.0 ?

██     Please support sidehack with his new miner project Send to :

1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
nicehash (OP)
Legendary
*
Offline Offline

Activity: 885
Merit: 1006


NiceHash.com


View Profile WWW
February 27, 2015, 06:59:56 PM
 #78

4.7.0 how can I upgrade to 4.8.0 ?

If you already have the latest firmware, then the firmware obviously didn't upgrade to 4.8.0. You have to manually upgrade, download this: https://www.nicehash.com/download/Spondoolies-SP2x-SP3x-cgminer-4.8.0.zip and follow instructions inside.

oakmaster
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
March 06, 2015, 01:31:24 AM
 #79

anyone having problems with setting up extranonce in their S1 I came across this and it worked did it on 2
 https://hashtalk.org/topic/19264/how-to-enable-extranonce-subscription-antminer-s1/25
Evan
Hero Member
*****
Offline Offline

Activity: 507
Merit: 500



View Profile
March 06, 2015, 12:06:59 PM
 #80

Can this work on a C1?

I am poor, but i do work for Coin Smiley
1PtHcavXoakgNkQfEQdvnvEksEY2NvwaLM
Pages: « 1 2 3 [4] 5 6 »  All
  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!