Bitcoin Forum
May 11, 2024, 09:49:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Antminer U2 - What software?  (Read 3779 times)
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 17, 2014, 10:39:54 AM
 #1

Hi All,

First of all, I would like to say thanks to all the members on the site. Over the last few days, I have spent many MANY hours on the internet, learning and researching all about bitcoins, cryptocurrency and mining. And if it wasn't for a site like this, with an active memberbase, I know I wouldn't have learnt half as much.

Now I am that I am quite behind the band wagon, but it is still something that interests me, even if its for fun rather than profit.

I ordered and received Antminer u2, before I really understood what it was, and while I was waiting for it I was attempting to solo mine, using BitCoinCore and GUIminer on my laptop. I had no success. All sorts of problems with directories, user access permissions etc led me to get frustrated and abandoned the solo mining idea. I then went and signed up with BTCGuild so I could get to grips with pool mining. (that was running fine, but my GUIminer is playing up again)

I did like the GUIminer for the easy interface. I don't have vast script writing/programming experience, and I liked the idea of something simple to use, rather than writing command line code to change something.

So, Antminer came, I went and read manuals, tutorials, watched vids etc, but I still can't get it operational. I ended up using CGMiner, but it won't stay open. I am fairly sure that I've installed driver correctly. My BitCoinCore is all over the shot now, since I've moved files & directories around to try and get GUIminer working, and my Antminer is sitting on my desk, unused.

In the not too distant future, I want to get a USB hub and around 8 Block Eruptors (seem better than antminer) and have them running on a standalone rig. But before I do that, I wanted to make sure that I could get to grips with things first.


Would I be correct in thinking that I have really messed it up by moving BitCoinCore data around? How would I ensure that I have the correct drivers (actually, what are the correct ones?)? And what software miner is EASY, simple to use and setup for someone who has a little bit of technical knowledge, but not a lot of patience?

Thanks in advance,
JusticeEmpire
1715420999
Hero Member
*
Offline Offline

Posts: 1715420999

View Profile Personal Message (Offline)

Ignore
1715420999
Reply with quote  #2

1715420999
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715420999
Hero Member
*
Offline Offline

Posts: 1715420999

View Profile Personal Message (Offline)

Ignore
1715420999
Reply with quote  #2

1715420999
Report to moderator
1715420999
Hero Member
*
Offline Offline

Posts: 1715420999

View Profile Personal Message (Offline)

Ignore
1715420999
Reply with quote  #2

1715420999
Report to moderator
byt411
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


View Profile
April 17, 2014, 01:07:53 PM
 #2

Are you sure you did it correctly?
Try this guide, it's actually quite straightforward and simple:
https://bitcointalk.org/index.php?topic=555638.0
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 17, 2014, 02:55:24 PM
 #3

Hiya,

thanks for the reply,

Yeah, I have, and all I get from that is a blank CMD screen, with a cursor flashing occassionally. I've left this running for a couple of hours and no change.
byt411
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


View Profile
April 17, 2014, 03:32:01 PM
 #4

Hiya,

thanks for the reply,

Yeah, I have, and all I get from that is a blank CMD screen, with a cursor flashing occassionally. I've left this running for a couple of hours and no change.

Can you paste me your settings? Or give me a screenshot to see what's going on?
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 18, 2014, 08:01:44 AM
 #5

cgminer.exe -set-device antminer:clock=x0981 -o http://eu-stratum-btcguild.com:3333 -u (username) -p (password) -S antminer:all

that just causes CMD to open then close quickly.

when I ran it through exe and input variables via CMD, that's when I just got the blank screen with occassional blinking cursor

-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
April 18, 2014, 09:55:46 AM
 #6

cgminer.exe -set-device antminer:clock=x0981 -o http://eu-stratum-btcguild.com:3333 -u (username) -p (password) -S antminer:all

that just causes CMD to open then close quickly.

when I ran it through exe and input variables via CMD, that's when I just got the blank screen with occassional blinking cursor


