how to make raspberry pi 3 automatically connect to wifi code example Example: raspberry wifi scan $ sudo iwlist wlan0 scan