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.

Just recently I've been able to connect to my wireless network, but I can't actually access any websites. I can access my routers administration page entering the numeric IP. I also discovered I can ping some numeric IPs (8.8.8.8 and 139.130.4.5 for example, but not www.google.com).

I'm on 12.04. I don't believe it's just my home network, as I can get on-line at work either. Though there I first have to log-in through a webpage, which I can't access, so it's a little hard to tell where the issue starts there.

I'm suspecting something DNS related since numeric IPs work, but have no clue where to go from here.

Edit: responding to comments

I can use the stack exchange IP

Looking at those two files it appears trying to use my computer at work messed up my DNS

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis


resolv.conf:
 domain search4me.epic.com
nameserver 10.8.236.226
nameserver 10.8.236.227
search search4me.epic.com dhcp.epic.com
share|improve this question
    
Can you include the output of traceroute www.google.com and What are the contents of /etc/nsswitch.conf & /etc/resolv.conf ? –  Achu May 2 '13 at 13:28
1  
Suggests DNS server not working does http://198.252.206.16 get you to the stack exchange site? If it does then all we need to do is configure DNS. –  Warren Hill May 2 '13 at 13:30
    
And I deleted resolv.conf and now it's working fine. Of course I have no resolv.conf now. –  Rob Mosher May 2 '13 at 23:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.