#!/bin/sh BCM43XX_V3_FW="http://www.linksys.com/servlet/Satellite?blobcol=urldata&blobheadername1=Content-Type&blobheadername2=Content-Disposition&blobheadervalue1=application%2Fx-msdownload&blobheadervalue2=inline%3B+filename%3DWMP54GSv1.1_20050428.exe&blobkey=id&blobtable=MungoBlobs&blobwhere=1124848568427&ssbinary=true" wget $BCM43XX_V3_FW unzip WMP54GSv1.1_20050428.exe bcm43xx-fwcutter -w /lib/firmware -p v3 WMP54GSv1.1_20050428/Drivers/bcmwl5.sys echo 'blacklist bcm43xx-mac80211' >> /etc/modprobe.d/blacklist echo 'options bcm43xx fwpostfix=v3' >> /etc/modprobe.conf modprobe -r bcm43xx-mac80211 # remove the new driver echo 'modprobe bcm43xx' >> /etc/rc.local BCM43XX_PCI_ID=`lspci -n | grep 14e4 | awk '{ print $3 }' | sed -e 's/:/ /'` echo 'echo "'$BCM43XX_PCI_ID'" > /sys/bus/pci/drivers/bcm43xx/new_id' \ >> /etc/rc.local