Updated bcm43xx-old-config -- Re: Broadcom 4318 wireless again ...

John W. Linville linville at redhat.com
Mon Aug 27 19:19:07 UTC 2007


On Mon, Aug 27, 2007 at 03:13:14PM -0400, John W. Linville wrote:
> On Mon, Aug 27, 2007 at 02:30:38PM -0400, John W. Linville wrote:
> > On Mon, Aug 27, 2007 at 06:25:40PM +0200, Klaus-Peter Schrage wrote:
> > 
> > > I have found a good place to load the bcm43xx driver to be rc.sysinit, 
> > > to where I moved the two lines from rc.local after line 301, right after 
> > > the 'fix console loglevel'  block. When the driver gets loaded thus 
> > > early, wpa_supplicant should be ok.
> > 
> > FWIW, dwmw2 pointed-out to me that a cleaner solution is to drop
> > the attached file into /etc/modprobe.d and remove the lines put into
> > /etc/modprobe.d/blacklist and /etc/rc.local by the bcm43xx-old-config
> > script.
> 
> Attached is an updated bcm43xx-old-config which uses this technique.
> You'll probably need to reboot after running it.  If you are already
> happily using bcm43xx, I suggest you ignore this message. :-)

Well, that was the intent...I must have attached the wrong file.

Let's try again? :-)

John
-- 
John W. Linville
linville at redhat.com
-------------- next part --------------
#!/bin/sh

BCM43XX_V3_FW="http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o"

wget $BCM43XX_V3_FW

bcm43xx-fwcutter -w /lib/firmware -p .v3 wl_apsta-3.130.20.0.o
echo 'options bcm43xx fwpostfix=.v3' >> /etc/modprobe.conf

cat > /etc/modprobe.d/bcm43xx-override <<FILE
blacklist bcm43xx-mac80211
install pci:v000014E4d00004307sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4307" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004311sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4311" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004312sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4312" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004318sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4318" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004319sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4319" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004320sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4320" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004321sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4321" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004324sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4324" > /sys/bus/pci/drivers/bcm43xx/new_id
install pci:v000014E4d00004325sv*sd*bc*sc*i* /sbin/modprobe --ignore-install bcm43xx && echo "14e4 4325" > /sys/bus/pci/drivers/bcm43xx/new_id
FILE


More information about the users mailing list