USAGE: pineapple infusion connect [-BRWckrs] [-i Interface] [-e ESSID] [-p Wifi Password] [-t Interface] [-b SSID] [-w SSID]...
OPTIONS:
-B Backup /etc/config/wireless
-R Restore /etc/config/wireless from backup
-W Checks for and connects to networks specified in the whitelist. Unencrypted netowrks only
-c Run commands specified in commands.txt upon successful connection.
-k Start Karma
-r Random MAC
-s Check internet connection status.
-i Interface. Default wlan1
-e ESSID of target wifi
-p Wifi Password
-t To interface for ICS. From interface is specified with -i
-b Blacklists AP by SSID. Scans with first available interface if no interface is specified. Unencrypted APs only
-w Whitelists AP by SSID. Prompts for password when required