WiFi

From Autopilot Wiki
Revision as of 23:32, 14 December 2021 by Jonny (talk | contribs) (Created page with "Category:RaspiOS Category:Networking == Configuration == When configuring the raspberry pi headless or when using a Lite version without an X server, use Uses Unix...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Configuration

When configuring the raspberry pi headless or when using a Lite version without an X server, use wpa_supplicant, configuration file located at /etc/wpa_supplicant/wpa_supplicant.conf, to configure it.

All configurations need preamble like this at the top of the configuration:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

WEP

The simplest configuration is something like...

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
 scan_ssid=1
 ssid="NAME OF NETWORK"
 psk="PASSWORD"
}

WPA

network={
 scan_ssid=1
 ssid="NAME OF NETWORK"
 psk="PASSWORD"
 key_mgmt=WPA-PSK
}


WPA2

network={
 ssid="NAME OF NETWORK"
 psk="PASSWORD"
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP
 group=CCMP
 auth_alg=OPEN
}

References