Bitcoin Forum
June 19, 2018, 09:19:51 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 [All]
  Print  
Author Topic: cgminer extranonce.subscribe extension (binaries available for download)  (Read 32147 times)
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 07, 2014, 01:33:31 PM
 #1

Hi,

*edit: cgminer extranonce.subscribe extension is now confirmed to be working, therefore this OP was modified with links to actual binaries (universal windows for some USB miners and binaries for AntMiner S1, S3 and Spondoolies SP20):

*edit 2015-02-25: 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

https://www.nicehash.com/index.jsp?p=software#cgminer

Source is available here: https://github.com/nicehash/cgminer-ckolivas, so maybe someone could make binaries for some other ASIC devices as well.

When you test it, make sure you add #xnsub at the end of the stratum connection string to enable extranonce subscription:

cgminer -o stratum+tcp://stratum.nicehash.com:3334#xnsub -u enterYourBTCaddress -p x

When your miner successfully connects, take a look at the miner stats page:

https://www.nicehash.com/index.jsp?p=miners&a=1&addr=enterYourBTCaddress

and make sure you see extranonce subscription confirmation:



Feedback appreciated. Please report if you have any success and if all is fine we will propose to push this feature in other cgminer forks and from there it will hopefully made its way into various ASICs firmwares...

Thanks!

The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529399991
Hero Member
*
Offline Offline

Posts: 1529399991

View Profile Personal Message (Offline)

Ignore
1529399991
Reply with quote  #2

1529399991
Report to moderator
1529399991
Hero Member
*
Offline Offline

Posts: 1529399991

View Profile Personal Message (Offline)

Ignore
1529399991
Reply with quote  #2

1529399991
Report to moderator
dddbtc
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


Cryptome.org | Privacy, Security & Spying News | ฿


View Profile WWW
November 07, 2014, 04:51:59 PM
 #2

I'll attempt to compile for bitmain/antminer and will let you know how it works out.  Was up for a solid couple hours researching this very topic last night.  Good to see everyone at nicehash is thinking ahead.

CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


View Profile
November 10, 2014, 12:58:01 PM
 #3

I'll attempt to compile for bitmain/antminer and will let you know how it works out.  Was up for a solid couple hours researching this very topic last night.  Good to see everyone at nicehash is thinking ahead.

i have a patched version of bitmains sources at https://github.com/FireWalkerX/cgminer-bmsc.git

just need someone to compile it, i have tested and confirmed it works on nicehash (but not tested with antminer) edit: (S[1-4] needs testing)

node-vps.com - Tron / Masternode hosting services
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 12, 2014, 09:55:34 PM
 #4

Anybody with knowledge how to compile cgminer binary for AntMiner S3+? There are many AntMiner S3 users and it would be great to get cgminer AntMiner S3 bianry with extranonce.subscribe extension...

1Neptune
Sr. Member
****
Offline Offline

Activity: 241
Merit: 250



View Profile
November 14, 2014, 07:52:55 AM
 #5

Anybody with knowledge how to compile cgminer binary for AntMiner S3+? There are many AntMiner S3 users and it would be great to get cgminer AntMiner S3 bianry with extranonce.subscribe extension...

One of the moderators of this forum (ckolivas) is the offical cgminer developer and has published revisions for the S3, S4, etc. and bitmain adopted his modifications, if I remember my reading correctly.
Deagle21
Full Member
***
Offline Offline

Activity: 238
Merit: 100


Next Generation Antivirus


View Profile
November 14, 2014, 09:53:39 PM
 #6

I have ten S3+ on westhash and have used 10 instances of the stratum proxy with extranonce.subscribe extension for each of the 10 miners.  I don't really see the difference in payout so I went back to not using the stratum proxy because it disconnects my miners sometimes from the pool out of the blue.

7queue
Full Member
***
Offline Offline

Activity: 180
Merit: 100


View Profile
November 15, 2014, 11:44:46 AM
 #7

https://westhash.com/?p=miners&a=1&addr=1B4RkonuDVkGzKSTe4MCfZfSHseMGyump2

Cloned your git repository and folded in an older driver, ants1-4.3.2a-85fcf0c, version from kano's S1 git repository, cross compiled and running on two S1's now.

My modifications are here: https://github.com/7queue/cgminer-ckolivas

Here are screen shots of cgminer running on the S1's





8 )

8 )
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 15, 2014, 05:40:14 PM
 #8


This is great to hear! See, your connection time "Time (minutes)" is now already more then 7 hours, this means that your miners have been successfully connected to WestHash without interruptions and when order were changing, extranonce.subscribe kept you connected ... good job! Could you share the binary?

7queue
Full Member
***
Offline Offline

Activity: 180
Merit: 100


View Profile
November 15, 2014, 07:40:46 PM
 #9


This is great to hear! See, your connection time "Time (minutes)" is now already more then 7 hours, this means that your miners have been successfully connected to WestHash without interruptions and when order were changing, extranonce.subscribe kept you connected ... good job! Could you share the binary?



https://github.com/7queue/cgminer-ckolivas/tree/master/bin

md5  23657cc3ebf0f95b176d7b47e121aee1  cgminer.tgz

8 )

8 )
7queue
Full Member
***
Offline Offline

Activity: 180
Merit: 100


View Profile
November 17, 2014, 12:09:45 AM
 #10


This is great to hear! See, your connection time "Time (minutes)" is now already more then 7 hours, this means that your miners have been successfully connected to WestHash without interruptions and when order were changing, extranonce.subscribe kept you connected ... good job! Could you share the binary?



https://github.com/7queue/cgminer-ckolivas/tree/master/bin

