ottop@lavabit.com wrote:
Hi all,
I'm a complete newbie in Linux and am trying to get my Broadcom BCM4313 working in my Lenovo S10-3t netbook (CentOS 6.3 installed from LiveCD). I followed the steps in the wiki, which lead me to ELRepo: wl-kmod. I followed the instructions there until Step 2:
$ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS} $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s -r|cut -d"." -f1).local" >> ~/.rpmmacros
Then I got stuck with this message:
bash: lsb_release: command not found
Yum install redhat-lsb. This will install a bunch of stuff to make it Linux Standard Base compatible.
Next, I tried using the driver from Broadcom site, and ended up with this message:
<snip>
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.i686' make: *** [all] Error 2
Then, I tried the older driver version from Ubuntu's site as suggested in CentOS wiki, and got this message:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.i686' LD /root/Downloads/broadcom-sta/i386/built-in.o CC [M] /root/Downloads/broadcom-sta/i386/src/shared/linux_osl.o CC [M] /root/Downloads/broadcom-sta/i386/src/wl/sys/wl_linux.o CC [M] /root/Downloads/broadcom-sta/i386/src/wl/sys/wl_iw.o LD [M] /root/Downloads/broadcom-sta/i386/wl.o WARNING: modpost: missing MODULE_LICENSE() in /root/Downloads/broadcom-sta/i386/wl.o see include/linux/module.h for more information Building modules, stage 2. MODPOST 1 modules WARNING: modpost: missing MODULE_LICENSE() in /root/Downloads/broadcom-sta/i386/wl.o see include/linux/module.h for more information CC /root/Downloads/broadcom-sta/i386/wl.mod.o LD [M] /root/Downloads/broadcom-sta/i386/wl.ko.unsigned NO SIGN [M] /root/Downloads/broadcom-sta/i386/wl.ko make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.i686'
I'm pretty much totally stuck now, as I have no idea what I'm doing at all . Would really appreciate any help.
Trying to install something from another distro's always problematical, given variances in numbering and dependencies. The "missing module license" implies there's something not d/l, and if you'd been in a debian/ubuntu system, and used apt-get, you'd have gotten it.
I did some googling, and found http://ktaraghi.blogspot.com/2011/08/how-to-install-broadcom-bcm4311-bcm4312.html. Personally, since it's a system driver, I'd sudo -s, mkdir /usr/local/src, and do the work in there. Other than than, and it's from this year, you might have better results.
mark