On 13.07.2012 16:35, ottop@xxxxxxxxxxx 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@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos http://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 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos