Link to home
Start Free TrialLog in
Avatar of Ajeet Kumar
Ajeet Kumar

asked on

wifi Driver in Centos

i have installed CentOS 6.5 64 Bit OS in my Dell 1535 Laptop, my wifi device is not working, i have downloaded broadcom 64 bit driver for linux, i have installed "kernel-devel", "kernel-headers" & group of "DEVELOPMENT TOOLS", i have extracted that driver, & when i am running make command i am getting this error :


make[2]: *** [/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211.o] Error 1
make[1]: *** [_module_/usr/local/src/hybrid-wl] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.23.3.el6.x86_64'
make: *** [all] Error 2
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

This indicates compile error. Try installing wl-kmod from the EL Repository instead of compiling from source.

yum update kernel
yum install wl-kmod

Open in new window

Avatar of Ajeet Kumar
Ajeet Kumar

ASKER

i have EL Repository, i have updated kernel, but there is no such package wl-kmod
Can you try the rpmfusion repository?
i did
Can you provide the out of the following?

yum repolist

Open in new window

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * epel: epel.mirror.net.in
 * extras: mirror.nbrc.ac.in
 * rpmfusion-free-updates: mirror.smartmedia.net.id
 * updates: mirror.nbrc.ac.in
repo id                  repo name                                        status
atrpms                   RHEL 6 - x86_64 - ATrpms                          3,330
base                     CentOS-6 - Base                                   6,367
epel                     Extra Packages for Enterprise Linux 6 - x86_64   11,092
extras                   CentOS-6 - Extras                                    14
google-chrome            google-chrome                                         3
google-talkplugin        google-talkplugin                                     1
google-webdesigner       google-webdesigner                                    1
rpmfusion-free-updates   RPM Fusion for EL 6 - Free - Updates                292
updates                  CentOS-6 - Updates                                1,341
repolist: 22,441
I see the same issue in my lab,  wl-kmod no longer compatibile after 6.3.

Try kmod-compat-wireless. (Unfortunately I do have a broadcom chip to test with)
this package is also not available, what to do now???
You need this repo for wl-kmod:
http://elrepo.org/tiki/tiki-index.php
i got this package "kmod-r8168" from this repo, not "wl-kmod" package, how can i get this package.
You need to build RPM - elrepo provides just sources to do so
http://elrepo.org/tiki/wl-kmod
Can you show output of "lspci -n" so experts can check if no other (opensource) driver can be used?
00:00.0 0600: 8086:2a00 (rev 03)
00:01.0 0604: 8086:2a01 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 04)
00:1a.1 0c03: 8086:2835 (rev 04)
00:1a.7 0c03: 8086:283a (rev 04)
00:1b.0 0403: 8086:284b (rev 04)
00:1c.0 0604: 8086:283f (rev 04)
00:1c.1 0604: 8086:2841 (rev 04)
00:1c.3 0604: 8086:2845 (rev 04)
00:1c.5 0604: 8086:2849 (rev 04)
00:1d.0 0c03: 8086:2830 (rev 04)
00:1d.1 0c03: 8086:2831 (rev 04)
00:1d.2 0c03: 8086:2832 (rev 04)
00:1d.7 0c03: 8086:2836 (rev 04)
00:1e.0 0604: 8086:2448 (rev f4)
00:1f.0 0601: 8086:2815 (rev 04)
00:1f.2 0106: 8086:2829 (rev 04)
00:1f.3 0c05: 8086:283e (rev 04)
01:00.0 0300: 1002:95c4
01:00.1 0403: 1002:aa28
03:01.0 0c00: 1180:0832 (rev 05)
03:01.1 0805: 1180:0822 (rev 22)
03:01.2 0880: 1180:0592 (rev 12)
03:01.3 0880: 1180:0852 (rev 12)
09:00.0 0200: 14e4:1698 (rev 10)
0c:00.0 0280: 14e4:4315 (rev 01)
Your card (14e4:4315) is supported by b43 driver. No need to build anything.
http://wireless.kernel.org/en/users/Drivers/b43
I think kernel-firmware package has missing bits to make it work.
this package is already installed, my wifi still not working, help please
Letch check status of b43 driver:

dmesg | grep b43
ifconfig -a
ifconfig wlan0 up
b43-pci-bridge 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
b43-pci-bridge 0000:0c:00.0: setting latency timer to 64
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
b43-phy0: Found PHY: Analog 6, Type 5 (LP), Revision 1
b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2
b43 ssb0:0: firmware: requesting b43/ucode15.fw
b43 ssb0:0: firmware: requesting b43/ucode15.fw
b43 ssb0:0: firmware: requesting b43-open/ucode15.fw
b43 ssb0:0: firmware: requesting b43-open/ucode15.fw
b43-phy0 ERROR: Firmware file "b43/ucode15.fw" not found
b43-phy0 ERROR: Firmware file "b43-open/ucode15.fw" not found
b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website
eth0      Link encap:Ethernet  HWaddr 00:21:70:89:22:38  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3895 (3.8 KiB)  TX bytes:3895 (3.8 KiB)

pan0      Link encap:Ethernet  HWaddr 72:AB:26:A7:10:49  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01  
          inet addr:172.16.227.1  Bcast:172.16.227.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08  
          inet addr:172.16.62.1  Bcast:172.16.62.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr 9C:D6:43:56:6D:37  
          inet addr:172.25.0.18  Bcast:172.25.255.255  Mask:255.255.0.0
          inet6 addr: fe80::9ed6:43ff:fe56:6d37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6999 errors:0 dropped:7067 overruns:0 frame:0
          TX packets:4925 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8362067 (7.9 MiB)  TX bytes:852188 (832.2 KiB)


In this output the "wlan0" is my usb wifi device, not my laptop integrated wifi
# yum install b43-openfwwf

Then
# ifconfig wlan0 down ; ifconfig wlan0 up
to trigger firmware load

(or reboot)
this package is also already installed.
rpm -ql b43-openfwwf

i see 5 files and none is amon those wanted by driver.

So you need to extract firmware from wl driver archive.
Follow the link http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware from dmesg.
Get wl_apsta  from 478.104 for firmware for card hardware v15 and install b43-fwcutter
Once you run later with -l you see supported versions and with --help you get command to extract driver to right place.
b43-openfwwf package is already installed, what you want me to do with package ?
That package is installed with minimum system, just that is unused like 30 other firmware packages.
You need to :cut: the firmware from proprietary driver to make your card work. Probably over time your card will get open firmware, but as of now it is not like that.
can u please tell me, how can i do that ?
follow the link. Download correct driver version extract file from tarball. run command from help tet of b43-fwcutter
i am not getting it
Click this link:
http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware
run
b43-fwcutter -l
fw15 ... 478.104
If you are using the b43 driver from older kernel:
(follow instructions there)

The driver file is linked here:
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx (search for precise pangolin for download link)
totally confusing, i m not getting this at all.
Which is a no-go:
* Download proprietary driver
* extract tarball
* install fwcutter
* extract firmware from files extracted from tarball

???
ASKER CERTIFIED SOLUTION
Avatar of Ajeet Kumar
Ajeet Kumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sounds more like a workaround :)
One can install linux in virtualbox or vmware player in windows and do their Linux experiments.
i have installed windows