I'm using my FreeBSD server as a wireless AP, using an atheros 9285 card. The system has two antennas, connected to the two ports of the card, which are mounted about 10 feet apart (using coax extension cables, at two different levels of the house, hidden in plastic tube inside of walls). We're are in an extremely radio-quiet area (the nearest house is 1/2 mile away); I've used both channels 2 and 6 in 11g mode. Clients are two Macs, one Dell Windows laptop, and one iPad. This has worked OK for a while, but has always had issues. The main issue is that the AP regularly goes into a mode where it complains continously about "ath0: stuck beacon; resetting (bmiss count 4)", at which point wireless service to the house is somewhere between intermittent and non-existing. The only fix I know is to reboot (bringing the interface down and up doesn't help). The bintval setting of the device has been increased to 300 ms, no effect.
Recently, this has become much worse. Today, the storm of "stuck beacon" occurred twice already, each time with a reboot. Right now, ping times from a Mac about 10 feet from one of the antennas fluctuate between 3ms and 5000ms, with 20% packet loss (that is with excellent signal strength). The iPad has lost connection multiple times.
The real question is this: I have no idea what is causing it , and I have no idea how to debug it. I don't know of any tools that allow me to show on the server (on the machine that is the AP) what connections it sees, what the error rates are, or what the noise level on the antenna is. All I can see is to use "arp -a" to see which clients are (or were recently) connected. I can change configurations (like switch between channels, move antennas, disconnect one of the two antennas), but with no feedback from the system, that's unlikely to be productive.
What debugging tools exist for host AP mode?
Recently, this has become much worse. Today, the storm of "stuck beacon" occurred twice already, each time with a reboot. Right now, ping times from a Mac about 10 feet from one of the antennas fluctuate between 3ms and 5000ms, with 20% packet loss (that is with excellent signal strength). The iPad has lost connection multiple times.
The real question is this: I have no idea what is causing it , and I have no idea how to debug it. I don't know of any tools that allow me to show on the server (on the machine that is the AP) what connections it sees, what the error rates are, or what the noise level on the antenna is. All I can see is to use "arp -a" to see which clients are (or were recently) connected. I can change configurations (like switch between channels, move antennas, disconnect one of the two antennas), but with no feedback from the system, that's unlikely to be productive.
What debugging tools exist for host AP mode?