sudo iwconfig wlan0 reset raspberry pi code example Example: raspberry wifi scan $ sudo iwlist wlan0 scan