Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: Niann on August 01, 2012, 03:41:45 AM



Title: [Solved] CGMiner, bat files and windows.
Post by: Niann on August 01, 2012, 03:41:45 AM
Hey guys, I am used to work up with .bat files to turn on my miners in just one click, but I am having some problems with cgminer and btcguild lately.
I can still connect manually with no issues whatsoever, but my bat files doesn't seem to work anymore.

Can I have some tips?

Code:
"
@echo on
ECHO "Mine away doc."
ECHO.

cgminer -o http://mine2.btcguild.com:8332/ -u (My user) -p (my password)
"

I know that btcguild doesn't work with passwords anymore, but for some reason I don't seem to be able to just take out the -p.
And the user_miner stuff is not working properly as well.
It might just be a stupid mistake, so please point it out.
(To be honest I would be glad if it was a stupid mistake)

Cheers guys, and thanks.


Title: Re: CGMiner, bat files and windows.
Post by: Niann on August 01, 2012, 03:45:27 AM
Just noticed that I posted this on the wrong place -.-
If a moderator could move it...

*Mining support I suppose*


Title: Re: CGMiner, bat files and windows.
Post by: Schleicher on August 01, 2012, 04:30:08 AM
The BAT file looks good, assuming it's in the same directory as cgminer.
To be sure you can do something like this:
Code:
c:
cd \Users\Klaus\Downloads\cgminer-2.6.1
cgminer -u user -p password -o http://server
pause


Title: Re: CGMiner, bat files and windows.
Post by: OtaconEmmerich on August 01, 2012, 05:20:55 AM
Use the Worker name, NOT your user name at BTCGuild. It should be under Manage Workers.


Title: Re: CGMiner, bat files and windows.
Post by: Niann on August 01, 2012, 03:20:38 PM
The BAT file looks good, assuming it's in the same directory as cgminer.
To be sure you can do something like this:
Code:
c:
cd \Users\Klaus\Downloads\cgminer-2.6.1
cgminer -u user -p password -o http://server
pause

Your suggestion worked sir.
Thank you very much.

Use the Worker name, NOT your user name at BTCGuild. It should be under Manage Workers.

Yeah, I know, but read this.

"After downloading and extracting cgminer, run cgminer.exe. When you launch cgminer.exe, enter the following:
URL: http://mine2.btcguild.com:8332/
Username: [btc guild username]_[worker name]
Password: [leave blank]"