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 Next, I tried using the driver from Broadcom site, and ended up with 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' CFG80211 API is prefered for this kernel version Using CFG80211 API LD /root/Downloads/hybrid_wl/built-in.o CC [M] /root/Downloads/hybrid_wl/src/shared/linux_osl.o CC [M] /root/Downloads/hybrid_wl/src/wl/sys/wl_linux.o CC [M] /root/Downloads/hybrid_wl/src/wl/sys/wl_iw.o CC [M] /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: ?enum tx_power_setting? declared inside parameter list /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: its scope is only this definition or declaration, which is probably not what you want /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: warning: ?enum tx_power_setting? declared inside parameter list /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: error: parameter 2 (?type?) has incomplete type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function ?wl_cfg80211_set_tx_power?: /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: ?TX_POWER_AUTOMATIC? undeclared (first use in this function) /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: (Each undeclared identifier is reported only once /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: for each function it appears in.) /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1125: error: ?TX_POWER_LIMITED? undeclared (first use in this function) /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1131: error: ?TX_POWER_FIXED? undeclared (first use in this function) /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: At top level: /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1649: warning: initialization from incompatible pointer type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1651: warning: initialization from incompatible pointer type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1652: warning: initialization from incompatible pointer type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1653: warning: initialization from incompatible pointer type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1654: warning: initialization from incompatible pointer type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1658: warning: initialization from incompatible pointer type /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function ?wl_inform_single_bss?: /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1817: error: too few arguments to function ?ieee80211_channel_to_frequency? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function ?wl_bss_roaming_done?: /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 2 of ?cfg80211_roamed? from incompatible pointer type include/net/cfg80211.h:3035: note: expected ?struct ieee80211_channel *? but argument is of type ?u8 *? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 4 of ?cfg80211_roamed? makes pointer from integer without a cast include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument is of type ?s32? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 5 of ?cfg80211_roamed? makes integer from pointer without a cast include/net/cfg80211.h:3035: note: expected ?size_t? but argument is of type ?u8 *? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing argument 6 of ?cfg80211_roamed? makes pointer from integer without a cast include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument is of type ?s32? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: error: too few arguments to function ?cfg80211_roamed? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function ?wl_bss_connect_done?: /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 2 of ?cfg80211_roamed? from incompatible pointer type include/net/cfg80211.h:3035: note: expected ?struct ieee80211_channel *? but argument is of type ?u8 *? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 4 of ?cfg80211_roamed? makes pointer from integer without a cast include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument is of type ?s32? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 5 of ?cfg80211_roamed? makes integer from pointer without a cast include/net/cfg80211.h:3035: note: expected ?size_t? but argument is of type ?u8 *? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing argument 6 of ?cfg80211_roamed? makes pointer from integer without a cast include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument is of type ?s32? /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: error: too few arguments to function ?cfg80211_roamed? make[2]: *** [/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o] Error 1 make[1]: *** [_module_/root/Downloads/hybrid_wl] Error 2 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. Thanks in advance!
ottop at 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 foundYum 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
On Fri, Jul 13, 2012 at 8:35 AM, <ottop at 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 foundAre you referring to this ELRepo article? http://elrepo.org/tiki/wl-kmod It says, "yum install redhat-lsb". Also, if you follow the instructions in there, you will NOT be building the module as root. Mark has noted these points in his reply. So, please go through the wiki carefully and try not to skip any steps. Will you also show us the output returned by : lspci -nn | grep -i net I'd like to see the vendor:device pairing. Akemi
On 13.07.2012 16:35, ottop at 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 > > Next, I tried using the driver from Broadcom site, and ended up with > 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' > CFG80211 API is prefered for this kernel version > Using CFG80211 API > LD /root/Downloads/hybrid_wl/built-in.o > CC [M] /root/Downloads/hybrid_wl/src/shared/linux_osl.o > CC [M] /root/Downloads/hybrid_wl/src/wl/sys/wl_linux.o > CC [M] /root/Downloads/hybrid_wl/src/wl/sys/wl_iw.o > CC [M] /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: ?enum > tx_power_setting? declared inside parameter list > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: its > scope > is only this definition or declaration, which is probably not what > you > want > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: warning: > ?enum > tx_power_setting? declared inside parameter list > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: error: > parameter > 2 (?type?) has incomplete type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function > ?wl_cfg80211_set_tx_power?: > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: > ?TX_POWER_AUTOMATIC? undeclared (first use in this function) > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: (Each > undeclared identifier is reported only once > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: for > each > function it appears in.) > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1125: error: > ?TX_POWER_LIMITED? undeclared (first use in this function) > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1131: error: > ?TX_POWER_FIXED? undeclared (first use in this function) > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: At top level: > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1649: warning: > initialization from incompatible pointer type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1651: warning: > initialization from incompatible pointer type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1652: warning: > initialization from incompatible pointer type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1653: warning: > initialization from incompatible pointer type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1654: warning: > initialization from incompatible pointer type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1658: warning: > initialization from incompatible pointer type > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function > ?wl_inform_single_bss?: > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1817: error: too > few > arguments to function ?ieee80211_channel_to_frequency? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function > ?wl_bss_roaming_done?: > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: > passing > argument 2 of ?cfg80211_roamed? from incompatible pointer type > include/net/cfg80211.h:3035: note: expected ?struct ieee80211_channel > *? > but argument is of type ?u8 *? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: > passing > argument 4 of ?cfg80211_roamed? makes pointer from integer without a > cast > include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument > is > of type ?s32? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: > passing > argument 5 of ?cfg80211_roamed? makes integer from pointer without a > cast > include/net/cfg80211.h:3035: note: expected ?size_t? but argument is > of > type ?u8 *? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: > passing > argument 6 of ?cfg80211_roamed? makes pointer from integer without a > cast > include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument > is > of type ?s32? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: error: too > few > arguments to function ?cfg80211_roamed? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function > ?wl_bss_connect_done?: > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: > passing > argument 2 of ?cfg80211_roamed? from incompatible pointer type > include/net/cfg80211.h:3035: note: expected ?struct ieee80211_channel > *? > but argument is of type ?u8 *? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: > passing > argument 4 of ?cfg80211_roamed? makes pointer from integer without a > cast > include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument > is > of type ?s32? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: > passing > argument 5 of ?cfg80211_roamed? makes integer from pointer without a > cast > include/net/cfg80211.h:3035: note: expected ?size_t? but argument is > of > type ?u8 *? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: > passing > argument 6 of ?cfg80211_roamed? makes pointer from integer without a > cast > include/net/cfg80211.h:3035: note: expected ?const u8 *? but argument > is > of type ?s32? > /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: error: too > few > arguments to function ?cfg80211_roamed? > make[2]: *** [/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o] > Error 1 > make[1]: *** [_module_/root/Downloads/hybrid_wl] Error 2 > 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. > > Thanks in advance! > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centoshttp://www.nux.ro/archive/2012/05/Get_Broadcom_BCM43xx_WIFI_working_in_Centos6_ScientificLinux6_RHEL6.html -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Reasonably Related Threads
- Upgrade to CentOS 6.5 -> issue with Broadcom Wifi
- Dell vostro 1550, BCM 4313 wireless, not connecting to net
- CentOS 6.5 driver for a Broadcom Corporation BCM4313 chipset
- support for Broadcom BCM4313
- Broadcom BCM4313 support broken with kernel 2.6.32-573.7.1.el6.centos.plus.x86_64?