Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining
by
_Parallax_
on 26/06/2017, 10:53:20 UTC
I have more than 10+ rigs
I made some changes in to file oneBash


#!/bin/bash

HOSTNAME=$(cat /etc/hostname)
worker=$(echo ${HOSTNAME:0:2})


# nvOC v0016 by fullzero
#
#==================
#
# set YOUR ADDRESSES, WORKERS, POOL and PORT:
ZEC_WORKER=$worker
#
#==================
#
ZCL_WORKER=$worker
#
#==================
#
ZEN_WORKER=$worker"
#
#==================
#
VTC_WORKER=$worker"
#
#==================
#
NICE_WORKER=$worker
#
#==================
#
LBC_WORKER=$worker"
#

etc

These changes allow to bind hostname to workers.
In order it to work, you need to change 2 files 'hostname' and 'hosts'


/etc/hosts
#
127.0.0.1       localhost
127.0.1.1       m5-desktop


/etc/hostname
#
m5-desktop



The resulte of this changes, on LBC expamle:

/home/m1/SPccminer/ccminer -a lbry -o stratum+tcp://lbry.suprnova.cc:6256 -u fullzero22.m5 -p x


PS: Fullzero, thanks for your work, it is an amazing project!!!