KDE 4.11 When I close laptop lid and then open again, sometimes the internet doesn't work and when I troubleshoot it, I found that DNS settings are gone which causes domain resolutions to fail. I have to disconnect LAN cable and reconnect to make it working again. In such cases when I see /etc/resolv.conf, I see that name servers are gone. When I unplug and plug lan cable, name servers are back in file and internet starts working. Reproducible: Sometimes Steps to Reproduce: 1. Close laptop lid to suspend. 2. Open laptop lid again after some times. I'm able to reproduce around 50% times. Actual Results: DNS settings are gone and domain resolution fails in system. Expected Results: Network should resume normally and work flawlessly.
This is probably not a Plasma NM but. Plasma NM run as normal user so it cannot write to /etc/resolv.conf. Since the problem is not reliably reproducible my guess is that there may be a script in /etc/NetworkManager/dispatcher.d doing something wrong. Other alternatives are a bug in resolvconf command line tool or even a problem with your dhcp server (this is less likely to happen I must admit). Which NetworkManager version do you use? Do you have the resolvconf command line tool installed? Do you have any script in /etc/NetworkManager/dispatcher.d? Please also send the NetworkManager log for whenthe problem happens.
NetworkManager-0.9.6.4-5.12.2.x86_64 There is no resolvconf command. linux-t2ce:/etc/NetworkManager/dispatcher.d # ls .nfs.swp autofs nfs I'll add log when I reproduce next time.