For the most simple network setups, it's usually sufficient to simply do this:
systemctl start dhcpcd@venet0.service
If that works, then make it permanent like this:
systemctl enable dhcpcd@venet0.service
This is documented in the Arch Linux Beginner's Guide.
If the above doesn't work, try this ....
Arch Linux usually uses NetCtl for setting up networking.
It isn't automatic, but it is relatively easy:
Copy
/etc/netctl/examples/ethernet-dhcp
(orethernet-static
) into the/etc/netctl/
directory.Edit the new file, and fill in the details. This should be clear enough.
Start the interface with
netctl start ethernet-dhcp
. You might find the interface needs to be setdown
before this will work.If all is well, make it permanent with
netctl enable ethernet-dhcp
. It will now auto-connect at start up.
Other network control tools are available. An alternative you might like to use is NetworkManager, which has an interactive terminal control/configuration tool called nmtui
(Network Manager Text User Interface).