You are not logged in.

#1 2013-05-14 03:32:08

ub1quit33
Member
Registered: 2013-04-30
Posts: 58

[Unable to Reproduce] No DNS response on device behind NAT

After flashing my Raspberry Pi with OpenELEC, I am now working on getting it hooked in to my network. I am attempting to do this by plugging it into my Arch-based server which has a wireless connection and setting up connection sharing using the NAT method, as bridging eth0 and wlan0 does not appear to be possible based on research I've done. Although the NAT setup does provide the Pi with a connection, it is unable to receive DNS responses and therefor cannot resolve hostnames (rendering the connection virtually useless). Is anyone familiar with this kind of issue? I will be happy to provide any additional information desired.

Last edited by ub1quit33 (2013-05-15 06:20:58)

Offline

#2 2013-05-14 04:01:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,158

Re: [Unable to Reproduce] No DNS response on device behind NAT

A few questions.  On the Arch box, what is the output of iptables -L
Also, if you could provide the output of ip addr


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#3 2013-05-14 17:54:04

ub1quit33
Member
Registered: 2013-04-30
Posts: 58

Re: [Unable to Reproduce] No DNS response on device behind NAT

Sure thing! I'll paste that output when I get home tonight

Offline

#4 2013-05-14 19:26:38

testcore
Member
Registered: 2012-07-07
Posts: 8

Re: [Unable to Reproduce] No DNS response on device behind NAT

Also make sure that you've got IP forwarding enabled:

echo "1" > /proc/sys/net/ipv4/ip_forward

Offline

#5 2013-05-14 19:34:53

ub1quit33
Member
Registered: 2013-04-30
Posts: 58

Re: [Unable to Reproduce] No DNS response on device behind NAT

testcore wrote:

Also make sure that you've got IP forwarding enabled:

echo "1" > /proc/sys/net/ipv4/ip_forward

As I mentioned, I followed the wiki guide on setting up the connection sharing... that step was specified in the wiki guide... Additionally, I wouldn't be able to ping external IP addresses if I hadn't performed that step (which I am able to), so again... best as can be observed, the issue is that for some reason the device cannot receive responses to DNS queries behind the NAT.

Offline

#6 2013-05-15 06:20:28

ub1quit33
Member
Registered: 2013-04-30
Posts: 58

Re: [Unable to Reproduce] No DNS response on device behind NAT

Well the reason it took me so long to post back is because I came home, got the NAT all setup again, and went and tested to start gethering information on my issue... and everything worked. Unfortunately, as I was unable to reproduce my own issue, I don't have any useful information to post on the troubles I was encountering earlier though sad

I'll mark this thread as... something...

Offline

Board footer

Powered by FluxBB