Post
Topic
Board Mining (Altcoins)
Re: Innosilicon A4+ setup tutorial
by
kilo17
on 17/03/2018, 04:15:20 UTC
Here is a script I wrote to make it easy to add the --api extras.  Just change the xxx.xxx.xxx.xxx to the IP of the miner and make sure to make it s .sh file and give it Permissions to execute as a program.

Cheers...

btw - this was written for linux systems (in case you did not know  Wink)


Code:
#!/bin/sh

HOST='xxx.xxx.xxx.xxx 8100'
USER='root'
PASSWD='t1t2t3a5'
CMD=''

(
echo open "$HOST"
sleep 2
echo "$USER"
sleep 2
echo "$PASSWD"
sleep 2
echo "cd /home/inno_py/"
sleep 2
echo "mount / -o rw,remount"
sleep 2
echo "vi -c ':%s@--api-listen@--api-listen --api-network --api-allow W:0/0@g' -c wq /home/inno_py/inno_config.py"
sleep 2

) | telnet