how to connect raspberry pi to wifi auto code example Example: raspberry wifi scan $ sudo iwlist wlan0 scan