You are not logged in.

#1 2020-12-27 16:26:11

DraconicVision
Member
From: Ireland
Registered: 2020-12-27
Posts: 3

Arch install no Internet!

Hi there,

Arch newbie here, I'm writing this from Manjaro but I tried to do an straight Arch install about 30min ago and I'm having trouble connecting to the internet.

So, I downloaded the .ISO torrent from the official download page then ran the following command from within the directory the .ISO was in.

sudo dd bs=4M if=archlinux-2020.12.01-x86_64.iso of=/dev/sdc status=progress oflag=sync

No errors, rebooted the system, set it to boot from the BIOS and got into the installation media.

This is where the errors start. I did a simple ip link command, got the loop output and lo connection and enp6s0 connection. The later being my ethernet connection, notably no ipv4 address was shown. I then tried pinging archlinux.org and google.com, got the error similar to:
"Host Address unreachable"

Eventually it was found that within '/etc/dhcpcd.conf' ipv4 was disabled, using nano I commented that out. Then I started to get some better results when trying to ping hostnames such as archlinux.org, google.com (I even tried pinging straight IPs, 8.8.8.8). By better results I mean something very similar to:


PING google.com (192.168.1.5) 56(84) bytes of data
From archiso (192.168.1.5) icmp_seq=1 Destination Host Unreachable

Unfortunately, I didn't grab exact screenshots of the error but it was quite similar to the above. Can boot the installation media up again and take pictures if needed.

Eventually after doing this I just rebooted, thinking maybe a fresh boot would help and ran the following commands in succession.

systemctl start dhcpcd
systemctl enable dhcpcd

... To which it created a symlink.

systemctl enable dhcpcd@enp6s0

... To which it created a symlink.

ping google.com

To which it threw a "network unreachable" error

And so on. You can see more of this in this picture here, apologies it's a picture and not a screenshot - if there's a way to take screenshots feel free to let me know. Nonetheless, I feel the picture is very helpful in troubleshooting should anyone want to help!

There's no mac filter on my router and ipv4 and 6 is enabled, I'm writing this from Manjaro so clearly it can connect on an arch fork.

So after all that context, my question is - why can't arch connect to the internet?! I'm more than happy to boot up the installation media and try some diagnostic commands if anyone needs any more information. I would really appreciate some help here.

P.S. - Sorry if my thoughts are little scattered, working on this was a pain!

Offline

#2 2020-12-27 16:40:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,652

Re: Arch install no Internet!

systemctl start dhcpcd

systemctl start dhcpcd@enp6s0

will predictably cause a conflict.

Boot straight into the iso, check "systemctl status dhcpcd; ip a; ip r" and also "lspci -k | grep -iA5 ethernet".
In dobut post the outputs of those (as screenshot links if necessary)

Offline

#3 2020-12-27 16:57:55

DraconicVision
Member
From: Ireland
Registered: 2020-12-27
Posts: 3

Re: Arch install no Internet!

Thanks for getting back to me! As requested, you can see the output of the commands here.

Does this help at all? How should I proceed?

Offline

#4 2020-12-27 17:02:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,652

Re: Arch install no Internet!

The NIC is up and has a carrier but "only" an IPv6 lease.
Can you

ping 2001:4860:4860::8888

Edit: it's not controlled by dhcpcd, though (the service is disabled & dormant)

find /etc/systemd -type l -exec test -f {} \; -print

Last edited by seth (2020-12-27 17:05:47)

Offline

#5 2020-12-27 21:12:56

DraconicVision
Member
From: Ireland
Registered: 2020-12-27
Posts: 3

Re: Arch install no Internet!

Thanks for getting back to me, yeah I noticed that. Thought that was weird, as each time I get back to you it is a fresh boot into Arch I am not sure if ipv4 is disabled within '/etc/dhcpcd.conf' , can check that in future if requested. Unsure if that's relevant because as you said "it's not controlled by dhcpcd."

Either way, here's the results of the requested commands. Ignore me messing the second command up the first time!

Offline

#6 2020-12-27 21:18:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,652

Re: Arch install no Internet!

systemctl stop systemd-resolved
systemctl stop systemd-networkd
systemctl start dhcpcd
# wait
ip a
ping google.com

Offline

Board footer

Powered by FluxBB