Official thread:
https://bitcointalk.org/index.php?topic=414009What you will need:
- mining rig
- cgminer 3.7.2 or sgminer 4.0.0
1. STEP: Make your miner accessible via static IP or static domain name. If your mining rig already has static IP, then you can skip this step.If your mining rig has dynamic IP, then you will have to use domain name. You can sort this on your own or you can use dyn dns service like this one:
https://www.noip.com/sign-upAfter you register and choose domain, login and download client (
http://www.noip.com/download?page=win) which you have to run to keep your domain name updated with your IP address. Launch it and after it loads click "Edit Hosts" button. Then check your domain name and click "Save" button. That is it, just leave this program running - it will update your domain name to your IP every 5 minutes.
If you have linux miner, there is a way to achieve this, but unfortunately since I have no linux, I cannot test any possible solution. If someone here knows what exactly to do, it would be very nice to share and I will update my post with linux instructions.
2. STEP: Configure cgminerYou have to enable API listening on your cgminer. Following config options have to be added in cgminer config/command line:
--api-listen --api-allow W:89.212.242.33 --api-port 7777
You can choose whatever port you want, but you have to keep exactly IP 89.212.242.33. You can modify and create access rules. Following commands are needed to provide full functionality: summary, pools, switchpool, addpool, removepool, restart, save. Read API-README.txt in cgminer directory to get more details about cgminer API and how to configure access rules.
After checking API-README.txt, following should work:
--api-groups P:switchpool:addpool:removepool:restart:save:* --api-listen --api-allow P:89.212.242.33 --api-port 7777
3. STEP: Make sure cgminer is visible outsideIf your mining rig is behind router (NAT), you need to configure your NAT. Forward API port of cgminer.
Once you configure NAT, you can verify cgminer API port here:
http://www.checkmyports.net/It must say OPENED, if not, then it is still closed and you did something wrong.
4. STEP: Provide data to me (djeZo) - send me PMIn PM, include for each mining rig:
- mining rig name (choose on your own - alphanumeric characters)
-
your trust thread (MANDATORY NOW so customers can post feedback there)If you have additional questions regarding HOW-TO, please post them here (PM me only data for adding your mining rig). I will update this posts if there are additional questions.
A few items to add to the How To notes:
1) While LeaseRig will try to save your settings so that if a rig reboots the client doesn't lose all their miner information, this does not work with a custom config file. You should only use the default cgminer.conf file.
2) At one point LeaseRig saved some settings for me and apparently GPU-threads was not specified or saved properly; the result was that when cgminer restarted with the updated config file, hash rates were about 10% lower (and could have been much worse on some PCs!) thanks to the incorrect threads setting, so make sure to include -g 1 (or -g 2 if that's what you want) in your cgminer options and not just in the conf file.
3) CGWatcher does work with LeaseRig, and you can configure it to use other ports. On version 3.5.2, look in the Settings->Miner tab for the API port. The default is 4028, but I've successfully used other ports.
4) I've found Windows' Firewall doesn't play well with LeaseRig and had to disable it on at least a couple of my leased rigs; this is not always necessary, but if you're unable to get LeaseRig to see your system after configuring everything else properly, try disabling your firewall for a bit and see if that fixes the issue. If it does, you can either run without the firewall, or try to fix the problem.
Happy mining/leasing everybody!
Can add to 4th point; you need to either allow cgminer in your firewall rules or allow cgminer API port for incoming connections, then there should be no problems with Windows firewall.
Hi i am so nube that i dont know how i can get Trust thread? help pls. Thanks