Windows Reset Network Adapter
When having problems connecting to the LAN or Internet the following terminal commands may clear the problem.
Reset IP stack; Winsock catalog and firewall
netsh int ip4 reset netsh int ip6 reset netsh winsock reset netsh advfirewall reset # beware resets rules to default Restart computer to effect changes
Renew IP address
ipconfig /release ipconfig /flushdns ipconfig /renew
If losing network after sleep check adapter settings under “Power Management” to ensure the interface is not powered down to save energy.