Using FARM_HASH

ru
en

#1

You can find FARM_HASH on the web. Using it you can easily add rigs in bulk without creating rigs on the web and getting RIG_ID. Hash is unique for each farm.

Write Hive image as usual to your Flash/SSD. After the write you’ll find HIVE disk in Windows. It holds Hive config files, there is rig-config-example.txt in there. Open it, edit and save as rig.conf


HIVE_HOST_URL="https://api.hiveos.farm"

# Find out your hash in farm's settings on the web
# The rig will autoregister itself in your account after the first run
FARM_HASH=<your farm hash goes here>

# Password used for the rig
RIG_PASSWD=

# If you know rig id before creation you can set it here leaving FARM_HASH blank
RIG_ID=

# If you use FARM_HASH you can optionally name your rig otherwise the name will be autogenerated
WORKER_NAME=

...........

Put your Farm Hash, copy the value from the web.

FARM_HASH=f019745da6ba65630b28ef3c92608e7022b4bf76

No need to set RIG_ID or RIG_PASSWD.

That’s it, just to set the value in rig.conf

Now boot your rig and it will connect to web automatically.


FARM_HASH can be effectively used with Hive Flasher for bulk rig installations
More details here: https://github.com/minershive/hive-flasher


ASICs can be installed in bulk just by connecting via SSH and using FARM_HASH.
More details here: https://github.com/minershive/hiveos-asic


Rig doesn't show online
#2

Значение FARM_HASH можно найти в веб интерфейсе на закладке Account. Используя это значение вы можете быстро и легко добавить риги в вашу ферму на HiveOS без необходимости создания ригов через веб интерфейсе и указания RIG_ID. Это уникальный хеш для каждой фермы.

Запишите образ Hive как обычно на Flash/SSD. После записи диска вы найдете том с меткой HIVE в Windows. Он содержит конфигурационные файлы Hive OS, здесь же вы найдете файл с названием rig-config-example.txt. Откройте его , отредактируйте и сохраните на диске с именем rig.conf

# THIS IS A STARTING EXAMPLE, REAL CONFIG IS IN rig.conf
# Normally the rig will ask for password at first run.
# Optionally you can put rig ID and password and Save As to "rig.conf" for a fresh start

HIVE_HOST_URL="https://api.hiveos.farm"

# Find out your hash in farm's settings on the web
# The rig will autoregister itself in your account after the first run
FARM_HASH=<поместите ваш Farm Hash сюда>

# Password used for the rig
RIG_PASSWD=

# If you know rig id before creation you can set it here leaving FARM_HASH blank
RIG_ID=

# Disable GUI (x server), uncomment to disable it
#X_DISABLED=1

# Linux system language, like zh_CN.UTF-8, pt_PT.UTF-8, de_DE.UTF-8
#SYSTEM_LANG=en_US.UTF-8

Поместите сюда значение Farm Hash, скопированное из веб панели, таким образом:

FARM_HASH=f019745da6ba65630b28ef3c92608e7022b4bf76

Не нужно ничего писать в переменные RIG_ID или RIG_PASSWD.

Это все что нужно прописать в файле rig.conf

Теперь включайте ваш риг и он подключиться к вашей ферме на Hive OS автоматически.


#3

#4

What to do in Mac OS - Neither I can save rig.conf due to Read-Only state of the drive nor change these chmods?


#5

You can boot up without rig.conf. After booting up - connect to the rig (via ssh, or console) and type firstrun. That way rig will ask you to input Rig_ID and password. Prior to that - login into HiveOS dashboard, add new rig and you will get that Rig_ID.