For wifi initialization to find the best BSSID's for testing: /opt/immunity/tworadio.sh wifisetup Expect this in the output: udhcpc (v1.22.1) started Sending discover... Sending discover... Sending discover... No lease, failing After doing wifisetup, it is possible to do a scan. iwlist wifi0 scanning This produces a list: wifi0 Scan completed : Cell 01 - Address: 00:27:0D:8C:57:28 ESSID:"MTS-IT" Mode:Master Frequency:2.412 GHz Quality:19/80 Signal level=-81 dBm Noise level:0 dBm Encryption key:on Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s 18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK Preauthentication Supported Find the ESSID desired, which may have multiple Addresses (BSSID). Also observe the frequency. Select the BSSID (address) with the highest "signal level" at the desired "frequency". Operation with no parameters: Environmental variables: BTADDR Bluetooth MAC address of remote BTCHAN Bluetooth Channel of service WIFIURL WiFi URL of file to retrieve. WIFIFILE WiFi File name of retrieved file to delete. WPA_CONFIG Config file for wpa_supplicant. None of the parameters above are required. BTADDR and BTCHAN are searched, but specifying parameters is faster. WIFIURL defaults to http://www.multitech.net/mlinux/feeds/3.2/arm926ejste/nodejs-dbg_0.10.44-r1.3.0_arm926ejste.ipk WIFIFILE defaults to nodejs-dbg_0.10.44-r1.3.0_arm926ejste.ipk WPA_CONFIG defaults to /etc/wpa_supplicant/wifitest.conf Two get a specific frequency at Multitech, since the same SID is used at multiple frequencies, the BSSID must be provided in the WPA configuration file.