DHCP broken after install
It’s been a while since I installed arch, so I worked through the installation guide at https://wiki.archlinux.org/index.php/Installation_guide
I installed the correct essential packages: pacstrap /mnt base linux linux-firmware
I added my hostname to /etc/hostname and added the entries to /etc/hosts
But after completing the install, I’m unable to access the internet. I set the enp4s0 Ethernet interface to up, but still nothing.
I tried to do systemctl enable dhcpcd , but it returned the error: “Failed to enable unit: unit file dhcpcd.service does not exist
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- eaw8ca
7 comments
Deleted before we saved it.
systemd-networkd and its cousin systemd-resolved are available because they come with systemd.
Deleted before we saved it.
Deleted before we saved it.
This is it. I had the same problem as OP when I installed Arch. Once you’ve done:
You’re in your new installation. Just follow the installation guide till the end, but do not reboot! First you have to install the dhcpcd service by running:
After successfully installing dhcpcd on your new Arch install, run:
This is how I solved the problem, let me know if it works
Deleted before we saved it.