Raspberry Pi SSH access but no internet (eth0/DHCP)

Ask questions about Arch Linux ARM. Please search before making a new topic.

Raspberry Pi SSH access but no internet (eth0/DHCP)

Postby gragas » Wed May 11, 2016 12:54 am

I have an original Raspberry Pi, on which I just installed Arch Linux. I followed the guide [here](https://archlinuxarm.org/platforms/armv6/raspberry-pi).

I plugged the Pi into my router with an ethernet cable and I am able to access it via SSH. However, I can't seem to get an internet connection to the outside world. When I ping google.com I get output like this:

$this->bbcode_second_pass_code('', '
PING google.com(ord31s21-in-x0e.1e100.net (2607:f8b0:4009:808::200e)) 56 data bytes
From 2604:2d80:c028:8198:b675:eff:fe37:55d4 (2604:2d80:c028:8198:b675:eff:fe37:55d4) icmp_seq=1 Destination unreachable: No route
From 2604:2d80:c028:8198:b675:eff:fe37:55d4 (2604:2d80:c028:8198:b675:eff:fe37:55d4) icmp_seq=2 Destination unreachable: No route
From 2604:2d80:c028:8198:b675:eff:fe37:55d4 (2604:2d80:c028:8198:b675:eff:fe37:55d4) icmp_seq=3 Destination unreachable: No route
')

When I curl google.com I get a 301 response:

$this->bbcode_second_pass_code('', '
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
')

The contents of my /etc/systemd/network/wired.network are:

$this->bbcode_second_pass_code('', '
[Match]
Name=eth0

[Network]
DHCP=yes
')

I have tried running dhcpcd eth0 and that seems to work. What's going wrong?
gragas
 
Posts: 1
Joined: Wed May 11, 2016 12:51 am

Re: Raspberry Pi SSH access but no internet (eth0/DHCP)

Postby andiling » Wed May 11, 2016 6:17 am

Probably a problem with your gateway configuration on IPv6. We may be able to see more if you post your routing table. Can you reach your gateway through IPv6?
andiling
 
Posts: 69
Joined: Sun Mar 06, 2016 8:34 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 38 guests