neep3r Posted October 13, 2014 Share Posted October 13, 2014 I have 2 additional wireless adaptors connected to my MK5 and I need to connect wlan3 to a WPA/WPA2 wireless network. What command do I run to connect to a WPA/WPA2 wireless network? Interface Chipset Driver wlan0 Atheros ath9k - [phy0] wlan1 RTL8187 rtl8187 - [phy1] wlan2 RTL8187 rtl8187 - [phy2] wlan3 Atheros ath9k - [phy3] Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted October 13, 2014 Share Posted October 13, 2014 Are you aware of how to connect to an access point with the web-ui? Or specifically looking for the command line way? Quote Link to comment Share on other sites More sharing options...
neep3r Posted October 13, 2014 Author Share Posted October 13, 2014 Are you aware of how to connect to an access point with the web-ui? Or specifically looking for the command line way? I am looking for a way to do this from the command line. I want to use the built-in AR9331 and RTL8187 radios for monitoring and attacks (wlan0 & wlan1) while using the two additional usb radios as an access point that I can connect to and internet backhaul. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted October 13, 2014 Share Posted October 13, 2014 Should be similar in setup to what's on here. http://wiki.openwrt.org/doc/howto/clientmode Quote Link to comment Share on other sites More sharing options...
dop3 Posted October 13, 2014 Share Posted October 13, 2014 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 Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted October 13, 2014 Share Posted October 13, 2014 Or that haha, I figured there was something. Forgot all about the CLI pineapple controls. Quote Link to comment Share on other sites More sharing options...
neep3r Posted October 13, 2014 Author Share Posted October 13, 2014 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 Thanks dop3! I'll give it a whirl. Mr-Protocol: Are you referring to spa_supplicant? This is something I tried before posting my question but I didn't have any luck. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted October 13, 2014 Share Posted October 13, 2014 Thanks dop3! I'll give it a whirl. Mr-Protocol: Are you referring to spa_supplicant? This is something I tried before posting my question but I didn't have any luck. OpenWRT has a built in way to connect to WiFi networks (open, wpa, wpa2, etc). You CAN use the connect infusion, which makes the OpenWRT configuration rather easy too. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.