I have a Toshiba z830 with ubuntu 12.04. I could use without problems the DSL connection (I have no router, only a modem) at home until a couple of days ago:

It stopped to work when while connected with the DSL connection via CiscoVPN (to my workplace), I had to leave the laptop unattended for a while and I guess the laptop tried to go to suspend. When I came back there were many messages on a black screen (sorry, I cannot attach an image because of my low reputation) and the laptop was not responding. I had to reset the it.

After rebooting it, the internet connection didn't work as did before (no browsing, no ssh, no skype, etc) although it says it is connected. I only can browse, etc when I connect to CiscoVPN to the same place where I was connected when it crashed.

When I am physically where I connected via VPN (at work) I can use the wireless, which I am not able to use now anymore since the incident described above.

Some additional information:

martillu@ubuntu:~$ cat /etc/resolv.conf  
domain km.icrr.u-tokyo.ac.jp  

martillu@ubuntu:~$ route -n  
Kernel IP routing table  
Destination Gateway Genmask Flags Metric Ref Use Iface UG 0 0 0 ppp0 UH 0 0 0 ppp0 U 1000 0 0 ppp0  

martillu@ubuntu:~$ ifconfig  
eth0 Link encap:Ethernet HWaddr e8:e0:b7:2f:bc:5a  
inet6 addr: fe80::eae0:b7ff:fe2f:bc5a/64 Scope:Link  
RX packets:17620 errors:0 dropped:1 overruns:0 frame:0  
TX packets:13168 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:19452232 (19.4 MB) TX bytes:2568218 (2.5 MB)  
Interrupt:20 Memory:c0700000-c0720000  

lo Link encap:Local Loopback  
inet addr: Mask:  
inet6 addr: ::1/128 Scope:Host  
RX packets:134 errors:0 dropped:0 overruns:0 frame:0  
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:36316 (36.3 KB) TX bytes:36316 (36.3 KB)  

ppp0 Link encapoint-to-Point Protocol  
inet addr: P-t-P: Mask:  
RX packets:17608 errors:0 dropped:0 overruns:0 frame:0  
TX packets:13129 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:3  
RX bytes:18993590 (18.9 MB) TX bytes:2221195 (2.2 MB)  

wlan0 Link encap:Ethernet HWaddr 9c:b7:0d:d9:21:f3  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

I think that: domain km.icrr.u-tokyo.ac.jp in the resolv.conf may be suspicious, since if I am not connected via CiscoVPN I do not know why it should appear "km.icrr.u-tokyo.ac.jp" (this is where I connect via VPN).

  • can you ping ? – user827992 Jul 16 '12 at 16:42

You are on the right track. the resolv.conf was changed for VPN use and was not changed back for normal use as a result of the crash. 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. See the answer to the following question:

Can not access Internet (DNS names do not resolve) after update today

Also see:


Hope this helps.

| improve this answer | |
  • Aaah it's so nice when it works!! I was very close but maaaaan, thanks a lot! – Lluis Jul 17 '12 at 10:44

@user68186's answer didn't quite work for me, though that might have been due to other issues. What did seem to work is doing what was suggested (removing /etc/resolv.conf by creating a backup)

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

and then (following resolveconf's good man page) creating a new sym link to /run/resolvconf/resolv.conf (which I found mentioned also in this Ubuntu 14.04 resolvconf bug report)

cd /etc
sudo ln -s /run/resolvconf/resolv.conf .

After doing this and restarting the network-manager

sudo /etc/init.d/network-manager restart

things seem to be working again.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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