How to Mine with ⛏ Minerator

4 min read

Notes

Minerator can only be used by boards that have an e-fuse key (BCU1525 has a built in e-fuse). Only runs on Linux (recommended Ubuntu 18.04).

Minerator Web Configuration

1. Go to the configuration page and click on Create New Configuration.

config_01

2. Name: Enter a display name for this configuration.
Minerator Update Interval: How often Minerator will re-request the configuration from the API(in seconds) (Default: 600 seconds).

config_02

3. Work Sources
Enter mining information:

  • Algorithm: The algorithm that this specific work source is for.
  • Display Name: A name for this work source. (Anything)
  • Hostname: Pool URL.
  • Port: Pool port.
  • Username: Worker name, if applicable.
  • Password: Password for the connection, if applicable.
  • Priority: In case of multiple work sources for one algorithm, the one with the lower number will be prioritized and the others will be used as backup.

The example below is using the Amoveo work source.

Note: Don't specify any protocol information in the hostname field. For Amoveo you should use the 'getwork' host and port, for Lyra2z you should use 'stratum' host and port.

config_03

4. Device Managers
This section is where you put information about your device(s). You should only add one device per type of card you own. So a rig with 8 BCUs should only have one device.

  • Display Name: A name for this device manager. (Anything)
  • Device Type: A selection of devices.
  • Bitstream: A selection of bitstreams.

Other parameters already filled with default settings. Make sure all fields are filled and click Save.

config_04

5. Upon successful validation it should take you back to the configurations list. Copy the Configuration Key and proceed to Minerator installation.

config_05


Minerator Installation

  1. Open a terminal window and become root by running sudo -i then input your PC password

sudo

  1. Download and install apt configuration. wget -O /etc/apt/sources.list.d/allmine.list https://repo.all-mine.co/ubuntu1804-bionic.list

wget1

  1. Download and install all-mine software repository configuration key. wget -qO - https://repo.all-mine.co/allmine-repo.asc | apt-key add -

wget2

  1. Update the list of available packages and install the latest version of Minerator. When you install Minerator a configuration wizard will appear, if not, run allmine_config. apt update apt install minerator

apt

  1. Insert your configuration key from the configuration page. If you have not yet made a configuration follow this guide.

config

  1. Press enter to accept the default loglevel 3.

loglevel

  1. Press enter to enable Minerator to start when the computer starts.

autostart

  1. Press enter to start Minerator now.

start

  1. To reconfigure Minerator, run allmine_config to rerun the configuration wizard.

Update BCU1525 BMC Firmware

  1. Become the root by running sudo -i then input your PC password.
  2. Run allmine_bmc_update and follow the instruction.

bmcupdate


Controlling and Monitoring Minerator

1. Minerator can be reconfigured by running allmine_config or dpkg-reconfigure minerator

2. Controlling the Minerator service
Start Minerator, does nothing if Minerator is already started.
systemctl start minerator
Stop Minerator, does nothing of Minerator is already stopped.
systemctl stop minerator
Restart Minerator if it was started, starts Minerator if it was stopped.
systemctl restart minerator
Enable Minerator service to start automatically on boot. Does nothing if Minerator is already enabled on boot.
systemctl enable minerator
Disable Minerator from starting on boot. Does nothing if Minerator is already disabled on boot.
systemctl disable minerator
Show status and last log messages from Minerator service.
systemctl status minerator

3. Minerator web status
Minerator will start a web server with status on port 80 on your mining machine. Connect to your mining machine with a web browser to get Minerator status. Our mining machine is at IP 192.168.0.26. If you don't know your IP address you can find out by running ifconfig | grep 192 on the mining machine's terminal.

monitor

4. Minerator log file
Logging with tail command. Ctrl-c will exit tail but leave Minerator running.
tail -f /var/log/minerator.log

To freely navigate in the log you can use the less command, q will quit less, /searchterm will search in the file and n will go to next item found by the previous search.
less /var/log/minerator.log

Sources: All-mine.co

Related Pages