Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Trying to connect my new Raspi to the internet for the first time via a cross-over to a bridged connection with my laptop's wi-fi.

The Raspi browser works for internal network webservers but won't receive anything from the WAN using either URL or ip address. Get a name resolution failure and a fail to load page.

I'm thinking it must be router related as it only fails if going through the gateway router.

Any ideas what the issue might be and how to resolve it?

share|improve this question
1  
Try running traceroute 8.8.8.8. Since external ping fails, we're interested in first few results. – AndrejaKo Jan 3 at 9:08
Problem is resolved. I rebooted the laptop this morning and the router. Re-instated the bridge in the laptop and suddenly things started to work. – Chef Flambe Jan 3 at 18:51

1 Answer

As i have not enough reputation i post this as answer.

What's the output of the following commands?

ip addr show ip route show cat /etc/resolv.conf

I think your dhcp server has either not send the correct dns servers or routers to external networks.

Did you try pinging a external server? ping -c 4 8.8.8.8 (This is a DNS Server from google).

share|improve this answer
Made my NIC static so the /etc/network/interfaces has addr/net/mask/brdcst/dns-nameserver. Set the resolv.conf to 208.72.222.222(???) it's an OpenDNS server. ip route points to default gateway and ip addr is as assigned. Internal pings work. External pings fail. – Chef Flambe Jan 3 at 7:52
Can you ping your router? Do you have control over the router? – morlix Jan 3 at 9:10

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.