Ubiquiti all the things: How I fixed my dodgy Wi-Fi
I&#x27;ve thought about Ubiquiti in the past, but they are not &quot;stand alone&quot; units right? Meaning I am forced into allowing the units to phone home so I can manage them through Ubiquiti&#x27;s cloud service? (something I don&#x27;t want or need for a small home set up)<p>Last year I bought my wife and I our first set of &quot;smart&quot; phones. Yes I&#x27;m serious, I&#x27;ve been in IT all my life but never felt I had a need for anything other than a flip phone. But I noticed Samsung selling a Galaxy Core Prime for $90 and I bought my wife the LG Stylo for $180 since I wanted her to have a better camera.<p>For my home network, my modem runs into a linux box with Shorewall where it is natted&#x2F;firewalled and split into two subnets.<p>I&#x27;ve been a fan of the netgear prosafe access points for the last 10 years, as I could always find older models on ebay for cheap.<p>Currently I was using a WN203  (2x2 802n). For the most part it was just my laptop and a Roku box connected. never had problems. But enter in these new smart phones...<p>Within a few weeks (of buying the phones) I noticed random times of terrible wifi lag. Looking at the AP&#x27;s management webpage, I noticed during these random times of lag, my wife&#x27;s phone would be connected at just 1M. I&#x27;d tell her to restart her phone and the problem would go away for a day or two. But it kept happening. I wasn&#x27;t sure what the problem was but I used it as an excuse to get another access point, I was wanting one that had 5ghz anyway. I sniped a netgear WNDAP660 (3x3 802n) off of ebay, new in box for $95. They are normally $350 new. Figured that would solve my problems.<p>To my horror after a few days of having the new WNDAP660 set up, I started getting the same terrible lag and my wife&#x27;s phone would be connected at 1M again. This time though the WNDAP660, through the web interface had an option to save wifi traffic packets. During the next time of lag, I saved a few minutes of packet captures and opened them in wireshark.<p>I was surprised to see that even though my wife&#x27;s phone was connected at 1M, it was not the issue. My phone (the Core Prime) was spamming pwr_mgt request packets, 100&#x27;s per second. It was basically using up all the bandwidth. In disgust, I moved everything to the 5ghz band (gave it a different id), and left only my phone on the 2.4ghz. So all was well....<p>But that was just a couple of months ago. I&#x27;ve since out grown my core prime (which doesn&#x27;t take much) and bought a Galaxy S6. I turned off the 2.4ghz band on the AP, and now everything (including my new S6) are all connected to 5ghz.<p>And then you guessed it... I was sitting at the kitchen table and noticed lag while trying to browse the net on my laptop. I looked up and noticed the Roku box playing on TV was also stuck loading. I reached over and picked up my new S6 and put it into airplane mode. Instantly all was well on the airwaves. I haven&#x27;t actually done a packet dump yet, so I don&#x27;t know if the S6 is spamming pwr mgt requests or not.<p>But this is really annoying. I don&#x27;t know what is at fault either. It seems smart phones don&#x27;t play nice. But I&#x27;ve also caught my Roku box spewing RTS requests, even after rebooting it. I thought it had been hacked or something and  was trying to dos me, but after restarting one of the cell phones all went back to normal. Its as if certain devices don&#x27;t play well with each other. I mean, in my original lag case, the core prime was spamming packets, yet restarting my wifes phone would solve the problem just as good as restarting my phone. Makes no sense....<p>So I guess if you get random lag on wifi, try turning off a cell phone or two until you find the culprit. And once you find it, then.... Well actually I don&#x27;t know what you do then. Any tips? lol