Error: Network not reachable on Arch Linux system.
Error: Network not reachable on Arch Linux system.
Arch typically includes a networking guide in the manual, but I often overlook it. I usually check the handbook for setting up networking—perhaps enabling netctl with netctl enable and then activating your network card via systemctl. For GNOME or KDE, consider using Network Manager instead of netctl. If you're booting from a live CD, you can reinstall Arch without formatting and mount the required files as if installing normally. Once installed, enable Network Manager with systemctl, and ensure GDM or SDDM is active during boot by running systemctl enable.
You're likely to discover what you require at this location: https://wiki.archlinux.org/index.php/systemd-networkd
Most DEs include a network manager to handle connectivity. If you lack a DE and remain on the same interface without disconnecting your device, ensure DHCP is running on that port. Start dhcpcd@enp3s0 with sudo systemctl once booted. For better control, use nmcli or nm-applet instead of ifconfig, which is part of net-tools and should be avoided. When using Ethernet only, the above steps suffice. If you move or use your device offline, install network-manager and manage connections via its tools.
It seems the DHCP service wasn't activated at startup. Fix it by running sudo systemctl enable dhcpcd. For a smoother setup, you can also start it without rebooting using sudo dhcpcd @101dmrs. This command works on a single interface and helps automatically request an IP address, though enabling it generally ensures consistent behavior across all available networks.