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@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
On Fri, Jul 13, 2012 at 8:35 AM, 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
Are 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 Fri, Jul 13, 2012 at 8:35 AM, 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
Are 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.
My apologies. I was careless and missed that step completely. The installation went fine (and this time I didn't use root unless specified), but I stumbled into more problems with the rpm build. More info on the forum: https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_i...
Will you also show us the output returned by :
lspci -nn | grep -i net
I'd like to see the vendor:device pairing.
Sure! For my Lenovo S10-3t:
05:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe [14e4:1692] (rev 01) 07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
On Sat, Jul 14, 2012 at 12:08 AM, ottop@lavabit.com wrote:
but I stumbled into more problems with the rpm build. More info on the forum: https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_i...
Why don't we continue this on the forums? People who are interested can follow that thread.
Will you also show us the output returned by :
lspci -nn | grep -i net
I'd like to see the vendor:device pairing.
Sure! For my Lenovo S10-3t:
05:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe [14e4:1692] (rev 01) 07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
The ID pairing [14e4:4727] indicates that it is supported by the bcma driver offered by the kmod-compat-wireless package from ELRepo:
http://elrepo.org/tiki/kmod-compat-wireless
If this one works for you, you'd not have to go through building of the wl module.
Akemi
P.S. All of this should have been done on the ELRepo mailing list. :)
On 13.07.2012 16:35, 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
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@centos.org http://lists.centos.org/mailman/listinfo/centos
http://www.nux.ro/archive/2012/05/Get_Broadcom_BCM43xx_WIFI_working_in_Cento...