I am new to to Ubuntu. My laptop is connected to the WiFi but I am not being able to access internet. However the same WiFi is working on my mobile. If any other information is reqd than I can provide the same.
Asked
Active
Viewed 55 times
0
1 Answers
0
You are most likely having a DNS problem. You can check if you have intenet connectivity by pinging a host that may certainaly be connected. Try pinging Google's DNS server:
$ ping -c10 8.8.8.8
If you get a positive response try add an entry to the top of your /etc/resolv.conf file:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
search [your preferred domain suffix such as mydomain.com]
The search option isn't a requirement, but can be a convenience facility to use single word host names for your local machines.
If your internet browsing starts working after the resolv.conf change, you can make this automatic by adding a head to your resolvconf configuration files:
/etc/resolvconf/resolv.conf.d/head:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8
search [mydomain.com]

L. D. James
- 25,036
lspci | grep Network
? – Seth Oct 18 '14 at 16:15