OS X EI Captain (version 10.11.5). This issues is consistent, whenever Mac awakes from sleep, My internet is disconnected. I tried the following options,
- Turn off wifi and turn back on.
- Restart network service by
sudo ifconfig em0 down
and up.Basically restarting network services. - Network settings to renew DHCP address, Prioritizing the wifi in service order.
airport
can do for you? It has a few more options than those that are available in the GUI: itdojo.com/osx-airport-cli-tool-not-just-for-airport-aps I've had good results occasionally with the tool.