"-set-device antminer:clock=x0981" are not cgminer commands. cgminer commands for overclocking would be: "--anu-freq 250"

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kabopar
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
April 18, 2014, 11:15:04 AM
 #7

cgminer.exe -set-device antminer:clock=x0981 -o http://eu-stratum-btcguild.com:3333 -u (username) -p (password) -S antminer:all

that just causes CMD to open then close quickly.

when I ran it through exe and input variables via CMD, that's when I just got the blank screen with occassional blinking cursor


Looks like your short-cut or batch file is a mix of cgminer and bfgminer.  Both can be used for the antminer U2, as long as you set the appropriate drivers and correct parameters.
Assuming that you are running Windows:
Drivers:  For cgminer use the win-usb driver most probably with the assistance of the Zadig utility.  Bfgminer uses the silabs VCP DRIVERS. Not Zadig/win-usb. If you wish to shift to bfgminer, remove the win-usb driver by going to device manager with it plugged in, right-click choose driver settings make sure the checkbox for delete driver is ticked, then install the Silabs VCP driver from http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx.

Either Cgminer or Bfgminer configuration can be controlled by command line/short-cut/batch file parameters, or by entries in their configuration file (default is cgminer.conf for cgminer and bfgminer.conf for bfgminer).
for bfgminer the Antminer U1/2 parameters in a batch file would look like:
bfgminer.exe -S antminer:all --set-device antminer:clock=x0981
(replace x0981 with the clock setting of your choice, see the Antminer manual at https://www.bitmaintech.com/userfiles/download/AntMiner%20U1%20user%20guide.pdf)
you can add your pool and user settings there as well
-o stratum+tcp://stratum.bitcoin.cz:3333 -u User -p Pwd
(or when bfgminer starts, then save the configuration file to avoid future reentry).
There is plenty of information at this forum on setting Antminer U1/U2 devices.  Make sure that you run them on a well powered USB hub with some cooling.

Cheers

justbtcme
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
April 18, 2014, 07:01:22 PM
Last edit: January 28, 2015, 07:16:13 AM by justbtcme
 #8

 Cheesy
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 19, 2014, 07:36:22 AM
 #9

Kabopar - Well that makes sense, as I have probably confused myself in the process of trying to get it working.

I tried using the config you suggested, and its not finding my URL. The address is correct (eu-stratum.btcguild.com:3333), I am just wondering if the prefixes are correct?

Just for clarity, the Antminer is plugged straight into laptop. I want to be able to get one working first before even thinking about buying a rig steup
kabopar
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
April 19, 2014, 08:40:09 AM
 #10

Kabopar - Well that makes sense, as I have probably confused myself in the process of trying to get it working.

I tried using the config you suggested, and its not finding my URL. The address is correct (eu-stratum.btcguild.com:3333), I am just wondering if the prefixes are correct?

Just for clarity, the Antminer is plugged straight into laptop. I want to be able to get one working first before even thinking about buying a rig steup

On BFGminer, I'm using http://stratum-lb-usa48.btcguild.com:3333 for BTCguild.  Perhaps you need to add the "http://". 
The BTC Guild support page says that its addresses are
Host (USA)    stratum.btcguild.com:3333
Host (EU)    eu-stratum.btcguild.com:3333
In some cases I used "stratum+tcp://stratum.bitcoin.cz:3333", so it looks like the "http://" may not be mandatory, however it would be easy to try.
Regarding running the Antminer U2 directly from a laptop port, there is the possibility that it requires more current than the port can provide.  I don't think that I tried to run it ever from a laptop or PC port.

Cheers
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 19, 2014, 08:50:40 AM
 #11

Ok, so "stratum+tcp://" and "http://" are the same? I've tried both but with no success

If the Antminer isn't getting the correct power requirements to run, would BFGminer not through up an error? I do have a USB3.0 port on the laptop which I haven't tried yet

Also, does it matter what order the commands are in? Here's my 'work in progress' .bat

bfgminer.exe -o http://stratum.btcguild.com:3333 -u XXX -p XXX -S antminer:all --set-device antminer:clock=x0781


BFG is saying that the URL isnt correct
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 19, 2014, 08:58:17 AM
 #12

Right........................who wants to give me a stupidity slap first???


It seems to be working now, it was an ID10T error!


I had changed my worker name on BTCGuild and hadn't amended the file.

Thanks for all help and input so far, sorry that I made stupid error.
kabopar
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
April 19, 2014, 11:30:25 AM
 #13

Don't worry about that, we all make our silly mistakes, hopefully to learn from them Smiley 
(I had a similar typo error when starting my first Antminer S1, dreading that it was DOA, ended up being a typing error in the worker parameters)
Enjoy your hashing adventure

Cheers
blackvoice
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
April 21, 2014, 08:26:58 AM
 #14

Hi All,

First of all, I would like to say thanks to all the members on the site. Over the last few days, I have spent many MANY hours on the internet, learning and researching all about bitcoins, cryptocurrency and mining. And if it wasn't for a site like this, with an active memberbase, I know I wouldn't have learnt half as much.

Now I am that I am quite behind the band wagon, but it is still something that interests me, even if its for fun rather than profit.

I ordered and received Antminer u2, before I really understood what it was, and while I was waiting for it I was attempting to solo mine, using BitCoinCore and GUIminer on my laptop. I had no success. All sorts of problems with directories, user access permissions etc led me to get frustrated and abandoned the solo mining idea. I then went and signed up with BTCGuild so I could get to grips with pool mining. (that was running fine, but my GUIminer is playing up again)

I did like the GUIminer for the easy interface. I don't have vast script writing/programming experience, and I liked the idea of something simple to use, rather than writing command line code to change something.

So, Antminer came, I went and read manuals, tutorials, watched vids etc, but I still can't get it operational. I ended up using CGMiner, but it won't stay open. I am fairly sure that I've installed driver correctly. My BitCoinCore is all over the shot now, since I've moved files & directories around to try and get GUIminer working, and my Antminer is sitting on my desk, unused.

In the not too distant future, I want to get a USB hub and around 8 Block Eruptors (seem better than antminer) and have them running on a standalone rig. But before I do that, I wanted to make sure that I could get to grips with things first.


Would I be correct in thinking that I have really messed it up by moving BitCoinCore data around? How would I ensure that I have the correct drivers (actually, what are the correct ones?)? And what software miner is EASY, simple to use and setup for someone who has a little bit of technical knowledge, but not a lot of patience?

Thanks in advance,
JusticeEmpire

---------------------------

GPUminer is the best rig machine

I think you should not use USB hub, USB hub rig could never get back the investment

Huangww
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
April 21, 2014, 11:54:07 AM
 #15

It looks very complex. Cool
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 22, 2014, 09:35:08 AM
 #16

Any ideas why my script isn't working anymore.

It was running fine, just went to load it, and its now saying I have errors. Well, nothing has changed, unless my pool has decided to change something?
byt411
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


View Profile
April 22, 2014, 04:09:07 PM
 #17

Any ideas why my script isn't working anymore.

It was running fine, just went to load it, and its now saying I have errors. Well, nothing has changed, unless my pool has decided to change something?

Well, what error are you getting?
JusticeEmpire (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 22, 2014, 05:11:34 PM
 #18

I started a seperate topic but haven't had any response yet.

It's saying there is a problem with the URL/Pool info.

I just reloaded it to get the error wording, but its started up fine Huh??


Any ideas?
byt411
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


View Profile
April 22, 2014, 05:16:10 PM
 #19

I started a seperate topic but haven't had any response yet.

It's saying there is a problem with the URL/Pool info.

I just reloaded it to get the error wording, but its started up fine Huh??


Any ideas?

It's probably because your computer hasn't connected it when you switched it on??
If you are using CGWatcher, then it's because of a bug.
Pages: [1]
  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!