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 )
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.
Code:
cd /boot
rm -rf *2.6.29*
if you dont have 2 kernels start here:
Code:
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.4.tar.bz2
tar xjvf linux-2.6.32.4.tar.bz2
rm linux
ln -s linux-2.6.32.4.tar.bz2 linux
chown -R root:root linux
cd linux
make oldconfig
if you want to make some changes to the kernel
after you have made your changes or if you dont want to make any changes start building the kernel
Code:
make
make install
make modules_install
apt-get install initramfs-tools
mkinitramfs -o /boot/initrd.img-2.6.32.4 2.6.32.4
update-grub
reboot
ok now you should be booting the 2.6.32.4 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.
Code:
cd /root
apt-get install git
apt-get install git-core
rmmod b43
rmmod wl
echo "blacklist wl" | tee -a /etc/modprobe.d/blacklist
ok the next part is taken directly from wireless.kernel.org
Code:
git clone http://git.bu3sch.de/git/b43-tools.git
cd b43-tools/fwcutter
make
cd ..
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
tar xjf broadcom-wl-4.178.10.4.tar.bz2
cd broadcom-wl-4.178.10.4/linux
../../fwcutter/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
ok now you should have 2.6.32.4 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
Code:
iwconfig
airmon-ng start wlan0
airodump-ng mon0
if all that works, lets test injection
taken directly from air-crack's site:
Code:
aireplay-ng -9 -e teddy -a 00:14:6C:7E:40:80 mon0
-9 injection test
-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.