Network Managers on Arch
There seems to be two main choices: netctl and NetworkManager. NetworkManager are what most distros use. It's recommended for laptops, which are likely to roam and connect to many networks, because it has more support for "exotic" connections, e.g. bluetooth and eduroam. Some have the opinion that this makes it bloated.
netctl needs a DHCP client to run. Most people use dhcpcd
. To get netctl to connect to a network, I use wifi-menu
to create a netctl
profile and on reboot, here is what I need to do:
ip set <NIC> down
where<NIC>
is oftenwlan0
. NOTE: I find that this needs to be done even ifip a
shows aDOWN
status.netctl start <netctl profile>
systemctl start dhcpcd.service
NOTE: I find that this needs to be done even ifdhcpcd.service
is already runningping google.com
Note that if running NetworkManager, the dhcpcd.service
must be disabled. And if using a wireless connection, wpa_supplicant.service
must be enabled. Wireless Protected Access (WPA) replaced WEP, and is currently being phased out in favor of WPA2.
1. Useful commands
ip a
to list Network Interface Controller (NIC) devicesip set DEVICE up/down
wifi-menu
is a GUI for creating netctl profilesnetctl list
for listing all netctl profilessystemctl --type=service
for listing all systemd services