This is a really awesome guide to using vi I found when looking for a cheat sheet to refresh my memory. Going to share this with everyone that would like a refresher.
A blog/diary/journal about whatever I may be doing at the time.
Hello everyone, this is going to be my first post on the blog, this blog will be centered on tech (in a general sense), reviews, etc. (still brainstorming)
I recently purchased a Wifi Pineapple, among other things from Hak5 Shop, including an Alfa AWUS036NHA, their “recommended” wifi antenna of choice for use with a pineapple or computer.
I was very impressed by all the things that were shipped over, except the 36NHA, as I was alerted to one of it’s main problems when it was shipping. Many people reported incidences that the transmitter would be locked down to 20dbm, although originally being advertised as being able to output 27+. This was because the main batch of shipments were for the UK market, and their laws say that nothing that can transmit over 20dbm is allowed. After looking on the web everywhere to find an answer to raise this limit to my US laws, I was getting very confused. People were saying a whole bunch of things. A couple things people were sprouting included that: 1) This chip could not physically pump out 27+ dbm (stated by multiple sources), 2) that there was this method that worked to change the Txpower, and 3) that other, more complicated methods similar to the easier method could change the Txpower. I couldn’t take #1 as the real answer because I had found some people who had higher settings out of the box. So, I tried all the different variations of the simple method of raising the Tx-power. It didn’t work. If you have one of the locked out adapters like I did, nothing you can do to with that method will work. So I naturally started the next and final complicated method.
It was a pain. These are the steps that I followed, if my memory serves me right. I had trouble with other guides because I kept getting various errors so I had to improvise. By the way, this is all done on a 64-bit 13.04 Ubuntu dual-booting MBP.
I will try to make it as simple as possible.
1. Install needed packages:
apt-get install python-m2crypto libgcrypt11 libgcrypt11-dev libnl-dev
2. Download and extract needed code in a new directory:
cd ~/ (or wherever)
wget http://wireless.kernel.org/download/crda/crda-1.1.3.tar.bz2 (latest as of 8/14/13)
tar xvjf crda-1.1.3.tar.bz2
tar xvjf wireless-regdb-2013.02.13.tar.bz2
3. Edit db.txt:
cmd/ctrl+f to find the section of your country with higher limits. Copy them to the first block (00) and the GB block.
Save and exit.
4. Make wireless-regdb:
make (from within the folder)
5. You should now see a new regulatory.bin file in your wireless-regdb directory.
6. Make a new /usr/lib/crda directory (if non existent) and copy your regulatory.bin file to it
sudo mkdir crda
sudo cp regulatory.bin /usr/lib/crda/regulatory.bin
sudo cp regulatory.bin /usr/lib/regulatory.bin
7. Copy any .pem files you see in the wireless-regdb directory to the crda pubkeys directory (usually 2)
(Do this for each .pem) cp asdf.pem /home/(username)/wifichanges/crda-1.1.3/pubkeys
8. Make your crda.
make clean < this is very important. I was stuck before I realized to do this.
9. Reboot your machine
It should be working!
This is what it should look like if you chose BO as your country. Almost every band is operating at 30dbm.
Thanks for reading and please feel free to put your thoughts/problems below.