I upgraded my Debian Jessie desktop two days ago but I found that I am not able to connect to internet via
www.google.com, but it said "unknown host". For the
inet addr and
Bcast addresses (in the
eth0 section of
ifconfig result), I can ping without any problems.
When I restart the network-manager service using:
sudo service network-manager restart
The connection will work, but only for a few seconds.
So what's the possible root cause? How can I resolve this?
After some trials, I found that it may result from
ntp service since when I stopped it, the network seems working correctly. But how can I fix that?
Several minutes later, I found the connection failed again. So it may not result from
Now I keep network-manager unmanaged and use
networking service to manage my eth0 connection. But strangely it also only works for a while when I restart the service.
So is it because my computer is hacked or my admin has done something to my IP?
As my computer is dual-boot, I also log in Windows and it connects correctly. So I guess my IP is not blocked by the admin (also I didn't receive any notification about this). Another interesting symptom is that it takes quite a long time to
sudo service networking restart(nearly 30s).