Quote Originally Posted by dishit View Post
This Script seems to work for the Old Alfa AWUS036H just make a File and copy this into it. Then right click
on the file and change the permissions to executable. Then to run just double click on the File you made on the Desktop.

airmon-ng check killall
ifconfig wlan0 down
rmmod rtl8187
rfkill block all
rfkill unblock all
modprobe rtl8187
rfkill unblock all
ifconfig wlan0 up
ls -l /sys/class/net/wlan0/device/driver
lsmod | grep -i rtl8187
ifconfg wlan0 down
iw reg set BO
iwconfig wlan0 txpower 30
ifconfig wlan0 up
airmon-ng start wlan0

That Country Code BO must already have a txpower of 30 set in the CRDA so NO CHANGES TO SYSTEM ARE NEEDED.
If you would like to see what is going on go to System/Preferences/Log File Viewwer Once you stat Log Viewer now your ready to see what is goin on. Open a Terminal Window and type COUNTRY=GB
press Enter Key Now type iw reg set GB press the Enter Key. Now enter iw reg get and press the Enter Key. If you do not see it change in the terminal window look and see if it changed in the Log File Viewer. If it did not unplug your USB WIFI DEVICE run the commands again then plug in your wifi device and type iw reg get it should show the change to COUNTRY CODE GB you can can difference country codes if you have installed crda.