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.

I just upgraded to 12.10. Everything appears to go well but I am unable to connect to the Internet. The LAN is fine and I can view my shared files but no e-mail or access to web pages. My other computer which is running 12.04 or older seems to connect fine. I only upgraded one to make sure things would be ok. I am currently connecting fine with a wireless Windows laptop.

Output from cat /etc/resolv.conf

# Generated by NetworkManager
nameserver 127.0.0.1
share|improve this question
    
If you want to ask a question about the hard disk, I would start a new post. –  hexafraction Oct 24 '12 at 22:27

2 Answers 2

up vote 1 down vote accepted

try to see what you are connected to first. you could use

ifconfig

and see if you get an IP adress. If you do try

ping 173.194.67.94

to ping a google server, if this works the routing works okay. Then test

ping www.google.com

to see if that can be resolved to the right server ip address.

If you can't connect to the internet you'll probably find your problem somewhere in these steps. Then compare the network settings between your two systems to see what is going on.

If you've installed 12.10 somewhat weird like I did(minimal install without gui) you might want to check the /etc/network/interfaces and remove everything but your local interface. This is what made my computer get this problem a few days ago.

share|improve this answer
    
I think the ping 173.194.67.94 worked. output was continuous lines of 64 bytes from 173.194.67.94 icmp_req=52 ttl=45 time=108 ms –  Peter Schriver Oct 24 '12 at 23:13
    
I think the ping 173.194.67.94 worked. output was continuous lines of 64 bytes from 173.194.67.94 icmp_req=52 ttl=45 time=108 ms The ping www.google.com returned ping:unknown host www.google.com –  Peter Schriver Oct 24 '12 at 23:20
    
FWIW I just clicked on the update to 12.10 button from 12.04 on update manager –  Peter Schriver Oct 24 '12 at 23:23
1  
ok, you probably have a problem with your dns configuration, in ubuntu desktop when you're using network-manager for the configuration of your pc you should have a nearly empty /etc/network/interfaces file, you can check it by outputting it contents in a terminal (cat /etc/network/interfaces) if 12.04 worked correctly it probably doesn't say anything about eth0 or wlan0 which is good. So then go to the network manager and see if there is something underneath wired network. this should be autoconfigured. At the bottom using edit connections you can edit this. Good luck! –  Steven Stip Oct 25 '12 at 0:20
    
output from cat /etc/network/interfaces auto lo iface lo inet loopback –  Peter Schriver Oct 25 '12 at 0:28

I meant to post this as comment but I don;t have privileges for that.

resolv.conf must have at least 1 non-local entry for packet routing. Click on the network indicator in the system tray, then click Edit Connections->[Choose your connection (wired or wifi)]-> Edit -> IPv4 settings.

Make sure that the "Method" dropdown shows exactly this value "Automatic". If you set your own DNS servers manually, make sure that the values that you see are identical on both your computers. If you make any changes, save your connection, disconnect and reconnect again to generate a new resolv.conf.

share|improve this answer
    
Thanks for the quick response. It is a wired connection. I have it set to Automatic. I saved, disconnected, reconnected and still no internet. –  Peter Schriver Oct 24 '12 at 23:04
    
I also rebooted the router for good measure and still no internet –  Peter Schriver Oct 25 '12 at 0:21
    
Somehow i have succeded in not being able to connect at all. I now cannot connect to the local network or internet.Any chance of restoring my network connection? –  Peter Schriver Oct 25 '12 at 2:42
    
Are the settings identical on the updated computer as well as the older one? I should have called that out more clearly in the original response... –  sahas Oct 25 '12 at 3:42
    
All of the settings are the same. I use Automatic (DHCP) routinely to make things easier. At the moment I cant even connect to the LAN and I can't get an IP from the router for some reason. Really starting to regret hitting the upgrade button. –  Peter Schriver Oct 25 '12 at 10:25

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.