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?
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:
scp ./cgminer [email protected]:/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.