How to install b43 firmware for Broadcom wifi (Salix 13.1)

General talk about packaging procedures and packages.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: How to install b43 firmware for Broadcom wireless cards

Post by zAchAry »

Thank you, and please save all your SLKBUILDs that you've made for b43 (I like archives).

Why is?

Code: Select all

Reading Package Lists... Done
The following packages will be REMOVED:
  b43-firmware 
0 upgraded, 0 reinstalled, 0 newly installed, 1 to remove and 0 not upgraded.
After unpacking 248.0kB disk space will be freed.
Do you want to continue? [y/N] y

Removing package b43-firmware-4.178.10.4-fw-1pw...
Done
Installing package b43-firmware-4.178.10.4-fw-1pw...
| b43-firmware (Broadcom BCM43xx firmware)
| 
| The Broadcom wireless chip needs software, called "firmware", that
| runs on the wireless chip itself during operation. This firmware is
| copyrighted by Broadcom and must be extracted from Broadcom's
| proprietary drivers.
| This package contains firmware extracted from the Broadcom driver by
| using b43-fwcutter
| 
| 
| 
| 
| 
Saved to: `/tmp/b43-firmware-4.178.10.4-fw-1pw.txz'
root[~]# 
Edit: why the last line?

Code: Select all

Saved to: `/tmp/b43-firmware-4.178.10.4-fw-1pw.txz'
I've just executed the install-b43-firmware script again, I thought that it did not install it, I'm pretty sleepy, sorry.[/i]
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: How to install b43 firmware for Broadcom wireless cards

Post by pwatk »

Once the package is created it is always saved!

Even if you had answered no to removing the old package, the installation would have cancelled but you would still see that message.

I should probably put "Package saved to: " or something.
Thank you, and please save all your SLKBUILDs that you've made for b43 (I like archives).
I'm not a historian :D
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: How to install b43 firmware for Broadcom wireless cards

Post by zAchAry »

pwatk wrote:I should probably put "Package saved to: " or something.
+1

Edit: "Copy of the package..." or "A copy of..."
pwatk wrote:I'm not a historian :D
I want to study your scripts, especially the install-b43-firmware bash script.

Edit: I got them all ;) but I have a problem, most of the files of the folders: b43-firmware-4.178.10.4-fw-1pw & b43-fwcutter-013-i486-1pw are belong to root, how can I change the owner?

Edit: How to change a file's owner and group in Linux

Code: Select all

chown -R etf:users b43-firmware-4.178.10.4-fw-1pw
chown -R etf:users b43-fwcutter-013-i486-1pw/
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: How to install b43 firmware for Broadcom wireless cards

Post by pwatk »

zAchAry wrote:
pwatk wrote:I should probably put "Package saved to: " or something.
+1

Edit: "Copy of the package..." or "A copy of..."
I've updated it, adding notes to the dialog boxes. If everything works and there's nothing else then I'll posted it on the bugtracker.
zAchAry wrote:
pwatk wrote:I'm not a historian :D
I want to study your scripts, especially the install-b43-firmware bash script.

Edit: I got them all ;) but I have a problem, most of the files of the folders: b43-firmware-4.178.10.4-fw-1pw & b43-fwcutter-013-i486-1pw are belong to root, how can I change the owner?

Edit: How to change a file's owner and group in Linux

Code: Select all

chown -R etf:users b43-firmware-4.178.10.4-fw-1pw
chown -R etf:users b43-fwcutter-013-i486-1pw/
I can leave the archiving to you then :P
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: How to install b43 (While upgrading Salix OS)

Post by zAchAry »

Regarding to: How to upgrade Salix 13.1 to 13.37

After you have done the upgrading process and before you are rebooting your system, otherwise you'll need Ethernet connection to get your WiFi to work again!

Run (In case you do not remember which firmware version you have installed)

Code: Select all

/usr/sbin/slapt-get --show b43{,legacy}-firmware | grep Version
Package Version: 4.178.10.4-fw-1pw
The firmware version is 4.178.10.4 and this means that I need to execute the following commands:

Code: Select all

cd
mkdir b43
cd b43
cat /usr/share/b43-fwcutter/b43-firmware-4.178.10.4.SLKBUILD > SLKBUILD
slkbuild -X
From: /usr/doc/b43-fwcutter-013/README.Slackware
Once the package has been created you can install it with the package management tools.

Code: Select all

  spkg -i b43-firmware-4.178.10.4-fw-1pw.txz
You may then load the b43 (or b43legacy) kernel module with the 'modprobe' command. If the module doesn't
load automatically on startup then add the following command to '/etc/rc.d/rc.local':

Code: Select all

  modprobe b43

If you have installed Broadcom's Hybrid Linux Driver then you will need to unload the 'wl' module first:

Code: Select all

  modprobe -r wl
To perminently blacklist the 'wl' module use the following command, you can easily delete 'blacklist-wl.conf' to
reinstate it at a later date:

Code: Select all

  echo "blacklist wl" > /etc/modprobe.d/blacklist-wl.conf
Reboot.

Please, correct the wrongs of this post, if there are any.


Edit:
The following line:

Code: Select all

  /usr/sbin/slapt-get --show  b43-firmware | grep Version
was replaced with:

Code: Select all

      slapt-get --show b43{,legacy}-firmware | grep Version
[/size]

Thank you, for the help, pwatk.[/i]
Image
Help to make Slackware easier Donate to Salix
Post Reply