OK NEW PROBLEM:
Avalon firmware v. 3.21 stops hashing but thinks the miner is still alive. Can still log into tp-link.
Hard reboot with power cycle gets it going again. This happened to two of my miners last night had to hard reboot them in the morning. Soft restart of cgminer also works.
so basically this problem already discussed here: https://bitcointalksearch.org/topic/avalon-always-stop-work0mhzyour-avalon-happen-159827
xiangfu made some beta version, please try them.
http://downloads.qi-hardware.com/people/xiangfu/avalon/next-testing/
and we are finding the root cause, will take some time.
As a temporary solution until next stable firmware update, does anyone have a monitoring script that periodically checks the hashrate and restarts cgminer when it dips below certain threshold?