0
I have created a batch file and I tried to run it. But when I click on the batch file to run it. But the command line window appears for a fraction of a second and then disappears.
cgminer.exe --gekko-2pac-freq 200 -o stratum+tcp://peercoin.ecoining.com:3336 -u username.1 -p x
=========================================================== I have tried the below in a batch file, it gives the below output in the command line
cgminer.exe -o stratum+tcp://peercoin.ecoining.com:3336 -u username.1 -p x
cgminer version 4.10.0 - Started: [2017-12-24 04:09:20.602]
(5s):528.0M (1m):507.5M (5m):516.4M (15m):366.6M (avg):516.0Mh/s
A:0 R:0 HW:2 WU:5.6/m
Connected to peercoin.ecoining.com diff 16.4K with stratum as user username
Block: c22a0a3f... Diff:1.61G Started: [04:15:53.420] Best share: 98
[U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
0: AMU GS-10018: | 528.0M / 516.0Mh/s WU: 5.6/m
[2017-12-24 04:09:16.557] Started cgminer 4.10.0
[2017-12-24 04:09:19.601] Probing for an alive pool
[2017-12-24 04:09:20.083] Pool 0 difficulty changed to 16384
[2017-12-24 04:09:20.602] Network diff set to 1.61G
[2017-12-24 04:15:53.420] Stratum from pool 0 detected new block at height 0
============================================================
Is the issue with the script for batch file?
The Syntax for the cgminer.
Run cgminer using following the commands below:
cgminer.exe --gekko-2pac-freq 200
-o stratum+tcp://solo.ckpool.org:3333
-u (your username here) -p (your password here)
Also how to verify the CGi miner is using the Gekko 2Pac BM1384 USB miner?
I forgot to mention that the reason why, when you try to run cgminer with the --gekko-freq XXX option, it immediately fails, is because your cgminer is not compiled to support the gekko. (compiled with "--enable-gekko" When you run it without that option, it works, but it doesn't identify the 2Pac properly, and enumerates the device as "AMU" and doesn't hash properly. – DvG – 2017-12-25T19:59:27.070
Your batch commands to run cgminer look correct, no problems there. – DvG – 2017-12-25T20:08:59.523
Here is a link to cgminer with gekko that I'm using: https://github.com/vthoang/cgminer
– DvG – 2017-12-25T20:25:39.250Link to all things Gekko Science 2Pac: https://bitcointalk.org/index.php?topic=1764803.0
– DvG – 2017-12-25T20:32:35.063Hey, The issue has been fixed. I'm using windows. I have downloaded a new version of cgminer for the fix. – Matt – 2017-12-28T06:04:09.310