ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
You should do some reading on your ar9271 card....
http://linuxwireless.org/en/users/Drivers/ath
We have the ar9271 btw....
Lss We have a 2Watt capable WIFI card but due to FCC restrictions... can only run it at 500mW..... or 27dBm.
see here http://www.giangrandi.ch/electronics...l/decibel.html
http://en.wikipedia.org/wiki/List_of_WLAN_channels
The EEprom overrides driver settings...
I worked on modding the EEprom all week-end....
Got it injecting just fine doing this ^_^.
!EDIT!
First!
Update Kernel to latest, reboot then dist-upgrade, reboot. No need to update at all.... Actually updating breaks some pkg and cause more issues than they resolve.
No need to update at all this tutorial will work with a fresh install of BT5r1
!EDIT
Code:
cd /usr/src
wget http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.39/compat-wireless-2.6.39-1.tar.bz2
tar -xvjf compat-wireless-2.6.39-1.tar.bz2
cd compat-wireless-2.6.39-1
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < channel-negative-one-maxim.patch
Chose the driver you want to compile, i have an AR9271 so i chose "atheros".
Code:
./scripts/driver-select atheros
Compile the pkg.
Code:
make && make install
Then for AR9271 just or reboot.
Voila! fakeauth, injection the works ^_^.
I found a hole in the eeprom!!!
Get essentials:
Code:
apt-get install libgcrypt11-dev python-m2crypto libnl1 libnl-dev
Download and install regdb:
Code:
cd ~
mkdir custom-rdb && cd custom-rdb
wget http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2011.04.28.tar.bz2
tar -xvjf wireless-regdb-2011.04.28.tar.bz2
cd wireless-regdb-2011.04.28
Now edit db.txt and place this info in your country code:
My EEPROM defaults to US so i modified US lol <----------- the hole
country US:
(2402 - 2494 @ 40), (N/A, 35)
(4910 - 5835 @ 40), (N/A, 35)
Save and compile
Code:
make && make install
Backup and copy new key.
Code:
cp /usr/lib/crda/regulatory.bin /usr/lib/crda/regulatory.bin.bak
cp regulatory.bin /usr/lib/crda/
Download crda:
Code:
cd ~/custom-rdb
wget http://wireless.kernel.org/download/crda/crda-1.1.2.tar.bz2
tar -xvjf crda-1.1.2.tar.bz2
cd crda-1.1.2
Copy the generated keys from regdb folder:
Code:
cp ~/custom-rdb/wireless-regdb-2011.04.28/*.key.pub.pem pubkeys
Compile and install:
Code:
make && make install
Unplug the Ar9271.
Reboot
Now witness the firepower of this fully armed and operational Wireless card!
Some useful commands
X= your card so either 0 1 2 3, what ever, usually wlan1 on a laptop wlan0 on a desktop ;)
Code:
iw dev wlanX set power_save off
iw dev wlanX set txpower auto
iwlist wlanX chan
iwlist wlanX frequency
One last thing...
For some reason installing this version of compat breaks the iwl** driver.... FML!
Took me for ever to figure out why, still haven't but i was able to restore the original iwl*** module.
Code:
iwl-enable
iwl-load
that will fix the module....
Big thanx to the MODS <3 i am truly honored that my post made the tutorials ^_^
Also Thanks to joker, he pointed me in the right direction :)
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Good to know!
Frys has a TP link TL-WN722N with the ar9271 chip for $10
was wondering if it worked, now I will pick it up tomorrow (assuming there are still some available)
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Nice post hellmonger, thanks for the info.
I just ordered this:
Alfa AWUS036NHA - Wireless B/G/N USB Adaptor - 802.11n - 150Mbps - 2.4 GHz - 5dBi Antenna - also includes a 9dBi Rubber Antenna And Suction cup Window Mount dock - Long Range - Atheros Chipset
I will be droping it on my multiboot HP dv5 craptop
One question:
Did you have to use the htc FW module from ?
http://linuxwireless.org/en/users/Drivers/ath9k_htc
Rasta420
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Quote:
Originally Posted by
Rasta420
Nice post hellmonger, thanks for the info.
I just ordered this:
Alfa AWUS036NHA - Wireless B/G/N USB Adaptor - 802.11n - 150Mbps - 2.4 GHz - 5dBi Antenna - also includes a 9dBi Rubber Antenna And Suction cup Window Mount dock - Long Range - Atheros Chipset
I will be droping it on my multiboot HP dv5 craptop
One question:
Did you have to use the htc FW module from ?
http://linuxwireless.org/en/users/Drivers/ath9k_htc
Rasta420
Yep sure did.
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Chose the driver you want to compile, i have an AR9271 so i chose "atheros".
Code:
./scripts/driver-select atheros IS THERE SOMETHING ELSE I NEED TO PUT IN HERE when I run this script it says file or directory missing.
Do I need another file for the Driver AR9271.
mypenneys@hotmail.com
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Quote:
Originally Posted by
dishit
Chose the driver you want to compile, i have an AR9271 so i chose "atheros".
Code:
./scripts/driver-select atheros IS THERE SOMETHING ELSE I NEED TO PUT IN HERE when I run this script it says file or directory missing.
Do I need another file for the Driver AR9271.
mypenneys@hotmail.com
you need to be in /usr/src/compat-wireless-2.6.39-1 or were ever you extracted
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Im in a Black Terminal Window copying and pasting each Script but I must still be missing something. ./scripts/driver-select atheros What does the file look like so I can get a better Idea what I am missing is it the word atheros that you used as the driver file. Do you download and extract this file seperate and direct the script to run it. A picture is worth a thousand words.
Where do I get the correct file and how is it inserted. Is it the last word in the script you are calling atheros and do I need the extra quation marks around that word or are you just highlighting it. Ive edited things that I have run with the MAKE command when I have opened it up in a TERMINAL WINDOW and copyied it to a LEAPPAD EDITOR
mypenneys@hotmail.com would like to send you an EMAIL to communicate if at all possible. I no when I first went roller skating my date held me up by the seat of my pants to keep me from falling. Is there a step by step of areas to check and see what I have all ready put in like a what to look for after you think its done. Areas to look at to meke sure you completed each step correctly. Frank mypenneys@hotmail.com Also I really like the AWUS036NHR over the AWUS036NHA the Realtek Driver picks up 15 more networks then the Alfa with the Atheros Chipset.
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Can this card run up to 2000mw?
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
Hi can this be done for the Alfa AWUS051NH ?
What are the gains?
Re: ar9271 and BT5r1 Fully working! Reg_Domain change APmode full power! ^_^
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.
#!/bin/sh
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.