Skip to main content

Change country CRDA of ALFA-­AWUS036H version 500mW/1.000mW with RTL8187/Stacks-­mac­80211

NOTE:
- Editing and creating files described, must be done carefully.
- Check the difference in formatting characters (quotes '' “­­) when you copy&paste.
- Tested on Ubuntu Jaunty with Kernel 2.6.28-17-generic (not tested on Ubuntu Karmic or Kernel above 2.6.28)
­- The frequency of 5.0 GHz is not supported by chipset used by this model of ALFA card.

With mac­80211 drivers the limit of EIRP is set automatically by CRDA, for set/increase the full TX power You can choose only one of these two different options to change your default Country.

- FIRST OPTION ­-
Shortcuts for set automatically CRDA and enables to 2.4 GHz and 5.0 GHz of 30 dBm with one command line
­- If you use more than one wireless card is convenient to change automatically the CRDA when you need and only for your ALFA card.
­- To simplify and not permanently change the default data, I suggest using this method:

Create new file:

Code:
sudo gedit /usr/local/bin/crda_change
Copy&paste this text:

Code:
#!/bin/sh
sudo modprobe rtl8187
sleep 2
sudo iw reg set BO
Make file executable:

Code:
sudo chmod +x /usr/local/bin/crda_change
Create new alias:

Code:
printf "alias boost=\'sudo /usr/local/bin/crda_change'\n" | tee ­a ~/.bashrc
- Now if you want load the driver RTL8187 in your modules and change automatically the CRDA use only new one "boost" command:

Code:
boost
- SECOND OPTION ­-
Option to automate the modification of the CRDA, and put in "UP" mode your ALFA­-AWUS036H when you plugged in to USB port.

Create the file "crda_change" as described in previous step called ­­--> FIRST OPTION ­
Create this file: (or edit if it already exists)

Code:
sudo gedit /etc/udev/rules.d/80­programs.rules
Copy&paste this text:

Code:
SUBSYSTEMS=="usb", SYSFS{idVendor}=="0bda", SYSFS{idProduct}=="8187", RUN+="/usr/local/bin/crda_change"­
- Now, when you connected your wifi card into USB port, the scrip will perform all operations.

Comments

Popular posts from this blog

Test New ALFA-AWUS036H v.2 (1.000mW) VS ALFA-AWUS036H v.1 (500mW)

- Recently emerged the New ALFA-AWUS036H v.2 (1.000mW), and these are the tests. TEST WITH NETSTUMBLER 1) usb da 100mW chipset railink 2) usb da 200mW chipset railink rt73 3) intel 2200 b/g con connettore esterno rp-sma 4) Alfa-AWUS036H 500mW 5) New Alfa-AWUS036H V2 da 1.000mW

ALFA-­AWUS036H & ALFA-­AWUS050NH INSTALLING/UPDATING DRIVERS RTL8187, r8187, RT2800usb on UBUNTU

NOTE: For surfing Internet with ALFA-AWUS050NH on Ubuntu Jaunty with rt2870sta driver, you must use the Kernel "2.6.28-11-generic #42-Ubuntu", without change or updates the drivers modules. NOTE: The tutorial is not related to Ubuntu karmic. Driver RTL8187/Stacks-­mac80211 (ref. ALFA-­AWUS036h) ­- These drivers, for surfing Internet, are more stable than r8187, and fully compatible with Network-Manager 0.7 installed by default on Ubuntu 9.04. Network-Manager 0.7 installed by default on Ubuntu 9.04. ­- Supports all encryption without problems. (OPEN, WEP and WPA/WPA2) ­- With Compat-Wireless, the "injection" working, but for support “Fragmentation attack” (opt. -5) you need to install one patch. - The RX sensitivity and packets injection is less, related to drivers r8187. Driver r8187/Stacks-ieee80211 (ref. ALFA-AWUS036h) - This driver is recommended for use with the Suite of Aircrack-ng, but not particularly suitable for Internet connections, as less stable and disc...

Packetforge-ng

The purpose of packetforge-ng is to create encrypted packets that can subsequently be used for injection. You may create various types of packets such as arp requests, UDP, ICMP and custom packets. The most common use is to create ARP requests for subsequent injection. To create an encrypted packet, you must have a PRGA (pseudo random genration algorithm) file. This is used to encrypt the packet you create. This is typically obtained from aireplay-ng chopchop or fragmentation attacks.