RZBRI (OP)
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 07, 2013, 09:47:49 AM Last edit: May 07, 2013, 12:59:27 PM by RZBRI |
|
Hey there,
Im pretty new to all this btc stuff and all the tech talk that comes with it... Ive gotten into LTC mining, thanks to the help of someone I met on a random chat, they helped walk me through it (on minerd).. I've been trying to set up my miner with another pool, but its not working? Ive downloaded ANOTHER miner (cgminer), to see how it goes with that, but thats not working either o.o
I use a late 2008 mac, and I usually user Terminal(command line interface) to start my miner up. The only reason Im able to do this on terminal is because i know how to cd to where my miner is and then i know what to type in to configure it (vocab ??) [ ./minerd -c FILE ]
Ive tried making other .json files for the other pools ive tried joining, putting them in the same directory as the miner and starting them up in the same way, but i keep getting 'no such file or directory'
The way im making these .json is by just changing the extension. Should I be getting software for this?
Im so lost :C Im really noob right now, but I really do want to at least get the basics of all this and sort of manage to find my way on my own..
Help please ?
|
|
|
|
maxpower
|
|
May 07, 2013, 11:56:33 AM |
|
You should be able to create JSON files in any text editor, so I doubt that that's the problem. The first thing I would try is making sure that your JSON file is in the same directory as minerd. If it's not, you can move or copy it there using the terminal or in Finder, whichever you prefer.
FWIW, I don't think cgminer will run on a 2002 Mac.
|
|
|
|
RZBRI (OP)
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 07, 2013, 01:16:37 PM |
|
Lol, ok so, my bad, late 2008 mac ** sorry, Also, im pretty sure the miner and json are in the same directory, Ive kept them in the same directory all the times ive tried... Ive copied all my json files in the cgminer directory (using finder! xD cuz i wouldnt know how to do it on terminal if my life depended on it lol.) and i tried again.. it keeps telling me illegal instruction... D: ./cgminer -c litepool.json thats what i type in after i do cd, but it tells me Illegal instruction..ii tried with the config that usually works but that also tells me illegal instruction.. when i do it in minerd it tells me that it failed and then gives me a huge list of controls that i dont know how to use: [2013-05-07 14:11:07] JSON decode of litecoin.json failed minerd version 2.1.2
Usage: minerd [options]
Supported options: --help (-h) Display this help text
--config FILE (-c FILE) Load a JSON-format configuration file
--algo XXX (-a XXX) Specify the algorithm to use (default: scrypt)
--quiet (-q) Disable per-thread hashmeter output
--debug (-D) Enable debug output
--no-longpoll Disable X-Long-Polling support
--protocol-dump (-P) Verbose dump of protocol-level activities
--retries N (-r N) Number of times to retry if JSON-RPC call fails (default: retry indefinitely)
--retry-pause N (-R N) Number of seconds to pause between retries (default: 30)
--scantime N (-s N) Upper bound on time spent scanning current work, in seconds (default: 5)
--timeout N (-T N) Connection timeout, in seconds (default: 180)
--syslog Use system log for output messages (default: standard error)
--threads N (-t N) Number of miner threads (default: number of processors)
--url URL (-o URL) URL for JSON-RPC server (default: http://127.0.0.1:9332/)
--userpass USERNAME:PASSWORD (-O USERNAME:PASSWORD) Username:Password pair for JSON-RPC server
--user USERNAME (-u USERNAME) Username for JSON-RPC server
--pass PASSWORD (-p PASSWORD) Password for JSON-RPC serverand when i do -c FILE it tells me command not found D:
|
|
|
|
maxpower
|
|
May 07, 2013, 01:39:39 PM |
|
Okay, I've spotted a couple of problems. First, minerd doesn't take a config file (sorry, I should have noticed that right away). You pass it all the information it needs on the command line when you run it, like this: ./minerd --url <your pool's url>:<your pool's port> --userpass <your worker's username>:<your worker's password>
So, for example, if you were mining from waycoolpool.com on port 8333, and your worker's username was ghzworker and its password was foo, you'd run this: ./minerd --url http://waycoolpool.com:8333 --userpass ghzworker:foo
There are some other command line options you can pass in to tweak cpuminer, but that should work for most setups. More information on cpuminer is here: https://bitcointalk.org/index.php?topic=55038.0Second, it sounds like your cgminer is corrupt, or there's something wrong with your cgminer configuration. Do you see a list of your GPU device(s) if you type "./cgminer -n" ?
|
|
|
|
RZBRI (OP)
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 07, 2013, 02:43:18 PM |
|
Well, when i usually use minerd, i use my litecoin-cfg.json file to make it work and it works no problem, i can usually expect a (yay!!) message OMG! I just tried what you said and it worked Sweet Thanks so much also: Shirazs-MacBook-397:cgminermac shiraz_$ ./cgminer -n Illegal instructionnothing comes up.. but yeah, thanks for your help I guess i dont need cgminer now anyway If you dont mind could I ask you a couple more questions please? Would you know how to set Stratum proxy( ) on a mac? Wemineltc.com requires it, but i dont even know what it is lol ?
|
|
|
|
maxpower
|
|
May 07, 2013, 05:16:52 PM |
|
Well, when i usually use minerd, i use my litecoin-cfg.json file to make it work and it works no problem, i can usually expect a (yay!!) message OMG! I just tried what you said and it worked Sweet Thanks so much also: Shirazs-MacBook-397:cgminermac shiraz_$ ./cgminer -n Illegal instructionnothing comes up.. but yeah, thanks for your help I guess i dont need cgminer now anyway If you dont mind could I ask you a couple more questions please? Would you know how to set Stratum proxy( ) on a mac? Wemineltc.com requires it, but i dont even know what it is lol ? Great, glad you got it working! There are two protocols for connecting to mining servers: Longpoll and Stratum. Stratum is newer and tends to work a lot better. Stratum proxy is a program that runs in the background on your computer and accepts Longpoll connections, translates them to Stratum, and forwards them to a pool that uses Stratum. It's meant to be used with miners that only support Longpoll (like minerd). There's no official mac binary. It might be worth looking through the forums to see if someone's put together an unofficial binary, but otherwise you would have to build it from the source code on Github ( https://github.com/bandroidx/stratum-mining-proxy), following the Linux instructions.
|
|
|
|
RZBRI (OP)
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 07, 2013, 08:04:54 PM |
|
Yeah, thanks to you Oh ok, I get it, thanks for the explanation Yeah, I guess I wont bother with setting that up just yet, maybe teach myself a little more about all this first then give it a go xD Thanks again for helping
|
|
|
|
seannnyx
Newbie
Offline
Activity: 14
Merit: 0
|
|
May 08, 2013, 10:46:37 AM |
|
I suggest you use ubuntu 12.04
|
|
|
|
maxpower
|
|
May 08, 2013, 12:28:39 PM |
|
I suggest you use ubuntu 12.04 That's true. If you set up Linux or even Windows with Boot Camp, you'll find precompiled binaries for a lot more of the mining tools. Also, if you do start using cgminer, you'll find that you get way better GPU hash rates under Linux or Windows. CPUminer will be the same on any operating system, though.
|
|
|
|
RZBRI (OP)
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 08, 2013, 06:30:58 PM |
|
I suggest you use ubuntu 12.04 That's true. If you set up Linux or even Windows with Boot Camp, you'll find precompiled binaries for a lot more of the mining tools. Also, if you do start using cgminer, you'll find that you get way better GPU hash rates under Linux or Windows. CPUminer will be the same on any operating system, though. Alright, fair game, I'll look into it.. I've been hating the fact that I have a mac recently but I forgot that I had that option.. Um.. you say GPU hashrate, but I have CPU ? D: Im sorry, im still new to all this tech lingo, and the way I see GPU is better than CPU ... But if there is better hashrate of GPU there would also be better CPU hashrate as well under Linux and Windows ?
|
|
|
|
18thstreet
Newbie
Offline
Activity: 3
Merit: 0
|
|
May 08, 2013, 06:40:03 PM |
|
what is it?
|
|
|
|
maxpower
|
|
May 08, 2013, 06:48:52 PM |
|
I suggest you use ubuntu 12.04 That's true. If you set up Linux or even Windows with Boot Camp, you'll find precompiled binaries for a lot more of the mining tools. Also, if you do start using cgminer, you'll find that you get way better GPU hash rates under Linux or Windows. CPUminer will be the same on any operating system, though. Alright, fair game, I'll look into it.. I've been hating the fact that I have a mac recently but I forgot that I had that option.. Um.. you say GPU hashrate, but I have CPU ? D: Im sorry, im still new to all this tech lingo, and the way I see GPU is better than CPU ... But if there is better hashrate of GPU there would also be better CPU hashrate as well under Linux and Windows ? The CPU hashrate should be about the same. cgminer and most other miners do better on GPUs under Windows and Linux than they do on OS X.
|
|
|
|
|