Properties for device type
systemd-networkd does not natively support wifi, so you need
wpasupplicant installed if you let the
networkd renderer handle wifi.
This provides pre-configured connections to NetworkManager. Note that
users can of course select other access points/SSIDs. The keys of the
mapping are the SSIDs, and the values are mappings with the following
Enable WPA2 authentication and set the passphrase for it. If neither
this nor an
auth block are given, the network is assumed to be
open. The setting
is equivalent to
auth: key-management: psk password: "S3kr1t"
Possible access point modes are
infrastructure (the default),
ap (create an access point to which other devices can connect),
adhoc (peer to peer networks without a central access point).
ap is only supported with NetworkManager.
bssid (scalar) – since 0.99
If specified, directs the device to only associate with the given
band (scalar) – since 0.99
Possible bands are
5GHz (for 5GHz 802.11a) and
(for 2.4GHz 802.11), do not restrict the 802.11 frequency band of the
network if unset (the default).
channel (scalar) – since 0.99
Wireless channel to use for the Wi-Fi connection. Because channel
numbers overlap between bands, this property takes effect only if
band property is also set.
hidden (bool) – since 0.100
true to change the SSID scan technique for connecting to
hidden WiFi networks. Note this may have slower performance compared
false (the default) when connecting to publicly broadcast
wakeonwlan (sequence of scalars) – since 0.99
This enables WakeOnWLan on supported devices. Not all drivers support all
options. May be any combination of
tcp (NetworkManager only). Or the exclusive
default flag (the default).