Jump to content

Command to connect to WPA/WPA2 network?


Recommended Posts

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]
Link to post
Share on other sites

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.

Link to post
Share on other sites
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
Link to post
Share on other sites
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.

Link to post
Share on other sites

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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...