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 :)