I have a MacBook Pro 15" with retina display that I use for work/personal stuff and I always shut down with Wifi having been on. When I startup my Mac the Wifi icon looks like it's searching and never actually connects (most of the time). To get it to connect I have to turn of Wifi (on my MacBook, not the router) and turn it back on, then it connects pretty much right away. What's the issue here? It's very annoying.
Later edit: It looks like the problem is caused by interference from Bluetooth signals and your WiFi device. Because it connected much faster with Bluetooth off. I changed to a 5Ghz network on another WiFi AP and I had no problems since.
The following are all suggestions I've tried from different sources:
Try this Golang script out - https://github.com/icecrasher321/Wifi_Hack
The script automates the process of turning off and on your wifi at intervals of 20 minutes(Future versions will detect packet drops to start the wifi reset process). You can keep it running in the background. More information is available in the README of the github link given above.
If you don't want to install Golang just for this, you can get the same result by using the following shell script
#!/bin/bash while :; do networksetup -setairportpower en1 off sleep 3 networksetup -setairportpower en1 on sleep $((20 * 60)) done
networksetup -listallhardwareports first to check whether your Wi-Fi really is on
Try removing some of the plist files as indicated in the above
- Turn off your router.
- Start your mac.(now it should start without problems)
- (remove all your wifi network configs. Create new ones)<- it doesn't work for me.
- Preferences > Disable in IPv6 in network preferences!!!
Also, try to update/reinstall tap/tun virtual network drivers. Install the version for your OS at http://tuntaposx.sourceforge.net/download.xhtml
I wrote this script that checks for internet every 20 seconds then restarts the wifi network adapter if it is offline. You may have to change your adapter from en0 depending on which one your WIFI device uses
#!/bin/bash while :; do echo -e "GET http://google.com HTTP/1.0\n\n" | nc google.com 80 > /dev/null 2>&1 if [ $? -eq 0 ]; then echo "Online" else echo "Offline" networksetup -setairportpower en0 off sleep 3 networksetup -setairportpower en0 on fi sleep $((20*1`)) done
In my case, the only thing I found to actually fix the problem was to change country settings in my router to USA.
Routers and Wireless interfaces have different "profiles" for different world region due to regulations that change between country to country.
In my case I suspect that someone have some buggy implementation on their side (maybe my router, maybe my MacBook Pro).
I had been having issues with my internet on my late model 2015 MacbookPro for months and turned off the Bluetooth and the difference was night and day. I have about 6 different devices that the Bluetooth has been connected to on and off over the course of two years. I recently had it serviced at Apple for another issue where the PRAM was reset and saw no change. Will post a follow up if anything changes but I am amazed at the difference so far.