You are not logged in.
Unfortunately, I am new to Arch Linux and deleted netctl and dhcpcd prior to realizing how important they are for network configuration. I have a Dell XPS 13 so there's no way of directly connecting with an ethernet cable, and currently the Insignia USB-Ethernet adapter I have is not working. I do, however, have an Arch Linux iso on a USB, so maybe I would be able to install the base group of packages using that?
Does anyone have any suggestions? Thanks in advance!
Last edited by trevsjordan (2017-12-14 00:38:02)
Offline
Just run the live image, mount the partitions and pacstrap `netctl dialog wpa_supplicant dhcpcd` on the mountpoint.
Reboot and you have again your connections tools.
Offline
pacman -U "pkgname.pkg.tar.xz"allows to install any pkg downloaded from the official arch repository (and the AUR).
Download both netctl and dhcpcd, copy them to a USB stick/smartphone and you're done.
@smlb suggestion is yet another option to do it.
For the future, you'd better write down the base group to avoid randomly deleting essential packages.
Offline
Or you could either arch-chroot into your broken system or use pacmans --root flag and reinstall them from your pacman cache ![]()
Offline
If you didn't clear your cache, there is a much simpler solution, no need for a live usb (though that will work fine too). Just reinstall the package from the cache:
pacman -U /var/cache/pacman/pkg/dhcpcd...fill in the "..." as needed (tab completition should get it for you).
netctl is just a convenience tool, you can connect manually without it, but you can also reinstall that the same way you do dhcpcd from the cache.
EDIT: Slithery, why the chroot? Not having a netowork connection doesn't render a machine unbootable.
Last edited by Trilby (2017-12-13 21:48:18)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
EDIT: Slithery, why the chroot? Not having a netowork connection doesn't render a machine unbootable.
Obviously you're correct, I I've not had my coffee yet this morning ![]()
Thinking too complicated.
Offline
Wow, great response time - just marked it as solved, thanks for all the help!
Offline