Sunday, June 19, 2011

How to install wireless BMC4311 with Fedora 14


[root@nilesh ~]# yum install b43-fwcutter

Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Package b43-fwcutter-013-2.fc14.i686 already installed and latest version
Nothing to do

[root@nilesh ~]# cd /tmp/


[root@nilesh tmp]# wget http://downloads.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2

Command not found.
Install package 'wget' to provide command 'wget'? [N/y] [root@nilesh tmp]# y
Command not found.

[root@nilesh tmp]# yum install wget

Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wget.i686 0:1.12-2.fc13 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package         Arch            Version                Repository         Size
================================================================================
Installing:
wget            i686            1.12-2.fc13            fedora            480 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 480 k
Installed size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 480 k
wget-1.12-2.fc13.i686.rpm                                | 480 kB     00:03    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing     : wget-1.12-2.fc13.i686                                    1/1

Installed:
wget.i686 0:1.12-2.fc13                                                      

Complete!

[root@nilesh tmp]# wget http://downloads.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2

--2011-05-03 08:18:57--  http://downloads.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
Resolving downloads.openwrt.org... 78.24.191.177
Connecting to downloads.openwrt.org|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3888794 (3.7M) [text/plain]
Saving to: “broadcom-wl-4.150.10.5.tar.bz2”

100%[======================================>] 3,888,794    128K/s   in 30s    

2011-05-03 08:19:28 (125 KB/s) - “broadcom-wl-4.150.10.5.tar.bz2” saved [3888794/3888794]

[root@nilesh tmp]# cp broadcom-wl-4.150.10.5.tar.bz2 /lib/firmware/


[root@nilesh tmp]# cd /lib/firmware/



[root@nilesh firmware]# tar -jxf broadcom-wl-4.150.10.5.tar.bz2


[root@nilesh firmware]# cd broadcom-wl-4.150.10.5


[root@nilesh broadcom-wl-4.150.10.5]# cd driver/


[root@nilesh driver]# ls

config         wl_ap_mimo.o  wl_apsta_micro.o  wl_apsta.o      wl_sta_mimo.o
wl_ap_micro.o  wl_ap.o       wl_apsta_mimo.o   wl_sta_micro.o  wl_sta.o

[root@nilesh driver]# b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o

This file is recognised as:
ID         :  FW13
filename   :  wl_apsta_mimo.o
version    :  410.2160
MD5        :  cb8d70972b885b1f8883b943c0261a3c
Extracting b43/pcm5.fw
Extracting b43/ucode15.fw
Extracting b43/ucode14.fw
Extracting b43/ucode13.fw
Extracting b43/ucode11.fw
Extracting b43/ucode9.fw
Extracting b43/ucode5.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/lp0initvals15.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/lp0initvals14.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/lp0initvals13.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/n0initvals11.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/b0g0initvals5.fw
[root@nilesh driver]#

I got some selinux warning so I disabled it and run the command again.


[root@nilesh driver]# b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o

This file is recognised as:
ID         :  FW13
filename   :  wl_apsta_mimo.o
version    :  410.2160
MD5        :  cb8d70972b885b1f8883b943c0261a3c
Extracting b43/pcm5.fw
Extracting b43/ucode15.fw
Extracting b43/ucode14.fw
Extracting b43/ucode13.fw
Extracting b43/ucode11.fw
Extracting b43/ucode9.fw
Extracting b43/ucode5.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/lp0initvals15.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/lp0initvals14.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/lp0initvals13.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/n0initvals11.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/b0g0initvals5.fw
[root@nilesh driver]#
Now just try the to establish connection with your wireless card and check working or not.
Please always check your logs when ever you want to do some setup.
In my case

#tail -f /var/log/messages

May  2 22:29:09 nilesh kernel: [   27.735949] b43-phy0 ERROR: Firmware file "b43/ucode13.fw" not found
May  2 22:29:09 nilesh kernel: [   27.735961] b43-phy0 ERROR: Firmware file "b43-open/ucode13.fw" not found
May  2 22:29:09 nilesh kernel: [   27.735969] 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.
-

No comments: