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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. :-)

John
-- 
John W. Linville
linville@xxxxxxxxxx
#!/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 '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 | awk '$2 ~ "^0280" && $3 ~ "^14e4:43" { print $3 }' | sed -e 's/:/ /'`
echo 'echo "'$BCM43XX_PCI_ID'" > /sys/bus/pci/drivers/bcm43xx/new_id' \
	>> /etc/rc.local

/etc/rc.local

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux