Post
Topic
Board Hardware
Re: [Setup & Troubleshoot] Bitmain AntMiner S1 180GH/S miner
by
Internet151
on 27/02/2014, 08:30:49 UTC
Just got 2 antminers today, SSH'd into them, typed in "vi etc/config/cgminer" and added "option api_allow 'W:0/0" on a new line. Saved the file, rebooted the antminer and now etc/config/cgminer appears to not exist whenever I try to open it up again on both antminers. Resetting the antminer does not fix this.

Any ideas what I can do?

is the cgminer file gone or maybe it's just the content of the file?

Code:
ll /etc/config/cgminer

Code:
cat /etc/config/cgminer

You can always scp a cgminer   file from another ant to your local drive, edit it and then scp the file back to each miner having the problem to the same location   /etc/config

If you're running Linux on your current machine:
Code:
scp ./cgminer root@192.168.1.101:/etc/config/cgminer  <---  depends what the IP of the Ant is.

If you need a copy of the original /etc/config/cgminer  file, I think I have a copy.  Were you trying to open up the api port on the Antminer?  It seems to be open by default as I'm able to access my Antminers using Anubis, fwiw.

I was able to open it up in vim for some reason, while vi kept pretending it didn't exist suddenly... no idea why.