Jump to content

how to add a alfa wifi usb adapter to my mark V


remco

Recommended Posts

Hi,

i want to add a alfa usb adapter to my pineapple mark V, so i get wlan0, wlan1 and wlan2

i tried to startup with the alfa card connected but it then gets bind to wlan1.

i want to use the following setup:

wlan0 client access

wlan1 internet connection (client)

wlan2 to send out disconnect packages etc

can someone help me on how to do this?

Link to comment
Share on other sites

try running

wifi detect > /etc/config/wireless && reboot
with the alfa plugged in
This is what I did, works perfectly. Edited by Boosted240
Link to comment
Share on other sites

Hmm. Timely posting. I'm trying to add the AWUS036NHR model. When I run wifi detect, it comes up empty. Sending the output of wifi detect to a text file leaves me with a blank file.

Any suggestions? ifconfig does not show it listed.

Thanks in advance.

Link to comment
Share on other sites

Interestingly, no.

root@Pineapple:~# wifi detect
root@Pineapple:~#
root@Pineapple:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:13:37:xx:xx:xx  
          inet addr:172.16.42.1  Bcast:172.16.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17029 errors:0 dropped:13 overruns:0 frame:0
          TX packets:10151 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2008384 (1.9 MiB)  TX bytes:7053578 (6.7 MiB)


eth0      Link encap:Ethernet  HWaddr 00:13:37:xx:xx:xx  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4 


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:205019 errors:0 dropped:0 overruns:0 frame:0
          TX packets:205019 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:222236833 (211.9 MiB)  TX bytes:222236833 (211.9 MiB)


wlan0     Link encap:Ethernet  HWaddr 00:13:37:xx:xx:xx 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13498 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10875 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1780303 (1.6 MiB)  TX bytes:7088644 (6.7 MiB)


wlan1     Link encap:Ethernet  HWaddr 00:13:37:xx:xx:xx 
          inet addr:192.168.1.118  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:121617 errors:0 dropped:243 overruns:0 frame:0
          TX packets:186741 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15919523 (15.1 MiB)  TX bytes:212544794 (202.6 MiB)
Edited by SRG
Link to comment
Share on other sites

Looks like ifconfig is working without it connected. Try hooking it up and showing us the output of ifconfig. Also, you could show us what your /etc/config/wireless file has in it after you hook it up...

Link to comment
Share on other sites

Hmm. Timely posting. I'm trying to add the AWUS036NHR model. When I run wifi detect, it comes up empty. Sending the output of wifi detect to a text file leaves me with a blank file.

Any suggestions? ifconfig does not show it listed.

Thanks in advance.

Easy. "wifi detect" doesn't output and only wants one file. You HAVE to redirect to /etc/config/wireless.

Run "wifi detect > /etc/config/wireless" and you'll be good.

Best Regards,

Sebkinne

Link to comment
Share on other sites

Easy. "wifi detect" doesn't output and only wants one file. You HAVE to redirect to /etc/config/wireless.

Run "wifi detect > /etc/config/wireless" and you'll be good.

Best Regards,

Sebkinne

That gave me a blank file. I think it's time for a reflash. I'll report back.

Link to comment
Share on other sites

Would these steps also work for the Alfa Awuso36NHA? Or is there just compatibility issues?

a google search for Awuso36NHA openwrt returns almost no results so I'm guessing a compatibility issue but I do not have one to test

Link to comment
Share on other sites

The NHA does indeed work as I have it on my rig with no special tweaking or changes to anything other than the defaults. The easiest thing you can do is have the adapter plugged in prior to boot up.

SSH into it then type: ifconfig

The NHA on my rig shows up as WLAN2.

Link to comment
Share on other sites

Got my Alfa AWUS036NHA today. Works out of the box.

Also in kali linux ... Out of the box! Just like the 036H.

Had a 036NHR And sold it at a camper Guy. Trouble card for kali and i personally wouldnt recommend it. If someone has good ecperience with it, forgive me for breking it down.

Link to comment
Share on other sites

  • 8 months later...

I've had similar problems with the NHR but the pineapple wiki clearly lists it as "unsupported". http://wiki.wifipineapple.com/index.php/Compatible_Wireless_Cards

The NHA works great out of the box so I stopped messing around with the NHR.

I know there are drivers that can be loaded and I've gotten the NHR into monitor mode, max power.... in Kali (VM and on the Raspberry Pi). I'm not sure how to load drivers onto the pineapple but this might be a resource for others:

http://www.alfa.com.tw/press_c_show.php?sn=5 (info) and http://www.rokland.com/mask/drivers/awus036nhr-linux.zip (driver).

cheers

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.

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