= Systemd Networkd = A component of the '''systemd''' project. <> ---- == Installation == The entirety of the systemd project is almost certainly already installed. ---- == Usage == === Wireless === First, identify your wireless interface using `networkctl(1)`. Second, create a pair of files. Write the following to `/etc/systemd/network/wireless.network`: {{{ [Match] Name=wl* [Network] DHCP=yes RouteMetric=20 IPv6PrivacyExtensions=true }}} And write the following to `/etc/wpa_supplicant/wpa_supplicant-{INTERFACE}.conf`, where `INTERFACE` is the wireless interface identified earlier: {{{ ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel update_config=1 eapol_version=1 ap_scan=1 fast_reauth=1 }}} Enable and start the following services: `systemd-networkd`, `wpa_supplicant@{INTERFACE}`, and `systemd-resolved`. With the `wpa_supplicant` server now running, generate the configuration for your selected !WiFi network. Try running `wpa_passphrase {WIFI_ID} {WIFI_PASSWD} >> /etc/wpa_supplicant/wpa_supplicant-{INTERFACE}.conf`. Finally, reboot and test your connection. ---- CategoryRicottone