Pages:
Author

Topic: [GUIDE] How to rent your rig on LEASERIG.NET - Scrypt & SHA256 - page 17. (Read 33412 times)

member
Activity: 96
Merit: 10
I asked this in the other thread but just realised that I probably should ask it here...

Can you setup multiple pools as default pool (failover)?
My current batfile sets up all the pools and clockspeeds and cgminer settings, do I keep this or do I have to add all those settings (with or without pools?) to the config instead of the batfile?

If u restart cgminer from api, it probably wont take the settings in the batfile right? Or can I tell the website to use the batfile?

-edit- once someone is set up and pm'd you the details and gets allowed to rent his rig, does the website do an api test to make sure everything works as is expected? I wouldn't want ppl leasing my rig having problems because I did something wrong (probably wont happen, but you never know) the first time. Don't want ppl to pay me and end up feeling cheated, it's a good service for ppl renting rigs if I see those prices.

I don't know the answer about multiple pools... (good question though)

I do know that if you restart cgminer via the program interface (type S-C-Y) or via the API, it will reset all your pools etc to what you defined in your script.

Doing a restart via API, while a great solution, will cause some issues with some people, as some of the newer cards (290/290x) will crash the rig completely (both linux and windows) when cgminer is restarted. (This can be got around by making people upgrade to sgminer 4.0.0).



newbie
Activity: 47
Merit: 0
I asked this in the other thread but just realised that I probably should ask it here...

Can you setup multiple pools as default pool (failover)?
My current batfile sets up all the pools and clockspeeds and cgminer settings, do I keep this or do I have to add all those settings (with or without pools?) to the config instead of the batfile?

If u restart cgminer from api, it probably wont take the settings in the batfile right? Or can I tell the website to use the batfile?

-edit- once someone is set up and pm'd you the details and gets allowed to rent his rig, does the website do an api test to make sure everything works as is expected? I wouldn't want ppl leasing my rig having problems because I did something wrong (probably wont happen, but you never know) the first time. Don't want ppl to pay me and end up feeling cheated, it's a good service for ppl renting rigs if I see those prices.
member
Activity: 96
Merit: 10

You can set up a default pool on the admin panel and when the lease ends this pool is used Smiley

Awesome! Thanks for the quick help. Obviously I can't see this until I set up my rig for lease :-)
sr. member
Activity: 350
Merit: 250
Hi all,

Ok I am almost sold on setting up my rig to be leased out. I have one burning question though.

I just leased someone else's rig for an hour to see how it works from the "other side". It works great, I'm mining away no problem. The issue is, it appeared to me that I was able, should I choose, to have deleted ALL the host's mining pools set up on the rig!! Is this correct?  (I didn't do it, for what it's worth!)

If I had deleted all his/her pools, when my lease runs out, would their rig sit there idle until the next lease came along, or the owner intervened?Huh  

If so, this seems like a "bad thing".  Or does cgminer get restarted at the end of a lease (which would reset the pools to whatever you define on cgminer startup) ??

Thanks for the info. Look forward to coming onboard soon, assuming we can work this one through Smiley

You can set up a default pool on the admin panel and when the lease ends this pool is used Smiley
member
Activity: 96
Merit: 10
Hi all,

Ok I am almost sold on setting up my rig to be leased out. I have one burning question though.

I just leased someone else's rig for an hour to see how it works from the "other side". It works great, I'm mining away no problem. The issue is, it appeared to me that I was able, should I choose, to have deleted ALL the host's mining pools set up on the rig!! Is this correct?  (I didn't do it, for what it's worth!)

If I had deleted all his/her pools, when my lease runs out, would their rig sit there idle until the next lease came along, or the owner intervened?Huh  

If so, this seems like a "bad thing".  Or does cgminer get restarted at the end of a lease (which would reset the pools to whatever you define on cgminer startup) ??

Thanks for the info. Look forward to coming onboard soon, assuming we can work this one through Smiley




member
Activity: 67
Merit: 10
One step to your signup process is "Trust"; I'm a new member to this forum so I don't have any "trust" here I suppose.
Do you have any alternate methods of verifying trust so that I can lease my rig(s)?   I have up to 20 Mh/s available!

Was wondering the same.  How about ebay or heatware?
newbie
Activity: 2
Merit: 0
One step to your signup process is "Trust"; I'm a new member to this forum so I don't have any "trust" here I suppose.
Do you have any alternate methods of verifying trust so that I can lease my rig(s)?   I have up to 20 Mh/s available!
member
Activity: 95
Merit: 10
this works for me, 2 groups, one with acces to everything, one for leaserig

Code:
"api-listen" : true,
"api-port" : "12345",
"api-allow" : "W:192.168.0.0/16,W:127.0.0.1,F:89.212.242.33",
"api-groups" : "F:switchpool:addpool:removepool:restart:*"

W group is reserved for all-inclusive acces, so no need to specify rights for that. Only for F, which is leaserig
All that info is in readme and api-readme of cgminer.
hero member
Activity: 588
Merit: 520
Is the restart really needed in api-group?
My rig can be little moody, and restart can cause it to hash at weird speeds.
I know what's best for my rig, and restart is not one of those things :p

Restart is not needed at this time - I didn't implement it due to R9 bug. If using sgminer 4.0.0, this bug is fixed.
Hey Guys,

I am running 2 rigs with Smos Linux distribution and 4 Mh/s.

