.\" Generated by scdoc 1.11.2 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "interfaces-wifi" "5" "2022-10-15" .P .SH NAME .P \fBinterfaces-wifi\fR - WiFi vocabulary for the interfaces(5) file format .P .SH DESCRIPTION .P Wi-Fi (the IEEE 802.\&11 family of protocols) is a commonly used wireless networking standard.\& The following options allow for configuration of Wi-Fi client interfaces.\& .P WPA-secured networks are managed using \fBwpa_supplicant\fR(8), while insecure networks are managed directly with \fBiwconfig\fR(8).\& .P .SH WIFI-RELATED OPTIONS .P \fBwifi-config-path\fR \fIpath\fR .RS 4 Denotes the absolute \fIpath\fR to a \fBwpa_supplicant\fR configuration file.\& If no path is given, \fI/run/wpa_supplicant.\&.\&conf\fR will be used for a temporary configuration file.\& This option may not be used with other configuration options.\& .P .RE \fBwifi-ssid\fR \fIssid\fR .RS 4 The SSID the Wi-Fi client should connect to.\& .P .RE \fBwifi-psk\fR \fIpsk\fR .RS 4 The passphrase for connecting to the Wi-Fi network.\& If unset, the client will connect without WPA2 encryption.\& .P .RE .SH EXAMPLES .P A typical setup may involve connecting to a home and work network.\& To achieve this, we can define a pair of virtual interfaces called \fBwifi-home\fR and \fBwifi-work\fR, which connect to their respective wifi networks: .P .nf .RS 4 iface wifi-home use dhcp wifi-ssid HomeNetwork wifi-psk ExamplePassphrase iface wifi-work use dhcp wifi-config-path /etc/network/wpa-work\&.conf .fi .RE .P The virtual interfaces can be used with \fBifup\fR and \fBifdown\fR: .P .nf .RS 4 # ifup wlan0=wifi-home # ifdown wlan0 # ifup wlan0=wifi-work .fi .RE .P .SH SEE ALSO .P \fBiwconfig\fR(8) .br \fBwpa_supplicant\fR(8) .P .SH AUTHORS .P Ariadne Conill