md5  23657cc3ebf0f95b176d7b47e121aee1  cgminer.tgz

8 )



Replaced api version 3.5 with api version 3.3 so the S1 Miner Status page works correctly now.

md5 08d603af7774015f8a78b35e646663c3  cgminer.tgz

8 )
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 17, 2014, 02:08:26 PM
 #11

Thanks to ckolivas who provided binaries for AntMiner S3 we have also tested extranonce.subscribe extension and it works as expected: https://www.nicehash.com/index.jsp?p=miners&a=1&d=1&addr=15r3JQvW73FbphxjPN2oLGeQQyEXhhZLdr

More information with AntMiner cgminer binaries downloads can now be found here: https://www.nicehash.com/software/#cgminer

7queue
Full Member
***
Offline Offline

Activity: 180
Merit: 100


View Profile
November 17, 2014, 05:17:39 PM
 #12


This is great to hear! See, your connection time "Time (minutes)" is now already more then 7 hours, this means that your miners have been successfully connected to WestHash without interruptions and when order were changing, extranonce.subscribe kept you connected ... good job! Could you share the binary?



https://github.com/7queue/cgminer-ckolivas/tree/master/bin

md5  23657cc3ebf0f95b176d7b47e121aee1  cgminer.tgz

8 )



Replaced api version 3.5 with api version 3.3 so the S1 Miner Status page works correctly now.

md5 08d603af7774015f8a78b35e646663c3  cgminer.tgz


Changed dependancy for libpolarssl.so.7 to libpolarssl.so

md5 983c067ce5a14f83669a9b4aaf6aadd1  cgminer.tgz



Check to see if this library is installed on your S1,

Code:
# opkg list-installed | grep libpolarssl
libpolarssl - 1.3.8-2
#


If it isn't installed,

Code:
# opkg update
# opkg install libpolarssl
Installing libpolarssl (1.3.8-2) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/libpolarssl_1.3.8-2_ar71xx.ipk.
Configuring libpolarssl.
#


If it is installed make sure it is up to date,

Code:
# opkg update
# opkg upgrade libpolarssl
#



8 )

Edit: Petete pointed out that libncurses is needed as well, Thanks.


8 )
CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


View Profile
November 18, 2014, 03:41:50 AM
 #13

Problem:


if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

node-vps.com - Tron / Masternode hosting services
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 18, 2014, 07:13:30 AM
 #14

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

