Skip to content

Instantly share code, notes, and snippets.

@bmatthewshea
Last active January 24, 2018 17:18
Show Gist options
  • Save bmatthewshea/be95abefb0d535afeba7aa0cb680fa08 to your computer and use it in GitHub Desktop.
Save bmatthewshea/be95abefb0d535afeba7aa0cb680fa08 to your computer and use it in GitHub Desktop.
/etc/default/ethminer service default file
# User settings - Here you can enable/disable a given miner profile:
#
RUNAS="ubuntu" # For the amdgpu-pro driver this user must be a member of 'video' group
DAEMON="/opt/miners/ethminer" # Wherever you installed the binary - make sure its executable by above user.
GPU="-G" # -U (nVidia Cuda) or -G (OpenCL) or -X (mixed Cuda/OpenCL cards)
WORKER="Worker1"
LOGFILE="/var/log/miners/ethminer.log"
# values: pool, proxy, solo
MINING_MODE="pool"
# Connection 1 - ETH Proxy or Solo connect - localhost
#SERVERS="http://127.0.0.1:8080/$WORKER"
#FSERVERS=""
#WALLET=""
#STRATUMPROTO="1"
#STRATUMCLIENT="2"
#FARM_RECHECK="200"
# Connection 2 - NICEHASH ethash
#SERVERS="daggerhashimoto.usa.nicehash.com:3353"
#FSERVERS="daggerhashimoto.eu.nicehash.com:3353"
#WALLET="3M7vcLePDYyWc1X2REvLpw9Q3w7zz6PkvU"
#STRATUMPROTO="2"
#STRATUMCLIENT="2"
#FARM_RECHECK="500"
# Connection 3 - ETHMINING - ETH
SERVERS="us1.ethermine.org:4444"
FSERVERS="us2.ethermine.org:4444"
WALLET="4e06e4080E6043dfF23c8b634712Aca2e1DE4347"
STRATUMPROTO="0"
STRATUMCLIENT="2"
FARM_RECHECK="200"
# Connection 4 - ETHMINING - ETC
#SERVERS="us1-etc.ethermine.org:4444"
#FSERVERS="us1-etc.ethermine.org:14444"
#WALLET="578e26dEBfCaA6A2de2744e44d360B442175d416"
#STRATUMPROTO="0"
#STRATUMCLIENT="2"
#FARM_RECHECK="200"
# Client / Protocol Flags for ETHMINER
# -SC, --stratum-client <n> Stratum client version. Defaults to 1 (async client). Use 2 to use the new synchronous client.
# -SP, --stratum-protocol <n> Choose which stratum protocol to use:
# 0: official stratum spec: ethpool, ethermine, coinotron, mph, nanopool (default)
# 1: eth-proxy compatible: dwarfpool, f2pool, nanopool (required for hashrate reporting to work with nanopool)
# 2: EthereumStratum/1.0.0: nicehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment