Along with starting a proxy to control which pool you mine at, you can force the proxy to control the username and password for each pool, allowing different worker names at different pools and mining towards BTC addresses, Dwolla accounts, etc.
To do this, start the proxy using the -cu and -cp commands for the worker name and password, respectively.
For example, using "-cu worker1 -cp x" will force any work through the proxy to submit it under the username worker1 pw x, even if cgminer or other mining program uses other names).
Also, it helps to add the -nm option if your connection is poor or the pool is giving really low difficulty shares to fast miners. This can cause huge network lag from TONs of low diff shares being submitted. Just a problem I ran into on a pool giving me diff1 shares at 1.4TH, so thought I'd share the info if your moving around pools a lot.
This worked great - a few caveats to others, I had to set my server to static IP on the ubuntu machine so a power outage or router reboot wouldn't force me to have to mess with the miner's themselves. –
However a few hours later and checking my pool stats, this DIDNT work it just caused a ton of invalid shares. I thought this could happen beforehand as you are trying to run stratum through stratum (Antminer has a stratum proxy built into cgminer. Basically my output on the pool was the equivalent of 300 GH for those 8 units so back to the drawing board for me – Frankenmint – 2014-02-24T15:32:55.760
When configuring stratum mining proxy, did you setup a stratum port (-sp). The proxy allows for both getwork and stratum ports to be used. Failing that, I wonder if you can set the ant miners to use getwork instead? – mcstar – 2014-02-24T19:51:59.620
Found a thread at https://bitcointalk.org/index.php?topic=405889.0 regarding this exact issue. Seems there are some limitations in the cgminer instance antminer's using (or breaking changes, not sure which). Either way, the only suggested fix is to use the cgminer api and some custom scripts to make the changes as needed. This is unfortunately because I recently ordered a couple of the antminers to supplement my other rigs, for which, this technique has worked flawlessly for some time.
– mcstar – 2014-02-24T19:58:58.367