Troubleshooting WiFi connectivity is one of the more frustrating issues I deal with personally/professionally.
For people looking for assistance (and the OP if the issue still persists), you will want to isolate things and gather data.
- Use Wireless Diagnostics to capture and analyze the wireless network - both before you have a problem, during the problem, and after the problem.
- Get a piece of paper to diligently write down the details in your WiFi icon when you option click it: (all the data can be relevant, but focus on BSSID, Tx Rate and Channel initially. Once you have 10 data points, you can narrow down what's happening between your Mac and your WiFi router.
- You may need to capture WiFi logs and
sysdiagnose to collect the precise reason why WiFi dropped and when. You may need engineering help to analyze these logs.
In the case above, the ping is a poor tool to tell WiFi issues. Not only does WiFi have to work, the IP addresses need to be working, DNS needs to be working, the upstream link needs to be working, the routing (BGP/whatever) that your ISP has configured needs to be working. Basically, If you can't call a number across the country - rather than focusing on no answer, you can focus on if your Phone is connected to the wall jack.
If you can ping a device on your local network (the router number above 10.0.10.1) would be way better to see if WiFi is viable rather than pinging 126.96.36.199 which lies far outside your control of the local network.
If anyone wants to dig into their data, post a new question with the details above and @bmike me in the comments here. I often like to help dive into this sort of issue once the data has been collected or there's a chance to get to the data to know what's happening.
If you don't want to collect the data to nail down why your disconnects are happening (and how often it really happens), here are other things you can try:
- Get off 2.4 GHz - use 5 GHz as it's far less susceptible to interferance and channel overlap.
- If you are on 2.4 - get a tool like WiFi Explorer to make sure you have a viable environment to have a reliable experience.
- If you want to learn more and have limited time to piece things together from internet volunteers, this take control book by Glenn Fleishman is excellent.