esa Posted April 5, 2017 Share Posted April 5, 2017 (edited) Took me a long time to figure out how to broadcast a WPA/WPA2 AP using Pineapple nano. This should work similarly on a tetra. Here is the step by step instruction on setting up your WPA2 AP with internet access: 1) SSH into your pineapple ssh email@example.com 2) Create a hostapd.conf file in a directory of your preference vi /etc/hostapdwpa2.conf 3) input the following text into the config file # Define interface interface=wlan1mon driver=nl80211 # Select driver ssid=myhotspot # Set access point name hw_mode=g # Set access point harware mode to 802.11g # Enable WPA2 only (1 for WPA, 2 for WPA2, 3 for WPA + WPA2) # Set WIFI channel (can be easily changed) channel=6 wpa=2 wpa_passphrase=mypassword bridge=br-lan wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP This configuration tells hostapd to use interface wlan1mon to create a WPA2 protected AP called "myhotspot" with the passphrase "mypassword". Run iwconfig to verify whether your interface is wlan1mon or wlan1 and change the config file accordingly. (General when pineapple is freshly rebooted the interface will be wlan1, it will change to wlan1mon once you run recon on the GUI) 4) Run hostapd hostapd ./hostapdwpa2.conf Expected output: root@Pineapple:/sd/etc/mana-toolkit# hostapd ./hostapdwpa2.conf Configuration file: ./hostapdedw.conf Using interface wlan1mon with hwaddr 00:xx:xx:xx:xx:xx and ssid "myhotspot" wlan1mon: interface state UNINITIALIZED->ENABLED wlan1mon: AP-ENABLED 5) Refresh your mobile phone Wifi and find myhotspot. Hope this is useful for the community. Do share if you are facing any difficulties setting up your own WPA2 network. Edited April 6, 2017 by esadako Corrected inconsistency & added more information Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.