Post
Topic
Board Mining (Altcoins)
Re: [GUIDE] How to rent your rig on LEASERIG.NET - Scrypt & SHA256
by
Davemanwallet
on 21/03/2014, 10:25:25 UTC
Hey guys,

So yeah, ive been trying to get my 2 rigs to work on Leaserig, both are running SMOS, I am able to run them but only WITHOUT the API enabled. For example, when I put the API commands in the cgminer config, which I copied from the 2nd or 3rd page of this thread , nothing happens. When I remove the API settings from the config, it seems to run fine , but keeps telling me it failed to connect to port 7777 (which is the port I assigned) in the smos terminal.

This is what I'm currently using , when I try to run with API enabled.

{
"pools" : [
        {
                "url" : "stratum+tcp://127.0.0.1:3333",
                "user" : "Daveman85.2",
                "pass" : "2"
        },
        {
                "url" : "stratum+tcp://stratum.dogehouse.org:8081",
                "user" : "Daveman85.2",
                "pass" : "2"
}
],                           
"api-listen" : true,
"api-mcast-port" : "7777",
"api-network" : true,
"api-port" : "7777",
"expiry" : "120",
"failover-only" : true,
"kernel-path" : "/usr/local/bin",
"log" : "5",
"queue" : "1",
"scan-time" : "60",
"scrypt" : true,
"auto-fan" : true,
"gpu-threads" : "2",
"gpu-engine" : "1075",
"gpu-memclock" : "1500",
"gpu-powertune" : "10",
"intensity" : "13",
"temp-target" : "75",
"temp-overheat" : "85",
"temp-cutoff" : "90",
"temp-hysteresis" : "3",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "2",
"shaders" : "2048",
"thread-concurrency" : "8192"
"api-allow" : "P:89.212.242.33,W:127.0.0.1",
"api-groups" : "P:switchpool:addpool:removepool:restart:save:*"
}

But nothing happens. I forwarded the 7777 port on my router for my local miner IPs... or is this wrong?

Any help would be apreciated, thanks!