My question is:

How would the config look like if I would add this into cgminer.conf:

--api-groups P:switchpool:addpool:removepool:restart:* --api-listen --api-allow P:89.212.242.33,127.0.0.1 --api-port 4028

Maybe like this?:

"api-listen" : "true",
"api-allow" : "89.212.242.33",
"api-port" : "4028",
"api-groups" : "switchpool,addpool,removepool,restart"  Here maybe with : instead of comma , ??

I'd like to ad my rigs as provider, but this need to be fixed first. Dyndns is available through the router by the way, which is a way to do it on linux instead of no-ip on windows Wink

I am not sure for the api-groups, but you can always combine; use config, but append this command line to your existing command line. Will work for sure.
newbie
Activity: 45
Merit: 0
Hey Guys,

I am running 2 rigs with Smos Linux distribution and 4 Mh/s.

My question is:

How would the config look like if I would add this into cgminer.conf:

--api-groups P:switchpool:addpool:removepool:restart:* --api-listen --api-allow P:89.212.242.33,127.0.0.1 --api-port 4028

Maybe like this?:

"api-listen" : "true",
"api-allow" : "89.212.242.33",
"api-port" : "4028",
"api-groups" : "switchpool,addpool,removepool,restart"  Here maybe with : instead of comma , ??

I'd like to ad my rigs as provider, but this need to be fixed first. Dyndns is available through the router by the way, which is a way to do it on linux instead of no-ip on windows Wink
member
Activity: 95
Merit: 10
Is the restart really needed in api-group?
My rig can be little moody, and restart can cause it to hash at weird speeds.
I know what's best for my rig, and restart is not one of those things :p
full member
Activity: 131
Merit: 100
For those who want to use CGwatcher and share their rig:
1) you need to use cgwatcher port 4028
2) you need to allow localhost use API

Modified settings:

--api-groups P:switchpool:addpool:removepool:restart:* --api-listen --api-allow P:89.212.242.33,127.0.0.1 --api-port 4028

full member
Activity: 131
Merit: 100
djeZo
would you consider adding my 2nd rig as well?
legendary
Activity: 1098
Merit: 1000
That's strange, I use CGRemote to monitor mine which uses the api and not noticed anything odd in the figures it displays.

If I put one up tomorrow you can have a look before it goes live, and i'll update if need be.
hero member
Activity: 588
Merit: 520
Test has shown that older versions aren't showing current speed correctly.  I was looking into it and couldn't come to any exact conclusion, because it was randomly flickering once displaying proper speed, then next time displaying faulty one. Someone would need to sniff traffic to find out whether older versions of cgminer send various data for command 'summary'.
legendary
Activity: 1098
Merit: 1000
This sounds very interesting and I may throw one of my rigs up to try.

Is there any specific reason 3.7.2 is required, all mine run 3.3.1 which is IMHO the best version for scrypt mining as it's the last version to immediately switch pools without delay, rather not update unless it's needed for some function that missing.
sr. member
Activity: 350
Merit: 250
Interesting!
How do you set the admin password for the rig? Is it in cgminer or just for you to set up on the website?

If there is no pass on cgminer doesn't that means anyone with your ip could connect to the rig and change pool details, etc?

Admin pass is just for website. Noone else besides website can access your cgminer, because you specify such rule (allow only certain IP). And website limits who has access to change pools on your cgminer. Only customer and admin.

Ok, thanks I get it now  Wink
hero member
Activity: 588
Merit: 520
Currently, pool details are not remembered by the website, website only acts as a proxy for managing pools on mining rigs. When I do larger update, I will consider all such features.
full member
Activity: 131
Merit: 100
Interesting!
How do you set the admin password for the rig? Is it in cgminer or just for you to set up on the website?

If there is no pass on cgminer doesn't that means anyone with your ip could connect to the rig and change pool details, etc?

Admin pass is just for website. Noone else besides website can access your cgminer, because you specify such rule (allow only certain IP). And website limits who has access to change pools on your cgminer. Only customer and admin.

Question:
I run CGwatcher in case any cgminer failure, will that be a problem? Also, do I set own pool details when starting cgminer?
Afterwards renting person can change it to own via API? If cgminer crashes for some reason, it will restart again with my details...

No conflicts or problems with CGwatcher. Yes, you set own pool details when starting cgminer. Customer can manage pools via website. If cgminer crashes, your default pool is set and customer has to reenter pools of his choice.

Would be nice to remember customer pools, otherwise any crash causes customer to mine for rig owner.
hero member
Activity: 588
Merit: 520
Interesting!
How do you set the admin password for the rig? Is it in cgminer or just for you to set up on the website?

If there is no pass on cgminer doesn't that means anyone with your ip could connect to the rig and change pool details, etc?

Admin pass is just for website. Noone else besides website can access your cgminer, because you specify such rule (allow only certain IP). And website limits who has access to change pools on your cgminer. Only customer and admin.

Question:
I run CGwatcher in case any cgminer failure, will that be a problem? Also, do I set own pool details when starting cgminer?
Afterwards renting person can change it to own via API? If cgminer crashes for some reason, it will restart again with my details...

No conflicts or problems with CGwatcher. Yes, you set own pool details when starting cgminer. Customer can manage pools via website. If cgminer crashes, your default pool is set and customer has to reenter pools of his choice.
Pages:
Jump to: