vepr Posted January 13, 2017 Posted January 13, 2017 I have an Alfa with the Atheros AR9271 chipset. When I plug it into my Nano and log in with SSH, I can see that it is recognized as wlan2 on the Pineapple Nano. I'm just not sure on what commands I can use to actually search for or enter my SSID and connect to it with my password. Any suggestions? Quote
vepr Posted January 13, 2017 Author Posted January 13, 2017 *Update* I have connected to the Internet with the following commands: # ifconfig ^ This tells me that wlan2 has been added when I plug in my Alfa Wifi adapter. # ifconfig wlan2 up # iwconfig wlan2 essid (my essid name) key (my key) # udhcpc -i wlan2 NOW... is it possible for me to use this connection from the Alfa card for the Pineapple GUI? If I try to load bulletins or list modules for download, I get an error that there is no Internet connection. Quote
Teabot 5000 Posted January 13, 2017 Posted January 13, 2017 You might have to set the default route on the pineapple. SSH into the pineapple and run "route" on the pineapple and see if the IP address of your WiFi router is set as the default gateway. If it isn't you can set it like so "route add default gw <router_ip> netmask 0.0.0.0". You may need to remove the one that's there by default. You can do that with a command like so "route del default gw 172.16.42.42" assuming that the route in there by default is pointing to 172.16.42.42. After writing that I just remembered that there should be a method of changing the default gateway from the pineapple's GUI. Check the networking menu and you should find it :) Quote
vepr Posted January 13, 2017 Author Posted January 13, 2017 Yes, thank you. There is an option in the GUI and it works. I'm still going to mess with your terminal method later today. I'll let you know what I find out. Quote
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.