Install AWUS036H onto Mac OS 10.7

Credit: http://easymactips.blogspot.com/2011/07/alfa-awuh036h-on-lion-107-and-snow.html

1) Starting your Mac with 32-bit
Option 1: Start up key combination (for current startup only)
You can start up with the 32-bit kernel by holding the keys 2 and 3 simultaneously during startup.

Option 2: On-disk setting (persistent)
To select the 32-bit kernel for the current startup disk, use the following command in Terminal:
sudo systemsetup -setkernelbootarchitecture i386

Restart your computer.

2) Download the AWUS036H driver from Alfa’s website:
If you are downloading from another link be sure you are downloading 8187L, NOT 8187B since it will not work in this case.

3) Unpack the ZIP file using a program like Zipeg. Once unpacked, double-click the install.pkg file to begin the installation and proceed through the installation as you normally would.
Restart your computer.

4) Once rebooted, open up the Terminal window. Then type in the commands listed below in that order (leave out the #, they are simply indicators of commands). When using sudo you will be prompted for your password, so be prepared to enter it.
# cd /System/Library/Extensions
# sudo chmod -R 755 rtl8187l.kext
# sudo chown -R 0:0 rtl8187l.kext
# exit

Close the Terminal window and once again reboot your computer.

5) Plug in your device via the USB connector. Then open up the Terminal once more and type:
# sudo kextutil -t -v /System/Library/Extensions/rtl8187l.kext
# exit

Close Terminal.

6) At this point the Mac Network window will open and ask if you want to accept a new interface. Select accept, DO NOT ADJUST ANY SETTINGS JUST YET. Realtek should then open and assign an IP address to your Alfa device.

That's it! You're done. Go over to the "Available Network" tab and choose the network you want, and then click connect. Input the password if necessary. And you’re connected! You can shutdown the Apple AirPort service (optional) and make your Alfa device your primary wireless interface.

- Check to make sure the chipset is RTL8187L, NOT RTL8187B, as this chipset requires a different driver and is not covered in this guide although the same basic steps should in fact work.
- Check your spelling. After typing RTL8187L over and over all of the letters and numbers seems to jumble together. Make sure you have the correct spelling.
- In Terminal, type:
# sudo rm /System/Library/Extensions.mktext
This will reset all of the kept caching done by OS X. Reboot your computer.


Alfa AWUS036NHR / BackTrack5 Installation Guide

Distribution license: This text has been created by Rokland LLC for the informative purposes of Alfa Network, Inc. and remains the copyright of Rokland LLC. All references to Alfa and Alfa product names and model numbers are trademarks of Alfa Network, Inc. Backtrack and Backtrack 5 are trademarks of Backtrack Linux and its developers. Third parties may distribute this text for informative purposes as long as it includes this copyright notice.
Alfa’s AWUS036NHR is Linux compatible. It also works with Backtrack 5, but is not plug and play. Driver installation is needed (note: at this time it does not appear to be possible to get AWUS036NHR into monitor mode AND have 802.11n capabilities at the same time, see Alfa’s AWUS036NH or AWUS036NEH for 802.11n and monitor mode capability in Backtrack 5).

The following is a quick install guide for Linux users. This should allow you to use your AWUS036NHR for Wi-Fi access in most recent Linux distributions running kernel 2.6.38, but as noted, monitor mode does not appear to be supported by this driver. Further down we have a link to a driver that is reported to allow you to use AWUS036NHR in monitor mode, but the corresponding web page notes the device will only have 802.11g functionality.

To install your Realtek RTL8188RU based AWUS036NHR in Linux, first download the driver here (http://www.rokland.com/mask/drivers/awus036nhr-linux.zip). The following steps were taken on a Backtrack 5 computer, but the steps should be similar for other recent distros.
*If you are not able to unzip the file in Linux, you will need to download the file to a Windows computer to unzip and then copy the contents to your Linux computer via flash drive or another method.
  1. When you have the files extracted on your Linux machine, open a terminal window and navigate to the location of the drivers. 
  2. Type ./install.sh to install the driver package 
  3. If installation completes successfully, then you can connect the Alfa adapter to the computer and open “Wicd Network Manager” from the Internet menu to connect to networks. Inside Wicd, click Preferences and change the network device to the AWUS036NHR adapter. If you are not sure of the device name, in a terminal window type “iwconfig” without quotes and it will list it there. Commonly the device will be called wlan0, wlan1, or wlan2 depending on whether you have other wireless cards installed on the computer. 
  4. If you receive a makefile error about “no rule to make target modules”, you may need to prepare kernel headers.  As root, at the command line run these commands (you will need to have Internet access on the computer already): 
    • prepare-kernel-sources
    • cd /usr/src/linux
    • cp -rf include/generated/* include/linux/
  5. Upon completion, repeat step number 2 above to complete driver installation. Then connect the adapter to the computer and proceed to step 3. 

URTWN Driver:
There is a driver called urtwn which specifies compatibility with RTL8188RU chipset-based devices, and allows for them to be put into monitor mode. The documentation for the driver explains that 802.11n functionality is not supported, so RTL8188RU devices will only operate in B/G mode. Rokland has not yet tried to use this driver with AWUS036NHR and is not able to offer installation assistance or support. You can visit this site for download information and more details: http://resin.csoft.net/cgi-bin/man.cgi?section=4&topic=urtwn

Spanish Version, https://www.asuswebstorage.com/navigate/share/HmDZG_