Welcome to the PiMP OS and Miner.farm forum.
Editing the Miner Confs
PiMP ships with managed mining 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.
For more details about Managed Profiles: Look at this post:
https://forum.getpimp.org/topic/10/setting-up-miner-profiles <-- NEW! New videos posted to the profiles page!!
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)
- .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 confs and pcfgs
NEW! New video how to edit pcfg files, configure bminer and claymore dual miner!!!
How to list confs available for editing:
First, open a PiMP terminal or SSH into the rig. Then you can simply issue the command
editto get a list of the confs that are available for editing. (Basically an ls /opt/confs):
how to edit .pcfg files
In this example we will edit the conf for optiminer-zcash. We will use the command
edit zcash-opti.pcfgto 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.
Find the 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 “#”.
Passing command line options using FLAGS= in the .pcfg
The .pcfg has a special place for the pools, users, and passwords to connect. There is also a place
to 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.pcfgand scroll down to the bottom. Where it says
FLAGS=you can change it, to say,
FLAGS=-i 4and that would pass that along to the miner.
how to edit .conf files
In the .conf file example we will edit the conf for sgminer-eth. We will use the command
edit sgminer.eth.confto 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. Usually in the .conf 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 example pools such as 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. They change as the difficulty goes on, but currently we recommend xintensity 2048 for a stock RX480, and xintensity 368 for R9 360 cards, for example.
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.
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.
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.
**The more easy way to reach your conf or pcfg. **
Once you added a miner there is now a new way to reach your conf /pcfg
Now you can just type the added miner number 1,2,3
We promise to keep your email safe and never spam you.
Copyright (c) 2012-2018 PiMP LLC. All rights Reserved.