scan for networks and stay connected wireless
I've been trying to write this bash script where I can scan for wireless networks in the area and still stay connected to my college wireless network. The problem is that I have to use WPA_Supplicant to connect to the 802.1X network. I can connect and authenticate with wpa_supplicant and I can get an IP address by running ifup wlan0. However, I'd like to run the iwlist command to scan for networks. If there is another access point in the area that has a stronger signal strength I'd like to connect to it. I found that when I run iwlist I get disconnected from the wireless network that I'm connected to. Is there any way to stay connected to the wireless network and still scan for scan for networks?