Jump to content

How to use External Alfa Card to connect Nano to my SSID?


Recommended Posts

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?

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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". 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" assuming that the route in there by default is pointing to

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 :)

Link to comment
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.

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...