Wifi on Raspberry Pi 3

- 1 min read

Problem

Getting wifi working on the Raspberry Pi 3 B+

Solution

My regular approach is to get things working through wpa_supplicant and dhcpd but the Raspbian lite OS doesn’t come with dhcpd installed. So we need to do it with NetworkManager.

To list all available wifi networks:

nmcli dev wifi

connect to your network:

nmcli dev wifi connect YourNetworkSSID password YourNetworkPassword

Ensure you autoconnect on reboot:

nmcli con show YourNetworkSSID | grep autoconnect

Look for yes on the connection.autoconnect line.