Post
Topic
Board Mining (Altcoins)
Getting Minera working with Innosilicon A4+ ASICs
by
Aepko
on 11/01/2018, 17:24:18 UTC
Hey guys! I've been reading posts on here for a while and wanted to post my progress and get some help with Minera on the A4+ ASICs (and probably other Inno ASICs)

I'll get start some instructions on how to get as far as I've gotten and edit the post when I've figured out the last part.

So to start, you should already have your ASIC configured and good to go with your pools. From there,

Enable Telnet if you're using windows. If you're using another Telnet program, on linux, etx, you can skip this step.

You can enable Telnet by typing "Turn Windows Features On or Off" into your start menu and selecting the "Telnet Client" box.

Now open up a command prompt window and type

Code:
telnet

then

Code:
o "ASIC IP" 8100

it will ask you for a username and a password. Your username will be root, and the password for the December 22nd firmware is t1t2t3a5

Now you are logged into your ASIC, but we need to give ourselves write access to the system. To do this, type

Code:
mount / -o rw,remount

Now we're able to edit the config files. From here, I enabled API access to ccminer following the steps on the A4+ advanced setup post here https://bitcointalk.org/index.php?topic=2549898.0

  • type "cd /home/inno_py/"
  • type "cp /home/inno_py/inno_config.py ./inno_config.py.bk" to take a backup of your file before editing
  • type "vi /home/inno_py/inno_config.py" to erdit your config file
  • scroll down until you see the value gInnoInitCmdStr
  • click the letter i on the keyboard to enable edit mode in vi
  • at the end of that line replace "--api-listen" with "--api-listen --api-network --api-allow W:0/0" this will enable network privileged access from API
  • Click  "ESC" on the keyboard to exit Edit Mode
  • click ":wq" and Enter to save the file
  • type reboot to reboot your miner and for changes to take effect

Now, you can install Minera on your linux system (such as a Raspberry Pi) and connect it to your network. Follow the steps on getminera.com and add a "Network Miner" by typing in your ASICs IP address with the port 4028

It appears as online in the Network Miner list in the settings, but Minera never finishes refreshing. If you check the raw JSON file, it has the proper hashrate and pool info, but a PHP error stops it from adding the stats to the dashboard. The PHP error according to the JSON is

Code:

A PHP Error was encountered



Severity: Notice


Message:  Undefined property: stdClass::$Type


Filename: models/util_model.php


Line Number: 435


Once that can be fixed, I don't see why Minera can't manage these ASICs