Start New Discussion Reply to this Discussion Ubuntu Server 12.04 Connection Error Solution
If you cannot ping any websites and cannot get updartes or upgrades, you might have a nameserver issue. GI just installed a fresh copy of Ubuntu Server 12.04 and this has been an issue since I installed it. I did not know what to do, but I check the /etc/resolv.conf file and it was totally blank. The format for this should be (as a sample)
search mysite.biz
nameserver ROUTER
nameserver OTHER ROUTER
You might need to tweak this a bit, I just wrote the same router twice. Save the file, exit and voila! Internet connection again!
10 Months Ago
Last Updated
Related Article: Ubuntu Server 12.04 Update Error
is a solved Linux and Unix discussion thread by PhilEaton that has 1 reply, was last updated 10 months ago and has been tagged with the keywords: ubuntu, linux, server, 12.04, update, upgrade, internet, ethernet.
PhilEaton
Junior Poster
119 posts since Aug 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 1
as an update, this file is SUPPOSED to be blank and is only used for non-static machines. it is automatically overwritten a every restart. to permanently fix this, edit /etc/network/interfaces and add the line 'dns-nameservers 192.168.1.1' or whatever you router ip happens to be, and save the file. restart networking '/etc/init.d/networking restart' and voila! internet!
PhilEaton
Junior Poster
119 posts since Aug 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 1
PhilEaton
Junior Poster
119 posts since Aug 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 1
© 2013 DaniWeb® LLC
Page generated in 0.0579 seconds
using 2.66MB