Are you using default AntMiner S3 firmware (with cgminer 3.12.0) or updated firmware and patched cgminer (v 4.7.1)? cgminer version 3.12.0 (in the default S3 firmware) still has the so-called idle bug, which was fixed in version 4.3.1 (https://github.com/ckolivas/cgminer/blob/af7401e9599f01ff000291ef2280ba05402bdf50/NEWS).

CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


View Profile
November 18, 2014, 08:08:51 AM
 #15

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

Are you using default AntMiner S3 firmware (with cgminer 3.12.0) or updated firmware and patched cgminer (v 4.7.1)? cgminer version 3.12.0 (in the default S3 firmware) still has the so-called idle bug, which was fixed in version 4.3.1 (https://github.com/ckolivas/cgminer/blob/af7401e9599f01ff000291ef2280ba05402bdf50/NEWS).
im using this version: with #xnsub support (and yes added it to the url of nicehash, without, it switches to the next pool)

Thanks to ckolivas who provided binaries for AntMiner S3 we have also tested extranonce.subscribe extension and it works as expected: https://www.nicehash.com/index.jsp?p=miners&a=1&d=1&addr=15r3JQvW73FbphxjPN2oLGeQQyEXhhZLdr

More information with AntMiner cgminer binaries downloads can now be found here: https://www.nicehash.com/software/#cgminer

my pool setup is betarigs, nicehash, 3rd pool it rents out fine but when its done and pricepoint is below predefined value, its supposed to go to 3rd pool, but instead hang onto nicehash, with no work issued, if i remove #xnsub it will successfully go from 2nd pool to 3rd pool, so either its your stratum not terminating, or its something in xnsub support in cgminer that doesnt terminate and marks the pool as dead

node-vps.com - Tron / Masternode hosting services
Deagle21
Full Member
***
Offline Offline

Activity: 238
Merit: 100


Next Generation Antivirus


View Profile
November 18, 2014, 06:02:57 PM
 #16

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

Are you using default AntMiner S3 firmware (with cgminer 3.12.0) or updated firmware and patched cgminer (v 4.7.1)? cgminer version 3.12.0 (in the default S3 firmware) still has the so-called idle bug, which was fixed in version 4.3.1 (https://github.com/ckolivas/cgminer/blob/af7401e9599f01ff000291ef2280ba05402bdf50/NEWS).

Tried to follow your instructions but some of us are not linx savvy and don't know how to navigate around putty.  Can you provide step by step instruction in more depth for us newbs?  I was able to ssh into antminer 3 with putty and stop cgminer but then got stumped an how to copy original and follow the rest of the instructions.  I've got the binary sitting on my windows desktop.

nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 18, 2014, 08:13:48 PM
 #17

Tried to follow your instructions but some of us are not linx savvy and don't know how to navigate around putty.  Can you provide step by step instruction in more depth for us newbs?  I was able to ssh into antminer 3 with putty and stop cgminer but then got stumped an how to copy original and follow the rest of the instructions.  I've got the binary sitting on my windows desktop.

Use WinSCP http://winscp.net/eng/download.php to upload new binary to the AntMiner (SFTP connection, IP of your miner).

CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


View Profile
November 18, 2014, 09:32:38 PM
 #18

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

Are you using default AntMiner S3 firmware (with cgminer 3.12.0) or updated firmware and patched cgminer (v 4.7.1)? cgminer version 3.12.0 (in the default S3 firmware) still has the so-called idle bug, which was fixed in version 4.3.1 (https://github.com/ckolivas/cgminer/blob/af7401e9599f01ff000291ef2280ba05402bdf50/NEWS).
im using this version: with #xnsub support (and yes added it to the url of nicehash, without, it switches to the next pool)

Thanks to ckolivas who provided binaries for AntMiner S3 we have also tested extranonce.subscribe extension and it works as expected: https://www.nicehash.com/index.jsp?p=miners&a=1&d=1&addr=15r3JQvW73FbphxjPN2oLGeQQyEXhhZLdr

More information with AntMiner cgminer binaries downloads can now be found here: https://www.nicehash.com/software/#cgminer

my pool setup is betarigs, nicehash, 3rd pool it rents out fine but when its done and pricepoint is below predefined value, its supposed to go to 3rd pool, but instead hang onto nicehash, with no work issued, if i remove #xnsub it will successfully go from 2nd pool to 3rd pool, so either its your stratum not terminating, or its something in xnsub support in cgminer that doesnt terminate and marks the pool as dead

nicehash, have you looked into the above? i can replicate it so it must be either code in cgminer, that doesnt cancel the connection, or the proxy not cancelling, when #xnsub is activated

node-vps.com - Tron / Masternode hosting services
Deagle21
Full Member
***
Offline Offline

Activity: 238
Merit: 100


Next Generation Antivirus


View Profile
November 18, 2014, 09:53:01 PM
 #19

Tried to follow your instructions but some of us are not linx savvy and don't know how to navigate around putty.  Can you provide step by step instruction in more depth for us newbs?  I was able to ssh into antminer 3 with putty and stop cgminer but then got stumped an how to copy original and follow the rest of the instructions.  I've got the binary sitting on my windows desktop.

Use WinSCP http://winscp.net/eng/download.php to upload new binary to the AntMiner (SFTP connection, IP of your miner).

Ok used WinSCP and uploaded cgminer file to /usr/bin/ folder and restarted unit.  It would not start hashing unless I deleted the new cgminer binary and restored the original file.  My S3 Web UI status screen remains blank even after a new reboot with the new cgminer binary installed.

nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 18, 2014, 09:54:08 PM
 #20

nicehash, have you looked into the above? i can replicate it so it must be either code in cgminer, that doesnt cancel the connection, or the proxy not cancelling, when #xnsub is activated

Could you provide log output?

SSH to your miner and add logging:

vim /etc/rc.d/S99cgminer

add this " -D 2>&1 |tee /tmp/cgminerlog.txt" to the end of the line which starts with "PARAMS="$AOPTIONS $POOL1 $POO ...

so this line should look like this:

PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb $_ow $_bec --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --version-file /usr/bin/compile_time --queue 4096 -D 2>&1 |tee /tmp/cgminerlog.txt"

When you'll catch the idle bug, send us the logs please. Thanks!

nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 18, 2014, 09:56:14 PM
 #21

Ok used WinSCP and uploaded cgminer file to /usr/bin/ folder and restarted unit.  It would not start hashing unless I deleted the new cgminer binary and restored the original file.  My S3 Web UI status screen remains blank even after a new reboot with the new cgminer binary installed.

Hmm, README file is probably missing another command, you have to make cgminer binary executable (after you upload new binary) by issuing this command

Code:
chmod +x /usr/bin/cgminer

Verify that the new cgminer works by:

Code:
/usr/bin/cgminer -V

It should return cgminer 4.7.1, if this is OK, new binary should work.

CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


View Profile
November 18, 2014, 11:34:21 PM
 #22

nicehash, have you looked into the above? i can replicate it so it must be either code in cgminer, that doesnt cancel the connection, or the proxy not cancelling, when #xnsub is activated

Could you provide log output?

SSH to your miner and add logging:

vim /etc/rc.d/S99cgminer

add this " -D 2>&1 |tee /tmp/cgminerlog.txt" to the end of the line which starts with "PARAMS="$AOPTIONS $POOL1 $POO ...

so this line should look like this:

PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb $_ow $_bec --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --version-file /usr/bin/compile_time --queue 4096 -D 2>&1 |tee /tmp/cgminerlog.txt"

When you'll catch the idle bug, send us the logs please. Thanks!

right now my rig is rented out, but i could try it out on another rig i have...

pmed link to log file

node-vps.com - Tron / Masternode hosting services
Deagle21
Full Member
***
Offline Offline

Activity: 238
Merit: 100


Next Generation Antivirus


View Profile
November 19, 2014, 04:14:10 AM
 #23

Ok used WinSCP and uploaded cgminer file to /usr/bin/ folder and restarted unit.  It would not start hashing unless I deleted the new cgminer binary and restored the original file.  My S3 Web UI status screen remains blank even after a new reboot with the new cgminer binary installed.

Hmm, README file is probably missing another command, you have to make cgminer binary executable (after you upload new binary) by issuing this command

Code:
chmod +x /usr/bin/cgminer

Verify that the new cgminer works by:

Code:
/usr/bin/cgminer -V

It should return cgminer 4.7.1, if this is OK, new binary should work.

Ok got my S3's working.  The new binary rights in the file properties were different than the original.  I had to change the new binary rights to match the original one by checking all the x's in the properties.  I did not need to use the chmod +x /usr/bin/cgminer command.

slimz
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 20, 2014, 03:31:06 PM
 #24

OK so a few things i have noticed.
the drop in cgminer replacement works for antminers but the antminer section of the status screen id basically blank.

I know this is because the antminer driver is not compiled into to the cgminer binary

there is a patched version of the antminer software here
https://github.com/FireWalkerX/cgminer-bmsc

can someone please cross compile it for the beaglebone board and post a binary.

I do not have the experience required to do that

----------------------------------------------------------
UPDATE
If you use the newest BitMain firmware that contains cgminer 4.6 and then drop in the 4.7 replacement, all antminer status reports sections work properly.


BTC Tips: 18y1rMGNcXpk7tXBkHgau8XHoRQ3kJH9mZ
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 22, 2014, 11:07:14 AM
 #25

Problem:


if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

The same problem noticed here. It does not seem to skip to another pool in the list after price goes below p=xxx level. Happened with s3 and s1 units.
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
November 22, 2014, 03:00:39 PM
 #26

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

The same problem noticed here. It does not seem to skip to another pool in the list after price goes below p=xxx level. Happened with s3 and s1 units.

We have resolved the issue with pool-switching bug when xnsub is enabled, you can download new binaries for AntMiner S3 and S4 here: https://www.nicehash.com/index.jsp?p=software#cgminer

7queue, here is patched commit: https://github.com/nicehash/cgminer-ckolivas/commit/4e9c7ce68ed91ec9189d83c35b2237aca65f2b7f please revert the previous one in your repo and please compile fresh binaries. Thanks!

7queue
Full Member
***
Offline Offline

Activity: 180
Merit: 100


View Profile
November 22, 2014, 07:59:16 PM
 #27

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

The same problem noticed here. It does not seem to skip to another pool in the list after price goes below p=xxx level. Happened with s3 and s1 units.

We have resolved the issue with pool-switching bug when xnsub is enabled, you can download new binaries for AntMiner S3 and S4 here: https://www.nicehash.com/index.jsp?p=software#cgminer

7queue, here is patched commit: https://github.com/nicehash/cgminer-ckolivas/commit/4e9c7ce68ed91ec9189d83c35b2237aca65f2b7f please revert the previous one in your repo and please compile fresh binaries. Thanks!


Done!

8 )
felixthecat
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 23, 2014, 04:45:07 PM
 #28

Thanks to 7 queue for the most awsome S1 binary in the world. Full production on 80 S1's on P2Pool with BETTER than expected results of only 2.1% DOA and 118.3% Efficiency and finding shares at an incredible pace.

Many thanks for Nicehash for finding someone as talented as 7 queue for the binary.... I have tested all 80 S1's on Westhash over nite and the overall DOA used to be almost 1 TH/s rejected and it's cut in just about 3/4 of that.

Now.... How about some love for the S2??? Seems that's the only issue I am having with Nicehash now, with the S2's running the up to date firmware and --queue 0, which works perfectly on P2Pool now, but consistently refreshes and resets beteen 25, 30, 24, 45 seconds. 
OVRGRO
Sr. Member
****
Offline Offline

Activity: 477
Merit: 250


View Profile
November 24, 2014, 08:24:30 AM
 #29

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

Are you using default AntMiner S3 firmware (with cgminer 3.12.0) or updated firmware and patched cgminer (v 4.7.1)? cgminer version 3.12.0 (in the default S3 firmware) still has the so-called idle bug, which was fixed in version 4.3.1 (https://github.com/ckolivas/cgminer/blob/af7401e9599f01ff000291ef2280ba05402bdf50/NEWS).

Tried to follow your instructions but some of us are not linx savvy and don't know how to navigate around putty.  Can you provide step by step instruction in more depth for us newbs?  I was able to ssh into antminer 3 with putty and stop cgminer but then got stumped an how to copy original and follow the rest of the instructions.  I've got the binary sitting on my windows desktop.

i about the same point, but with ubuntu. i've followed every step but it keeps saying it can't find my cgminer file when i try to scp the file. i'm using the exact location of the downloaded file, i even copied it and moved it to a different location with the same failure. basically i keep on bricking my machine and having to reflash factory bin
OVRGRO
Sr. Member
****
Offline Offline

Activity: 477
Merit: 250


View Profile
November 24, 2014, 08:43:01 AM
 #30

scratch that... after several failures through putty it dawned on me to scp the file from my regular terminal... success Smiley
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 24, 2014, 10:43:17 AM
 #31

Problem:

if you set a price point, fx p=0.0135 then if it dips below said pricepoint, no work is issued, but connection is not terminated either so instead of my S3s switching to 3rd pool option, it will just hang on to the connection, waiting for work

(my rigs started beeping and woke me up)

Are you using default AntMiner S3 firmware (with cgminer 3.12.0) or updated firmware and patched cgminer (v 4.7.1)? cgminer version 3.12.0 (in the default S3 firmware) still has the so-called idle bug, which was fixed in version 4.3.1 (https://github.com/ckolivas/cgminer/blob/af7401e9599f01ff000291ef2280ba05402bdf50/NEWS).

Tried to follow your instructions but some of us are not linx savvy and don't know how to navigate around putty.  Can you provide step by step instruction in more depth for us newbs?  I was able to ssh into antminer 3 with putty and stop cgminer but then got stumped an how to copy original and follow the rest of the instructions.  I've got the binary sitting on my windows desktop.

i about the same point, but with ubuntu. i've followed every step but it keeps saying it can't find my cgminer file when i try to scp the file. i'm using the exact location of the downloaded file, i even copied it and moved it to a different location with the same failure. basically i keep on bricking my machine and having to reflash factory bin


first step from original PC:
ssh root@x.x.x.x (x.x.x.x is unit IP)

second step from original PC:
scp cgminer root@x.x.x.x:/usr/bin/cgminer-new

third step from unit:
cd /usr/bin
chmod +x cgminer-new
cp cgminer cgminer-orig
cp cgminer-new cgminer
/etc/rc.d/S99cgminer restart (or reboot unit manualy)
OVRGRO
Sr. Member
****
Offline Offline

Activity: 477
Merit: 250


View Profile
November 25, 2014, 02:00:43 AM
 #32


first step from original PC:
ssh root@x.x.x.x (x.x.x.x is unit IP)

second step from original PC:
scp cgminer root@x.x.x.x:/usr/bin/cgminer-new

third step from unit:
cd /usr/bin
chmod +x cgminer-new
cp cgminer cgminer-orig
cp cgminer-new cgminer
/etc/rc.d/S99cgminer restart (or reboot unit manualy)


where we you yesterday? lol, if you saw my post above i finally figurd it out. i hope this helps some other person who isn't linux savvy like me. moving the files from the host computer and not while in the antminer unit worked wonders, who'd a thunk it.

As to the software itself, seems to be working great. 0 connection drops except my  twice a day restart, in case it goes down while i'm out. All S3's are at 635 minutes now, i'm guessing they'll see 719 before it's done. thank you nicehash 7queue slimz
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 29, 2014, 05:24:02 PM
 #33

Any update to S4 binaries?
agent932
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
November 30, 2014, 12:15:36 AM
 #34

Seen any binaries for the C1?
CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


View Profile
November 30, 2014, 05:32:00 AM
 #35

Seen any binaries for the C1?

test it with the s3 version, there shouldnt be any difference with them.. (remember to keep a copy of the original version)

node-vps.com - Tron / Masternode hosting services
emdje
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile WWW
November 30, 2014, 06:48:02 PM
 #36

Currently testing this for innosilicon's A2 miners: https://nicehash.com/?p=miners&a=0&d=1&addr=1FiHCFcP4ovbV89nGhYEMWXSZsWnGUASSe
Image for A2 will be posted here when testing is complete: https://bitcointalk.org/index.php?topic=672969.new#new

idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 01, 2014, 12:10:10 PM
 #37

Today tested again AntMinerS4-cgminer.zip, unpacked, upload to the unit but not working:

root@antMiner:/usr/bin# ./cgminer-nicehash --help
./cgminer-nicehash: line 1: syntax error: unexpected "("

emdje
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile WWW
December 01, 2014, 04:31:06 PM
 #38

Extranonce submission for Innosilicon A2 scrypt miners:

Link to image with CGminer 3.9.0 and Extranonce submission: https://mega.co.nz/#!XQ02naSC!oSENaKhSdJiIkzad9kdH3I7eMyqNfbUzVSnyxkrsPgw

If you want Extranonce for Nicehash for example the pool settings should be:
cgminer -o stratum+tcp://stratum.nicehash.com:3334#xnsub -u enterYourBTCaddress -p x

NOTE: did not work for me when set in miningrigrentals, only directly on the miner trough the web-interface

nssminer
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
December 04, 2014, 02:11:34 AM
 #39

Works nice! Thanks for the efforts! ***EDIT:Antminer S3's, for those wondering***


idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 04, 2014, 09:06:55 PM
 #40

Binaries for antminer S4 from nicehash.com site does not work. It is compiled for another type of machine.
Another thing which does not work with antminer S4 is difficulty setting with password parameter d=2048. Site stats shows 2048 but cgminer shows 1k or 1024. And from that reason it is not hashing with full power.
If You solve it I will be glad to try it again.
Cyper_BLC
Sr. Member
****
Offline Offline

Activity: 469
Merit: 270


Reverse Engineer


View Profile
December 04, 2014, 09:52:15 PM
 #41

hi nicehash, i am hashing 1Th on your pool but you must to know;
S4 and C1 uses ram file system (initramfs) from SD card, So our any changes will not stay forever, it will work until reboot.
if you want a solid solution, you can teach initramfs modification to us simply.
Best Regards.

For donations : 1CYPERv5yZ4c9FRzPyCz5u8vhttyKmVkto
Emeğe Saygı Göstermeyenler, BECERIKSIZ kişilerdir.
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 04, 2014, 10:25:56 PM
 #42

hi nicehash, i am hashing 1Th on your pool but you must to know;
S4 and C1 uses ram file system (initramfs) from SD card, So our any changes will not stay forever, it will work until reboot.
if you want a solid solution, you can teach initramfs modification to us simply.
Best Regards.

It is not problem to log in S4 via ssh and upload binary. Problem is that binary is not compiled for S4.
vegasguy
Legendary
*
Offline Offline

Activity: 1428
Merit: 1003


"Yobit pump alert software" Link in my signature!


View Profile
December 07, 2014, 07:24:33 AM
 #43

Ok for us noobs that have no idea how to use linux or putty, Ive got a really dumb question. How come you (the devs) dont make it so that we can log in to our antminers and use the "upgrade" option, and reflash the modified binary file? This to me would be by far the easiest solution. Does this not upgrade cgminer? Is there something I dont know?

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
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
December 07, 2014, 08:17:47 AM
 #44

Ok for us noobs that have no idea how to use linux or putty, Ive got a really dumb question. How come you (the devs) dont make it so that we can log in to our antminers and use the "upgrade" option, and reflash the modified binary file? This to me would be by far the easiest solution. Does this not upgrade cgminer? Is there something I dont know?

We are waiting for Bitmaintech to incorporate this patch into the firmware, but is not released yet, and currently we don't have release date for the new Antminers firmware. Until then, the only way is to manually upload cgminer binary.

vegasguy
Legendary
*
Offline Offline

Activity: 1428
Merit: 1003


"Yobit pump alert software" Link in my signature!


View Profile
December 07, 2014, 08:21:45 AM
 #45

Im sorry Im not a software dev, but is there anyway to take their existing firmware and modify it? In other words put the image in their format that their upgrade tool will recognize. They also have a restore command, is there anyway we could use that?

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
raskul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
December 10, 2014, 07:51:24 AM
 #46

i have no clue how to apply this
i have;

2 x S3+
3 x SP10
1 x SP20
1 x SP35

any help would be greatly appreciated.

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
xZork
Hero Member
*****
Offline Offline

Activity: 642
Merit: 500


View Profile
December 10, 2014, 09:24:04 PM
 #47

Just got it working on 2 S3+ units. I had to use PuTTY and WinSCP together because I am a noob... who cares it worked and now going to try it on an S1

xZork
Hero Member
*****
Offline Offline

Activity: 642
Merit: 500


View Profile
December 10, 2014, 09:41:41 PM
 #48

Well crap... it says I have Extranonce subscription but my hashrate drops to 40-50 ghs....  I messed something up.

xZork
Hero Member
*****
Offline Offline

Activity: 642
Merit: 500


View Profile
December 10, 2014, 10:08:13 PM
 #49

When I mine on a different pool my hashrate is fine, but when I use westhash it drops. Is something wrong with the pool?

Antuam
Legendary
*
Offline Offline

Activity: 1708
Merit: 1003



View Profile
December 11, 2014, 05:00:08 PM
 #50

Hello.

I am testing it in antMiner S3 Bath 8.
I Update the last firmware antMiner_S320141126.bin, update the cgminer 4.7.0 and add #xnsub in the pool.
But in 20min, the S3 stop mining and reboot cgminer all the time  Huh. I load default config, but the problem continue. Did you past this has anyone?

I was reinstall the firmware antMiner_S320141024.bin and now it is worked again. I was installed the cgminer 4.7.0. and add #xnsub in the pool and work OK.

I search a new versión of cgminer 4.7.1 or 4.8, but I don't found any new version for S3. If is posible anyone compile it, please?.

If is possible do it in antMiner C1?

Best regards.
Antuam

           ▀██▄ ▄██▀
            ▐█████▌
           ▄███▀███▄
         ▄████▄  ▀███▄
       ▄███▀ ▀██▄  ▀███▄
     ▄███▀  ▄█████▄  ▀███▄
   ▄███▀  ▄███▀ ▀███▄  ▀███▄
  ███▀  ▄████▌   ▐████▄  ▀███
 ███   ██▀  ██▄ ▄██  ▀██   ███
███   ███  ███   ███  ███   ███
███   ███   ███████   ███   ███
 ███   ███▄▄       ▄▄███   ███
  ███▄   ▀▀█████████▀▀   ▄███
   ▀████▄▄           ▄▄████▀
      ▀▀███████████████▀▀
DeepOnion      ▄▄██████████▄▄
    ▄███▀▀      ▀▀█▀   ▄▄
   ███▀              ▄███
  ███              ▄███▀   ▄▄
 ███▌  ▄▄▄▄      ▄███▀   ▄███
▐███  ██████   ▄███▀   ▄███▀
███▌ ███  ███▄███▀   ▄███▀
███▌ ███   ████▀   ▄███▀
███▌  ███   █▀   ▄███▀  ███
▐███   ███     ▄███▀   ███
 ███▌   ███  ▄███▀     ███
  ███    ██████▀      ███
   ███▄             ▄███
    ▀███▄▄       ▄▄███▀
      ▀▀███████████▀▀
.....DeepVault.....
....Blockchain File Signatures....
...deeponion.org...
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
December 14, 2014, 09:52:31 PM
 #51

We have prepared pre-compiled binaries for Spondoolies SP20 with cgminer 4.8 and extranonoce.subscribe patch (instructions included in README file):
Spondoolies-SP20-cgminer-4.8.0.zip (MD5 checksum: 727bbea1dbee633a7f36825a06596c3a)

tmpwhore
Full Member
***
Offline Offline

Activity: 266
Merit: 100



View Profile
December 15, 2014, 01:10:08 AM
 #52

For S3+ users, you will have to change permissions on the new cgminer file. Easiest way:

chmod 777 cgminer

in the /usr/bin directory. Then it works like a charm.

Also make sure when connecting with winscp that you pull down the protocol option to "SCP" the default is SFTP. You won't connect.

tmpwhore
Full Member
***
Offline Offline

Activity: 266
Merit: 100



View Profile
December 15, 2014, 02:46:28 AM
 #53

Ok big problem. After a while the hashrate goes down to like 40Gh/s instead of the usual 450Gh/s. I guess it's still fucked like the extronance proxy. I would avoid this unless there is a fix or I can do some more testing.

I repeat for the S3+ Antminer DO NOT APPLY THIS FIX it will fuck you up for now. Hopefully you've backed up the old cgminer. I've put one miner on this fix to see if I can get it to work. I'm going to see how long, if ever, it will take to recover. So don't apply this "fix" until I've tested it after at least 24 hours. It could be that when changing coins it's gradually reducing the hash rate then gradually ramping it up. Whether this is worth it or not I don't know but I'll be watching.

If you want to reconnect without using extronance just kill the #xnsub suffix on the address. After it dies I'll try and connect without the extronance and see if it's actually the new cgminer causing the problem.

tmpwhore
Full Member
***
Offline Offline

Activity: 266
Merit: 100



View Profile
December 15, 2014, 03:31:43 AM
 #54

Well crap... it says I have Extranonce subscription but my hashrate drops to 40-50 ghs....  I messed something up.

Yep this is a common problem. I'm doing tests now but so far no go. Read my posts. Trying to see if it's the newest flash or the cgminer as even if I turn extronance off it still does the hashrate nosedive of death with no recovery after 20+ mins on the new cgminer from nicehash.

tmpwhore
Full Member
***
Offline Offline

Activity: 266
Merit: 100



View Profile
December 15, 2014, 04:41:32 AM
 #55

More tests to go but it looks like the culprit is the latest flash of the S3+ miner. DO NOT USE THE LATEST FLASH FROM BITMAIN. It causes the hashrate nosedive of death(at least on nicehash). Testing with the version below the top:


antMiner_S320141024.bin

and the new CGminer with extronance ON...will advise, so far so good.

tmpwhore
Full Member
***
Offline Offline

Activity: 266
Merit: 100



View Profile
December 15, 2014, 10:30:07 AM
 #56

Cinfirmed bad or incompatible build. Nicehash I would post something about this on the extronance bug quash cgminer page...

Also just to let you know nicehash your S3+ extronance bug quash works beautifully on the S3+ as long as it's build

antMiner_S320141024.bin

Which is one before the latest. If people have the latest build for the Antminer you get the "hashrate nosedive of death"(confirmed on multiple miners) whether they use the new cgminer build or not. I'm going to put an email today for bitmain with some screenies and an explanation. I would advise people on your site of the new build problem because if the S3+ people flash with the latest bitmain build it basically breaks their Miner to use on your pool.


antMiner_S320141024.bin  <--------Good build

antMiner_S320141126.bin  <--------Bad build(latest)


I'll do my part and email Bitmain with screenshots and an explanation of the problem.

geoffrey
Jr. Member
*
Offline Offline

Activity: 36
Merit: 0



View Profile
December 15, 2014, 12:29:39 PM
 #57

someone has a working cgminer with extranonce subscription for the antminer S4 ?
The one on the nicehash site doesn't seem to work....
MissouriMiner
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
December 15, 2014, 07:49:15 PM
 #58

someone has a working cgminer with extranonce subscription for the antminer S4 ?
The one on the nicehash site doesn't seem to work....

+1

However, I am getting over 1900 GH/s accepted using default code.  I set the following in /etc/init.d/cgminer.sh based on the site recommendation.  Edit the line with PARAM= and add "--queue 0 --scan-time 1 --expiry 1".  This is not persistent past a reboot, so have to edit again if reboot occurs.
eljotik
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
December 15, 2014, 09:08:24 PM
 #59

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

25K Country Targeted Visitors $8.75 --> ebiteo.com
Cyper_BLC
Sr. Member
****
Offline Offline

Activity: 469
Merit: 270


Reverse Engineer


View Profile
December 15, 2014, 09:15:13 PM
 #60

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 ?

For donations : 1CYPERv5yZ4c9FRzPyCz5u8vhttyKmVkto
Emeğe Saygı Göstermeyenler, BECERIKSIZ kişilerdir.
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.
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

25K Country Targeted Visitors $8.75 --> ebiteo.com
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

25K Country Targeted Visitors $8.75 --> ebiteo.com
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: 251
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: 1428
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: 251
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: 73
Merit: 10


View Profile
December 27, 2014, 11:49:11 AM
 #73

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

Activity: 851
Merit: 1002


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: 1344
Merit: 1000



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
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


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: 1344
Merit: 1000



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
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


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
Jr. Member
*
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: 506
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
miguelmorales85
Hero Member
*****
Offline Offline

Activity: 547
Merit: 501


View Profile
March 12, 2015, 01:42:00 AM
 #81

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?

what can I do after I check if the SP20 have the cgminer4.7.0 or 4.8.0?

in the pool configuration does the #xnsub parameters goes after or before the stratum+tcp:URL address?

tia
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
March 12, 2015, 01:34:56 PM
 #82

what can I do after I check if the SP20 have the cgminer4.7.0 or 4.8.0?

in the pool configuration does the #xnsub parameters goes after or before the stratum+tcp:URL address?

If you have cgminer4.7.0, then first update your miner to the latest firmware. And then you have to use SSH (download putty on windows or use "ssh" command on linux/mac). You can connect as "root" (password "root") user to your miner's IP address and then issue these commands:

cp /etc/bin/cgminer /etc/bin/cgminer.orig
cp /cgminer-extranonce  /usr/local/bin/cgminer
cp /cgminer-extranonce  /etc/bin/cgminer

Then set your pool connection URL like this:

stratum+tcp://stratum.westhash.com:3334#xnsub

or

stratum+tcp://stratum.nicehash.com:3334#xnsub

And restart miner.

Now you'll notice cgminer4.8.0 version on your miner's home page and extranonce should be enabled.

duffer
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
March 13, 2015, 09:37:53 AM
 #83

And...S4....Please?

Thx.....
miguelmorales85
Hero Member
*****
Offline Offline

Activity: 547
Merit: 501


View Profile
March 15, 2015, 05:34:25 AM
 #84

what can I do after I check if the SP20 have the cgminer4.7.0 or 4.8.0?

in the pool configuration does the #xnsub parameters goes after or before the stratum+tcp:URL address?

If you have cgminer4.7.0, then first update your miner to the latest firmware. And then you have to use SSH (download putty on windows or use "ssh" command on linux/mac). You can connect as "root" (password "root") user to your miner's IP address and then issue these commands:

cp /etc/bin/cgminer /etc/bin/cgminer.orig
cp /cgminer-extranonce  /usr/local/bin/cgminer
cp /cgminer-extranonce  /etc/bin/cgminer

Then set your pool connection URL like this:

stratum+tcp://stratum.westhash.com:3334#xnsub

or

stratum+tcp://stratum.nicehash.com:3334#xnsub

And restart miner.

Now you'll notice cgminer4.8.0 version on your miner's home page and extranonce should be enabled.

it worked! thanks you very much!!
russy121
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
March 16, 2015, 07:02:59 AM
 #85

has anyone able to get this to work on the antminer s1
everytime i do it i get a ton of discarded files and hardly any accepted ones
ty
Subw
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
March 20, 2015, 09:47:58 PM
 #86

And working AntMiner S5:


why there is so much rejects?
Subw
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
March 20, 2015, 09:49:12 PM
 #87

has anyone able to get this to work on the antminer s1
everytime i do it i get a ton of discarded files and hardly any accepted ones
ty
first update firmware for S1
russy121
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
March 23, 2015, 08:45:44 PM
 #88

ty for the reply

but can you paste me the link for the firmware you suggest
as i did it with the latest firmware from bitmain
Subw
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
March 23, 2015, 11:44:21 PM
 #89

i take it from bitmain's site: antMiner-S1_openwrt20140207.bin
follow the instructions in txt file from cgminer archive and you will be fine. i have eight S1 and they work with extranonce @nicehash
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
March 24, 2015, 07:00:09 AM
 #90

Here is an updated firmware for AntMiner C1 which includes cgminer 4.9 with extranonce.subscribe, feel free to try it out: https://www.nicehash.com/download/antminer_c1_4.9.0.tar.gz

Please note that this firmware was provided by third-party (smit1237; https://bitcointalk.org/index.php?action=profile;u=363314), and was confirmed to be working (https://bitcointalk.org/index.php?topic=841344.msg10706798#msg10706798)

russy121
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
March 24, 2015, 08:02:20 PM
 #91

same firmware as i have used but still a ton of discards accepted=5107 discarded=321456 seams very high to me
i have followed the nicehash/westhash guide
Subw
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
March 25, 2015, 10:03:12 PM
 #92

same firmware as i have used but still a ton of discards accepted=5107 discarded=321456 seams very high to me
i have followed the nicehash/westhash guide

same here, i don't think this is a problem, pool registers full speed of the miner so don't worry
russy121
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
March 26, 2015, 07:01:23 AM
 #93

phewww i will just leave it running then ty
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
March 27, 2015, 10:40:27 AM
 #94

Here are some updated firmwares for AntMiners with extranonce.subscribe and fresh cgminers:

AntMiner S4:
https://www.nicehash.com/download/AntMiner-S4-SD-firmware_cgminer_4.9.0_nicehash_and_normal_fan.tar.gz

AntMiner S5:
https://www.nicehash.com/download/AntMiner-S5-SD-firmware_cgminer_4.9.0_nicehash_and_performance_graph.tar.gz
(There is some additional features in S5 firmware, performance graphs like on sp20e, they can be accesed by pointing browser to http://miner_ip/cgi-bin/graph.rrd)

AntMiner C1:
https://www.nicehash.com/download/AntMiner_C1_SD-firmware_cgminer_4.9.0_nicehash.tar.gz

Details explained here: https://www.nicehash.com/index.jsp?p=software#asic

oakmaster
Jr. Member
*
Offline Offline

Activity: 43
Merit: 0


View Profile
April 10, 2015, 06:38:10 AM
 #95

What about the S2
nicehash
Legendary
*
Offline Offline

Activity: 851
Merit: 1002


NiceHash.com


View Profile WWW
April 13, 2015, 06:19:16 AM
 #96

A quick update for Spondoolies users (SP20, SP3x): if you upgraded to a recent stable firmware you'll have an option to set "ExtraFlag" = "2" at the "Settings" page. After setting this flag you only have to reboot the miner (not just restart the mining, but actually reboot it) and it will boot into cgminer4.8.0 with extranonce.subscribe enabled (no need to use SSH, etc.). Then set your pool connection URL and you're all set:

stratum+tcp://stratum.westhash.com:3334#xnsub

or

stratum+tcp://stratum.nicehash.com:3334#xnsub

twebit
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
April 17, 2015, 09:06:55 PM
 #97

Hi, can somebody tell me the commands to put in ubuntu command line after I downloaded the git repo for cgminer 4.9.1 how to include the extranonce subscribe extension please? I see all kinds of links to where it is but I don't know how to merge it with the one on my computer.
Thanks
omshree
Full Member
***
Offline Offline

Activity: 260
Merit: 100


View Profile
March 30, 2017, 12:51:05 PM
 #98

what does exranonce do?

Donate if you like 1ANALSEXXGMd6HaN6CzQXtURLC5H9TjKoo
emdje
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile WWW
March 30, 2017, 01:58:59 PM
 #99

Take a look at this to read up on what extranonce does: https://bitcointalk.org/index.php?topic=1040859.0

kano
Legendary
*
Online Online

Activity: 2478
Merit: 1042


Linux since 1997 RedHat 4


View Profile
March 31, 2017, 02:54:46 PM
 #100

what does exranonce do?
It says to the work source that is providing you with work, that they are allowed to change the coinbase transaction however they like whenever they like.
It is a major security risk.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
omshree
Full Member
***
Offline Offline

Activity: 260
Merit: 100


View Profile
April 02, 2017, 05:35:38 AM
 #101

Thanx guys!

Donate if you like 1ANALSEXXGMd6HaN6CzQXtURLC5H9TjKoo
Pages: 1 2 3 4 5 6 [All]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!