歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora11 安裝無線網卡BCM4315

Fedora11 安裝無線網卡BCM4315

日期:2017/2/28 16:45:02   编辑:Linux教程

1, http://www.broadcom.com/support/802.11/linux_sta.php

2, useful website:

patches: http://gentoo.linux.kiev.ua/portage/net-wireless/broadcom-sta/files/

http://leprosys.net/arch/PKGBUILD/broadcom-wl/files/

http://aur.archlinux.org/packages/broadcom-wl/broadcom-wl/

Summary:

Fedora11安裝驅動兩種方法:1,加在rpm更新庫,用rpm更新安裝,2,自己下載原碼打patch編譯安裝。

Quote way 1:

http://fedoramobile.org/fc-wireless/broadcom-linux-sta-driver

Quote way 2:

Fixed... BUT! In so original way...

First, download the driver from here: http://www.broadcom.com/support/802.11/linux_sta.php
Then, move it to /usr/src and 'cd /usr/src'
Then, tar -xzf hybrid-portsrc-x86_32-v5_10_91_9.tar.gz
Then, make -C /usr/src/linux-headers-`uname -r` M=`pwd`
Then, sudo rmmod wl
Then, sudo modprobe lib80211_crypt_tkip
Then, sudo modprobe wl
To see if the errors occur;
After it, wget http://leprosys.net/arch/PKGBUILD/br...x-2.6.29.patch
wget http://leprosys.net/arch/PKGBUILD/br...wl_iw_v2.patch
wget http://leprosys.net/arch/PKGBUILD/br...en-essid.patch
Then, for SPACE only knows reasons, this string:
for fn in $(ls *.patch); do patch -p1 < $fn; done
didn't work, so I applied these three patches manually (they aren't large)
After this,
make -C /lib/modules/`uname -r`/build M=`pwd`
modprobe lib80211_crypt_tkip
insmod wl.ko
cp wl.ko /lib/modules/`uname -r`/kernel/net/wireless/
depmod -a
modprobe wl

And my wifi adapter started finding, found and connected to my home wifi network - all is working good

Quote, way 2:

I compiled the Broadcom STA drivers for Dell Mini 9 successfully for moblin. I don't really know what I'm doing so somebody will have to verify this...

Tested with Broadcom 5.10.91.9 32-bit only

First, working from this guide:
http://djkaos.wordpress.com/2008/10/25/installing-broadcom-80211-linux-sta-driver/

I went to http://www.broadcom.com/support/802.11/linux_sta.php and downloaded the 32-bit package

Go to a terminal tar -zxvf hybrid-portsrc-x86_32-v5_10_91_9.tar.gz
su -
<root password>
yum install kernel-headers

Went to the GUI package manager "Manage Applications", and installed make, GCC, Development package for building kernel modules for netbook, patch, and all dependencies (GCC had a bunch)

Found the perfect patch from here:
http://aur.archlinux.org/packages/broadcom-wl/broadcom-wl/
Downloaded all the files, BUT ONLY NEEDED this one:
http://aur.archlinux.org/packages/broadcom-wl/broadcom-wl/broadcom-sta-5.10.91.9-linux-2.6.29.patch

from Terminal (still as root):
patch -p1 -d src/wl/sys < broadcom-sta-5.10.91.9-linux-2.6.29.patch
make -C /lib/modules/`uname -r`/build M=`pwd`
modprobe lib80211_crypt_tkip

insmod wl.ko
(there were no errors, yay!)
cp wl.ko /lib/modules/`uname -r`/kernel/net/wireless/

depmod -a
modprobe wl

WIFI BABY!

Note that when I installed the other patches at http://aur.archlinux.org/packages/broadcom-wl/broadcom-wl/ I got an error in lib80211 on insmod. When I failed to install the 'license' patch I got a warning about the license, but it didn't cause isssues.

Hopfully somebody with more knowledge than I have can reproduce this and clean it up, tell everyone exactly what patches need to be installed (maybe via yum instead of the GUI) to simplify it - but now I have a beautiful Dell Mini 9 running moblin!

Copyright © Linux教程網 All Rights Reserved