DD-WRT DNS lookup failure

1

I'm trying to configure a new router (a Linksys WRT160Nv3) with DD-WRT. It seems that no matter what the settings, DNS lookups fail. I can't ping anything outside my network (I get an unknown host message), can't connect in a browser, etc.

I've tried matching the settings in DD-WRT exactly (I think) to the settings for a WRT54GS I have running DD-WRT (which is currently working fine), but to no avail.

I've tried explicitly setting Google's DNS servers (8.8.8.8 & 8.8.4.4) as well as the OpenDNS servers.

What can I do to further troubleshoot this problem? I'm not extremely familiar with networking in general and especially diagnostic/command line tools that would be useful in this situation.

Travis Northcutt

Posted 2012-08-02T03:21:59.083

Reputation: 901

Answers

1

First thing: try pinging an IP address, such as 8.8.8.8. You said you're getting an unknown host message; that means you pinged a domain name and the DNS lookup failed, but that doesn't tell us anything new.

Does it not work (likely no response)? Well, it seems your new router isn't connecting to the Internet.

One cause of a router silently failing to connect to the ISP that I've encountered is if you forgot to clone the MAC address of the previous device you used to connect to it. See my answer here for more details.

If that isn't the cause, it doesn't seem like there's anything wrong on your end, so you should contact your ISP's support and tell them you can't ping.

Mechanical snail

Posted 2012-08-02T03:21:59.083

Reputation: 6 625

You were correct - I cloned the MAC address of the other router, and it works great now. THANKS! – Travis Northcutt – 2012-08-02T03:47:45.597

Actually, I take that back - it seemed to work, but then the same problem returned. I'll report back if I can gather any mor info. Does the MAC address eventually revert back to the original from the cloned one? If so, that would explain it working temporarily. – Travis Northcutt – 2012-08-02T12:08:06.287

Now it seems as though I'm able to get an outside connection when my computer is connected to the router with an ethernet cable, but not when connected via wi-fi. Marking this as accepted since it seems to have solved the problem, and I'll probably go ask about the wi-fi issue on apple.SE, since I've had a similar wi-fi problem with another network, and only since upgrading to Mountain Lion. – Travis Northcutt – 2012-08-02T14:52:06.673

Turns out this isn't isolated to connecting with a Mac - my old windows machine also can't get an outside connection via wifi. I'll ask a new question for this. – Travis Northcutt – 2012-08-02T15:24:27.300