Jump to content

Problems with AP name resolution

andrew2165

Hello all,

So I recently moved back home from college and any device connected from one just the one AP no longer want to do anything related the internet. Only name resolution problems. I checked the DNS settings on both router and AP and nothing seemed out of the ordinary to me (which doesn't mean much).

 

$ ping google.com

returns 

ping: goolge.com: Temporary failure in name resolution


So, I changed /etc/resolv.conf to 8.8.8.8 at first with no results. I also tried with 1.1.1.1 and no cookie.

 

Similarly,

$ dig google.com

returns 

; <<>> DiG 9.10.3-P4-Raspbian <<>> google.com
;; global options: +cmd
;; connection timed out; no servers could be reached

 

This is about where my knowledge ends on this subject, so all help is greatly appreciated.

 

Thanks in Advance

 

EDIT:

The only two things attached to the AP are my gaming rig and a RaspberryPi (Debian based). The "AP" is just a ASUS RT-N66R running in AP mode.

Link to comment
Share on other sites

Link to post
Share on other sites

Can you ping things by IP address, e.g. “ping 8.8.8.8”

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, brwainer said:

Can you ping things by IP address, e.g. “ping 8.8.8.8”

No, but I can still ssh from other points on the network (if that matters)

$ ping 8.8.8.8
From [IP] icmp_seq=1 Destination Host Unreachable

Edit: took out the IP b/c I'm not sure if it was just the local IP or not

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, andrew2165 said:

Hello all,

So I recently moved back home from college and any device connected from one just the one AP no longer want to do anything related the internet. Only name resolution problems. I checked the DNS settings on both router and AP and nothing seemed out of the ordinary to me (which doesn't mean much).

 


$ ping google.com

returns 


ping: goolge.com: Temporary failure in name resolution


So, I changed /etc/resolv.conf to 8.8.8.8 at first with no results. I also tried with 1.1.1.1 and no cookie.

 

Similarly,


$ dig google.com

returns 


; <<>> DiG 9.10.3-P4-Raspbian <<>> google.com
;; global options: +cmd
;; connection timed out; no servers could be reached


 

This is about where my knowledge ends on this subject, so all help is greatly appreciated.

 

Thanks in Advance

 

EDIT:

The only two things attached to the AP are my gaming rig and a RaspberryPi (Debian based). The "AP" is just a ASUS RT-N66R running in AP mode.

Do a trace route and reply

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, andrew2165 said:

No, but I can still ssh from other points on the network (if that matters)


$ ping 8.8.8.8
From [IP] icmp_seq=1 Destination Host Unreachable

Edit: took out the IP b/c I'm not sure if it was just the local IP or not

Can you ping your router’s IP? Also, was the IP you redacted your computer’s own IP, or did it differ?

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Marshnt said:

Do a trace route and reply

$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  raspberrypi ([local IP])  1239.208 ms !H  1239.144 ms !H  1239.051 ms !H

$ traceroute google.com
google.com: Temporary failure in name resolution
Cannot handle "host" cmdline arg `google.com' on position 1 (argc 1)

 

10 hours ago, brwainer said:

Can you ping your router’s IP? Also, was the IP you redacted your computer’s own IP, or did it differ?

Yes, I can. And looking back at it, the IP was just the static IP of the computer.

Link to comment
Share on other sites

Link to post
Share on other sites

23 minutes ago, andrew2165 said:

$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  raspberrypi ([local IP])  1239.208 ms !H  1239.144 ms !H  1239.051 ms !H

$ traceroute google.com
google.com: Temporary failure in name resolution
Cannot handle "host" cmdline arg `google.com' on position 1 (argc 1)

 

Yes, I can. And looking back at it, the IP was just the static IP of the computer.

Is your router’s IP set up as the default gateway of the computer? And can you show us your routing table? (“ip route show” on most linux systems)

 

EDIT: any private IP (starting in 10. , 172. , or 192.168. ) are safe to show publically. They can’t be abused in any way.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, brwainer said:

Is your router’s IP set up as the default gateway of the computer? And can you show us your routing table? (“ip route show” on most linux systems)

 

EDIT: any private IP (starting in 10. , 172. , or 192.168. ) are safe to show publically. They can’t be abused in any way.

It doesn't appear to be the default gateway

$ ip route show
default via 10.88.52.251 dev eth0 src 192.168.1.20 metric 202 
10.88.52.251 dev eth0 proto kernel scope link src 192.168.1.20 metric 202 
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.20 metric 202 

So I googled how to change it 

$ ip route | grep default 
default via 10.88.52.251 dev eth0 src 192.168.1.20 metric 202

# 10.88.52.251 is not the router's IP

$ sudo route add default gw 192.168.1.1 eth0

$ ip route | grep default
default via 192.168.1.1 dev eth0 
default via 10.88.52.251 dev eth0 src 192.168.1.20 metric 202 

$ ping google.com
ping: google.com: Temporary failure in name resolution

Also, thanks for the IP clarification. I wasn't 100% sure and didn't want to risk it

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, andrew2165 said:

It doesn't appear to be the default gateway


$ ip route show
default via 10.88.52.251 dev eth0 src 192.168.1.20 metric 202 
10.88.52.251 dev eth0 proto kernel scope link src 192.168.1.20 metric 202 
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.20 metric 202 

So I googled how to change it 


$ ip route | grep default 
default via 10.88.52.251 dev eth0 src 192.168.1.20 metric 202

# 10.88.52.251 is not the router's IP

$ sudo route add default gw 192.168.1.1 eth0

$ ip route | grep default
default via 192.168.1.1 dev eth0 
default via 10.88.52.251 dev eth0 src 192.168.1.20 metric 202 

$ ping google.com
ping: google.com: Temporary failure in name resolution

Also, thanks for the IP clarification. I wasn't 100% sure and didn't want to risk it

You need to remove the other default gateway also.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, brwainer said:

You need to remove the other default gateway also.

Good call, thanks for the help.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×