Author

Topic: Help needed / CGminer issue. (Read 162 times)

legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
June 26, 2020, 01:34:18 PM
#10
Cool. Merit given for letting us know the problem was resolved.
Last thing you should now do is lock this topic so it doesn't get spammed. Look at bottom-left of the page and you should see "Lock Topic".

I recall something about -ck removing the Win executable from the last release because of that malware issue to force hackers (and legit users) to re-compile it if they're going to use it under Windoze. Oh, for reference the (locked) thread for cgminer is here in the Software area.
newbie
Activity: 5
Merit: 3
June 26, 2020, 01:18:23 PM
#9
Yes, i got my AV to delete the .exe file, but when i turned it off, and redownloading it, there isnt any .exe file.. seems weird to me.



i got a 4.10 version, that included an .exe file.. thanks for your point in the right direction.

Its working now.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
June 26, 2020, 12:45:15 PM
#8
Got an antivirus program running? It is common for several of them to wrongly tag cgminer.exe as malware because some malware uses it to try stealth mining in the background. If the AV tags it then it probably also quarantined/deleted it.
newbie
Activity: 5
Merit: 3
June 26, 2020, 12:40:48 PM
#7
Then that is your problem - either cgminer got deleted or is residing somewhere else.
The folder should have cgminer.exe, several readme's as well as a couple test .bat files in it.

Ok, but isn't that weird, after I just downloaded the files ?
Before I unpack it, there isn't an .exe file in the downloaded folder.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
June 26, 2020, 12:37:07 PM
#6
Then that is your problem - either cgminer got deleted or is residing somewhere else.
The folder should have cgminer.exe, several readme's as well as a couple test .bat files in it.
newbie
Activity: 5
Merit: 3
June 26, 2020, 10:37:08 AM
#5
For a start, you need to provide the full path to where cgminer is located for it to run...

the .bat file is placed in the cgminer folder. I dont see a cgminer.exe file in that folder.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
June 26, 2020, 10:34:11 AM
#4
For a start, you need to provide the full path to where cgminer is located for it to run...
newbie
Activity: 5
Merit: 3
June 26, 2020, 10:14:30 AM
#3
Right,

Its an Antminer U3, i used this setup:

Antminer U3s can be run on any CGMiner based device. A Windows based PC is recommended although a similar process can be applied on a Raspberry Pi.

1. Plug in the USB cable from the U3 to your computer.

2. Plug in the power supply into the mains.

3. Plug in power supply into the U3.

4. Download the latest version of the mining software (CGMiner) here: download/cgminer-run.rar

5. Download the windows driver installer (Zadig) here: http://ck.kolivas.org/apps/cgminer/zadig/

6. Run Zadig. Use the drop-down to find the "CP 2120 USB to UART Bridge Controller" entry.  If it doesn't show, select "Options->List All Devices"

7. Set the new driver to be WinUSB and click Install (or Re-Install) driver.

8.   If it is successful you will see this message:

9.  Extract cgminer to your chosen location.

10. Create a new file in notepad and enter pool information as below. Save it as a .bat in the same folder as CGMiner:

Code:
cgminer.exe --bmsc-options 115200:0.65 -o XXX -u XXX -p XXX --bmsc-voltage 0800 --bmsc-freq 1306

-o = mining pool address : mining pool port number
-u = workername from your mining pool
-p = password for your worker

11. Run the bat file to start mining (remember to replace "-o XXX -u XXX -p XXX" with your own information).



Ok,  i launched the bat file in command window:

Code:
C:\Users\bergm>cgminer -o stratum+tcp://eu-01.miningrigrentals.com:3333 -u BluRPie.162247 -p x
'cgminer' is not recognized as an internal or external command, operable program or batch file.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
June 26, 2020, 10:11:49 AM
#2
For a start - which Antminer? There is a plethora of them though only 3 that would use USB & cgminer. Nonetheless they are all different...

To see what's up, open a command window first and launch the bat file in there. The bat may still fail but at least the window remains open so you can see the error message(s)
newbie
Activity: 5
Merit: 3
June 26, 2020, 09:57:05 AM
#1
Hello all,

Years ago i was mining altcoins using an antminer.

I recently found my old antminer, and was wondering if it was still working. But i cant get it to work anymore.

The issue is not the miner itself, i cant get cgminer to start. Here is wat i did so far:

- i downloaded Zadig and installed driver CP2102 USB to UART Bridge Controller
- i downloaded CPminer 4.11.1
- i created a .bat file

When i try to run it, cmd prompt shows and disappears in a blink of an eye.

i have no idea what i did wrong. Can someone help me out a bit?


oh, i am running windows 10
Jump to: