How to edit your conf files in PiMP the fastest and easiest way
Overview
PiMP ships with minerfarm profiles, miners, and configs for mining all the latest and popular coins. The configs are where you tell the mining software what pool to mine to, what wallet or user to pay, and what settings to use for the GPUs. Now, these configs are set very conservative for 3 reasons:
- To provide a known-good starting point as a reference / for troubleshooting.
- To prevent new users from harming their hardware.
- To support the widest variety of hardware.
There are 2 kinds of miner config files: .confs (JSON config files) and .pcfg (PiMP command-line config files) For example, sgminer-gm uses .conf files (like sgminer.eth.conf), but optiminer-zcash does not, so we made a .pcfg file for optiminer-zcash (zcash-opti.pcfg).
In this article, you will see how to manage and edit your confs the easy way using PiMP.
editing .pcfg files
So, in this example we will edit the conf for optiminer-zcash. We will use the command:
edit zcash-opti.pcfg
to open the PiMP text editor. If the conf you want to edit is currently mining/running, PiMP edit will warn you that the miner is running.
You will see a lot of text, maybe the PiMP header at the top, and then you will see a pool, wallet, username and password. This is the part that you edit. In the case of opti, there are a few example pools included with PiMP. There is flypool which takes a Zcash Wallet t-address “DOT” workername as the username and “x” as the password. Then you can see an example for NiceHash, which takes a BTC address “DOT” workername as its username and “x” as the password. Suprnova is also included as an example. Simply make sure that the config options that you want do not have the COMMENT OUT (IGNORE) character “#” in front of them, and that all the rest of the pools are commented out with “#”.
FLAGS=
The .pcfg has a special place for the pools, users, and passwords to connect. We also have a place there where you can put additional command line options called FLAGS= to put them in. For example, if you wanted to specify intensity for optiminer in zcash-opti.pcfg you would: edit zcash-opti.pcfg and scroll down to the bottom. Where it says FLAGS= you can change it, to say, FLAGS=-i 4 and that would pass that along to the miner.
editing .conf files
So, in the .conf file example we will edit the conf for sgminer-eth. We will use the command:
edit sgminer.eth.conf
to open the PiMP text editor. If the conf you want to edit is currently mining/running, PiMP edit will warn you that the miner is running.
In this conf, it will look a little bit different than the .pcfg files. This is in JSON Syntax and so the commas, quotation marks, brackets and braces are all important and you have to be careful. You will see a pool, wallet, username and password. This is the part that you edit. In the case of sgminer.eth.conf, there are a few example pools included with PiMP. You will see in a lot of our confs that we use miningrigrentals.com as the pool. This is a special type of pool. You can replace this with your pool/username/worker, or delete it and just use one pool, whatever you like. Usually it is good to have at least 2 pools setup in case one fails while mining, it will go to the backup pool. Also, you will see as the second example pool, ethermine, which takes an eth Wallet address “DOT” workername as the username and “x” as the password. Again, watch your commas!!! But it’s okay, because PiMP will tell you if you make a syntax error on the JSON confs.
Also, you will want to tune your intensity values for Ethereum depending on your GPUs. I believe you want around xintensity 768 for the RX480, and xintensity 368 for R9 360 cards, for example.
When you’re done, use Control-X then Y and Enter to save changes, and then it will tell you that it’s Valid JSON. If not, go fix it until you have valid JSON or else the miner will not start. It should look like this:
CONFIGURING MULTIPLE GPUs in the .conf:
When you have multiple GPUs, you can specify settings for each one by using commas inside the conf file. Example: “xintensity” : “1155,1155,768,768”, would be for 4 GPUs, 2 of each type. Also, when some cards are weird about a setting and require an odd setting this comes in handy.
deleting confs (to reset them back to factory PiMP defaults)
If you want to reset your conf file back to a default, you can simply use the
del
command. When you have changed a file, it shows as a plain text file in /opt/confs. If you have the default, it is shown as a symbolic link to the default. Here is an example of resetting the sgminer.eth.conf back to PiMP default:
Dear Melt, I thank you for clear explanation, however the problematic confs for me and my friends are the miningrigrental.com ‘s.The problem I experience is registering my rig to the site.(as a matter of fact it is not directly related to PimpSoftware but the proxy).If there is an alternative pool pls. let us know.
I also want to thank you and friends for the performance of Pimp software.We are looking forward for the videos in future.
Me and my friends have quiete a good hash rate if you would be interested in opening a pool, we can be either investors or miners to the pool. Pls. consider our offer.
Best Regards,
gablay12
Hey, No problem gablay12 and thank you for your comment! Miningrigrentals is not a pool but a proxy. Most likely you will mine directly to a pool. What you can do is replace the mrr section with a pool of your choice. I tried to include a second, regular, pool in each of the confs as an example. If you wanted to use your own miningrigrentals.com account, you would first login to their site and set up a rig for that algorithm, add your own pools to that rig, and then add that rig to your conf. Check out the example I added into the actual article above, using command
edit sgminer.zcash.conf
as example, you can replace the miningrigrentals pool with your own pool, remove the entire code block for that pool and just use flypool with your own wallet, whatever you like.We are not opening a pool just now as we have our hands very full with development! Lots of new features planned for the pimps! Glad to toss some other ideas around with you on the irc, though. 🙂
Need to update screenshots. Latest info is in the Users Guide including the new PIMP Managed profiles and the pimp –add and pimp –delete commands!
Is it not possible to edit a .pcfg file for multiple GPU’s, and if so, how do you do it?
Hello dpllefevre89,
An updated version of this post is found here: https://forum.getpimp.org/topic/10/setting-up-miner-profiles
There is a video..
The FLAGS depend on the miner itself because they are specific to the miner. Most of the miners like Claymore use a flag such as `-d 1,3` to tell the miner to use, say, device 1 and device 3. This goes by the GPU # order.
More docs on Claymore flags: https://bitcointalk.org/index.php?topic=1433925
If you need more details post on the forum link above or come to our realtime chat and ask! Hope to see you there.
Thanks,
melt