Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I have 12.04 on a HP Pavilion g series laptop.

12.04 works fine on my computer.

Then several weeks ago, my laptop would no longer connect to the internet. My tablet connects fine. I booted ubuntu on my USB and it works fine. Something seems to be wrong "within" Ubuntu.

I have now reinstalled ubuntu 4 times. After varying amounts of time the same problem reoccurs (and I have stopped updating any software in case this is the problem).

I use Cisco Anyconnect and Real VNC to log into a server somewhere else (they are the only programs I could imagine causing any problems).

share|improve this question
1  
Please clarify the question by adding more information. When "Internet stops working" does the network manager still say that you are connected? What does the connection properties show? What does the file /etc/resolv.conf show? If answers to both are yes, see askubuntu.com/questions/156154/… for possible solutions. –  user68186 Dec 20 '12 at 17:29

1 Answer 1

In Ubuntu 12.04 and later /etc/resolv.conf should be a symbolic link to ../run/resolvconf/resolv.conf. The latter is generated dynamically by the resolvconf utility. Interface configurers are supposed to be resolvconf-aware.

Third-party interface configurers and in particular third-party VPN interface configurers are frequently not resolvconf-aware and write to /etc/resolv.conf directly, and don't restore the symbolic link afterwards. They leave the machine with a misconfigured resolver. Please check for this problem.

If you have this problem then you may be able to fix it by running

dpkg-reconfigure resolvconf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.