Welcome to the PiMP Mining Community Forum.


Coin/crypto news, miner.farm and getpimp.org announcements, guides, and tips.


Editing the Miner Confs


  • Staff

    Overview

    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!!!

    Youtube Video

    How to list confs available for editing:

    First, open a PiMP terminal or SSH into the rig. Then you can simply issue the command edit to get a list of the confs that are available for editing. (Basically an ls /opt/confs):

    0_1501617884849_screenshot-pimp-1.9-edit-command-shows-the-conf-files-available-to-edit.png

    how to edit .pcfg files

    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.

    0_1501622588993_screenshot-pimp-1.9-edit-command-editing-opti-pcfg.png

    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.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.

    0_1501622598111_screenshot-pimp-1.9-edit-command-editing-opti-pcfg-wallet.png

    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.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.

    0_1501622671636_screenshot-pimp-1.9-edit-command-editing-sgminer-eth-conf.png

    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.

    0_1501622744245_screenshot-pimp-1.9-edit-command-editing-sgminer-eth-conf-wallet.png

    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.

    0_1501622765202_screenshot-pimp-1.9-edit-command-editing-sgminer-eth-conf-intensity.png

    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.

    0_1501622827027_screenshot-pimp-1.9-edit-command-editing-sgminer-eth-conf-valid-json.png

    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.

    Example: del sgminer.eth.conf

    0_1501622899639_screenshot-pimp-1.9-del-command-back-to-default-conf.png

    **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

    Example:

    0_1509133412193_pimpedit12.jpg

    0_1509133464040_pimpedit122.jpg


Locked
 



Want 10% more hash from your rigs?



We promise to keep your email safe and never spam you.



Copyright (c) 2012-2019 Portable Instant Mining Platform LLC. All rights Reserved.