i tried the patch which was on the ubuntu forums for 2.6.33 but the scripts were broken and the patch caused a kernel panick. i've found the default kernel works pretty well with the 14E4:4315 card.
Small tutorial i wrote to get a BCM4312 802.11b/g (rev 01 - 14E4:4315) working properly ( injection and monitor )
if you do patch your kernel you will get no support on the backtrack forums and after a conversation with puteh@te it looks like there is a number of tools in BT4 that will require you to recompile there kernel modules to work with the 2.6.32 kernel
i'm assuming your all logged in as root, if not su root or sudo.
if you have 2 kernels installed the boot partition usually isnt big enough for 3 so you need to cd /boot and the oldest one, but make SURE the one you leave boots properly so if there is any problems you can go back and fix it so lets say 2.6.29 is my oldest kernel and 2.6.30 is my newest.
if you dont have 2 kernels start here:
rm -rf *2.6.29*
if you want to make some changes to the kernel
tar xjvf linux-18.104.22.168.tar.bz2
ln -s linux-22.214.171.124 linux
chown -R root:root linux
after you have made your changes or if you dont want to make any changes start building the kernel
ok now you should be booting the 126.96.36.199 kernel, login as root again. im assuming you have a wired connection and know how to set it up. im working off memory but im pretty sure you only need git and git-core packages but if you need anything else bt4 will tell you about it thats how i found all the packages i needed for git.
apt-get install initramfs-tools
mkinitramfs -o /boot/initrd.img-188.8.131.52 184.108.40.206
ok the next part is taken directly from wireless.kernel.org
apt-get install git
apt-get install git-core
echo "blacklist wl" | tee -a /etc/modprobe.d/blacklist
^^ remove the spaces between the .. / .. /
git clone http://git.bu3sch.de/git/b43-tools.git
tar xjf broadcom-wl-220.127.116.11.tar.bz2
.. / .. /fwcutter/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
had to add them because the forum doesn't like directory traversal in its code boxes. it was posting:
cd broadcom-wl-18.104.22.168/fwcutter/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
ok now you should have 22.214.171.124 and the new broadcom firmware installed
and that should do it, but lets check that putting the card into monitor mode works properly
look to see what your interface name is, mines wlan0
if all that works, lets test injection
airmon-ng start wlan0
taken directly from air-crack's site:
-9 injection test
aireplay-ng -9 -e teddy -a 00:14:6C:7E:40:80 mon0
-e teddy wireless network name
-a 00:14:6c:7e:40:80 is the access point mac
mon0 your wireless interface in monitor mode
The system should respond with:
09:23:35 Waiting for beacon frame (BSSID: 00:14:6C:7E:40:80) on channel 9
09:23:35 Trying broadcast probe requests...
09:23:35 Injection is working!
09:23:37 Found 1 AP
09:23:37 Trying directed probe requests...
09:23:37 00:14:6C:7E:40:80 - channel: 9 - 'teddy'
09:23:39 Ping (min/avg/max): 1.827ms/68.145ms/111.610ms Power: 33.73
09:23:39 30/30: 100%
The last line is important. Ideally it should say 100% or a very high percentage.
If it is low then you are too far away from the AP or too close. If it is zero then injection
is not working and you need to patch your drivers or use different drivers.
if there are no problems then your done and its time to do the happy dance.
if you are having trouble with apt-get after updating and it says something like:
Setting up recode (3.6-15) ...
install-info: unrecognized option '--description=Character set conversion utility.'
Try `install-info --help' for a complete list of options.
this is a fairly well documented problem that is produced by having the GNU install-info in your path before the debian install-info and is easily fixed by the following:
apt-get -f install <package>