I've noticed that i cant make my S1's execute privileged API commands, like switchpool etc.
Can someone explain how i need to enable this on my S1's?
API_ALLOW is setup to my computer, and the API has readonly false, and showinputs true.
Seems something Bitmaintech baked into their firmware issue
It should've been possible to set this up in /etc/config/cgminer, but the relevant options there didn't have any effect. Instead, I edited /etc/init.d/cgminer.
Look for a line similar to this:
PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb --api-listen --api-network"
Change it to something more like this:
PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb --api-listen --api-network --api-allow W:127.0.0.1,W:192.168.100.0/24"
Restart:
/etc/init.d/cgminer stop && /etc/init.d/cgminer start
I did this to enable CryptoSwitcher (running on a Raspberry Pi in a Bitfury rig) to switch between altcoins on my Antminers. It worked, but there wasn't enough extra income to make it worthwhile.