Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2522  / 2 Years ago, fri, august 19, 2022, 2:32:33

I have dual booted machine windows 7 with ubuntu 12.04.
I dont have direct internet access in ubuntu on wired network although direct connection works in windows7.



I have to connect through a proxy on ubuntu, which works fine.
This is not a ubuntu version related problem as i have been getting it from ubuntu 11.04.



I want to know what difference is there in ubuntu and windows 7 which creates such results and how to fix it?



EDIT



In ubuntu i get the error on direct connection(google-chrome-stable) -



The server at www.example.com can't be found, because the DNS lookup failed.


More From » 12.04

 Answers
0

The resolv.conf in Ubuntu was probably changed for proxy use and was not changed back for normal use for some reason. Deleting the old resolv.conf may help. You can make a backup copy of the file and delete the original with this single command:



sudo mv /etc/resolv.conf /etc/backup.resolv.conf


A new resolv.conf will be generated as and when needed.



Steps:




  1. Boot into Ubuntu

  2. disconnect from the Internet via proxy, if connected.

  3. Open a terminal by pressing Ctrl+Alt+T and enter the command:



    sudo mv /etc/resolv.conf /etc/backup.resolv.conf


  4. Connect to the Internet with the Direct connection settings.




To add a permanent dns entry to resolv.conf see: How do I add a DNS server via resolv.conf?



Hope this helps


[#35512] Saturday, August 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ipentainer

Total Points: 112
Total Questions: 113
Total Answers: 113

Location: Guernsey
Member since Tue, Jul 6, 2021
3 Years ago
;