Hi, I have Wi-Fi problems since I don't know when.. I think it started with Yosemite (after they changed the Wi-Fi drivers). I have tried everything I found on the internet, but nothing worked.
Reset everything, disable AWDL, clear cache, delete internet profile and create a new one and the list goes on and on...
For me there is something related to IPv6 transition (the future is IPv6), the OS X don't know which one to use, my DNS resolution is slow as **** and I have cleared the DNS cache and did some tests with no solution. The IPv6 has a router associated with it (but my router is not IPv6) so my guess is, it tries the first one (IPv6) and then wait for a time-out (60 seconds or more) to try the second one (IPv4), and losing wi-fi IP and lost connection is also related to this I think.
But now everything is blazingly fast with IPv6 disabled, I do not use anything with IPv6 yet, so disabling for me is OK and no wi-fi disconnections, lost of connections (connection dead until turn wi-fi off and on), lost of IP assigned to my machine with DHCP and this kind of problems. YET!!
I am still testing this temporary solution, so if anyone want to try this is the recipe.
1. Open Terminal (no 'sudo' required)
2. Type: networksetup -listallnetworkservices (find the network services)
2.1 Search the list for the interface that you are using, mine "Wi-Fi"
3. Type: networksetup -setv6off Wi-Fi (type the exact name with upper and lower case)
3.1 OSX will ask for your password to change the settings
4. Open the Network Preferences > Go to Wi-Fi > Advanced button > TCP/IP
4.1 Check if Configure IPv6 is Off
I will update this thread if something happens to my connection to keep track what does work and don't.