You are not logged in.

#1 2013-06-06 17:56:27

asherli
Member
Registered: 2012-12-22
Posts: 9

[SOLVED] No way of installing b43 firmware on my macbook pro

I am dual booting OS X and archlinux on my macbook pro. To use wifi, I need b43 firmware (b43-firmware) but have no way of installing it without internet. I have no access to Ethernet.
Is there a way that i can install this firmware without connection to the internet? I was thinking maybe writing the firmware to my installation disc.

Last edited by asherli (2013-06-09 21:05:33)

Offline

#2 2013-06-06 18:01:18

mychris
Member
From: Munich
Registered: 2012-09-15
Posts: 68

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

You can download the PKGBUILD from the AUR, download the sources with makepkg, copy everything with an external drive to your macbook and install it there.

Offline

#3 2013-06-06 18:01:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] No way of installing b43 firmware on my macbook pro


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2013-06-06 18:03:26

asherli
Member
Registered: 2012-12-22
Posts: 9

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

My computer was not recognizing my external drive when I tried last. I will try again as soon as I can.

EDIT: I just saw your response. I will read through the link when I can and give an update later.

Last edited by asherli (2013-06-06 18:12:20)

Offline

#5 2013-06-06 18:09:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

You are dual booting, you can modify the instructions in the link I provided by using OS/X to download the files and put it on a partition that can be read by both OSes.  Reboot to Linux, unpack the files and you are good to go.

Last edited by ewaller (2013-06-06 18:09:32)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2013-06-06 19:37:15

asherli
Member
Registered: 2012-12-22
Posts: 9

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

What type of partition can be used by both OSes?

EDIT: I successfully installed the firmware with the use of a shared partition. Despite the installation of the firmware, I still cannot connect to the internet.

Last edited by asherli (2013-06-06 21:26:48)

Offline

#7 2013-06-07 04:18:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

Sanity check time.  What is the output of dmesg | grep firmware   ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2013-06-07 05:28:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

Instead of creating a repo, you can simply put the source in the same directory as the PKGBUILD, then just use the source file name instead of a path.  This is what I do for broadcom-wl so that I always ahve it on my system just in case.

Offline

#9 2013-06-07 17:55:38

asherli
Member
Registered: 2012-12-22
Posts: 9

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

dmesg output:

   63.065648] 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.

I get output like I do not have the firmware installed.
I think the fault just shifted from my computer to my incompetence.

Last edited by asherli (2013-06-07 18:09:21)

Offline

#10 2013-06-07 18:23:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

So, you say you installed the firmware.  I assume you were able to run makepkg.  If so, you are not done at that point.  I am assuming you did not, at the point, run sudo pacman -U wheteverThePackageIsCalled, as you should have done.  I do not recall what the package is called, but it is probably just b43-firmware.  There will be a a file in the build directory that ends with .pkg.tar.xz.  That is the package that needs to be passed into pacman -U,  the package name is everything up to the '-' in front of the version number.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2013-06-07 18:40:42

asherli
Member
Registered: 2012-12-22
Posts: 9

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

Makepkg was not working so I manually installed it from the instructions in the "package" part of the PKGBUILD.
When trying makepkg I would get an error message saying "ERROR:cannot find the strip binary required for object file stripping."
When running "pacman -U", I get an error message saying, "invalid or corrupted package".

Last edited by asherli (2013-06-07 18:43:00)

Offline

#12 2013-06-07 20:33:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

Makepkg was not working so I manually installed it from the instructions in the "package" part of the PKGBUILD.

Let us then begin there.

On my system:

ewaller$@$odin ~/b43-firmware/build 1031 %ls
b43-firmware.tar.gz
ewaller$@$odin ~/b43-firmware/build 1032 %tar -xvf b43-firmware.tar.gz 
b43-firmware/
b43-firmware/PKGBUILD
ewaller$@$odin ~/b43-firmware/build 1033 %cd b43-firmware 
ewaller$@$odin ~/b43-firmware/build/b43-firmware 1034 %makepkg
==> Making package: b43-firmware 5.100.138-2 (Fri Jun  7 13:23:04 PDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading broadcom-wl-5.100.138.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.8M  100 12.8M    0     0   538k      0  0:00:24  0:00:24 --:--:--  621k
==> Validating source files with sha1sums...
    broadcom-wl-5.100.138.tar.bz2 ... Passed
==> Extracting sources...
  -> Extracting broadcom-wl-5.100.138.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
This file is recognised as:
  filename   :  wl_apsta.o
  version    :  666.2
  MD5        :  e1b05e268bcdbfef3560c28fc161f30e
Extracting b43/lp0initvals14.fw
Extracting b43/lcn0bsinitvals25.fw
Extracting b43/n0bsinitvals25.fw
Extracting b43/n0bsinitvals17.fw
Extracting b43/ucode17_mimo.fw
Extracting b43/ucode16_lp.fw
Extracting b43/sslpn1initvals27.fw
Extracting b43/lp2bsinitvals19.fw
Extracting b43/sslpn3bsinitvals21.fw
Extracting b43/ucode16_sslpn.fw
  ucode time:     01:15:07
Extracting b43/ucode25_lcn.fw
Extracting b43/ucode21_sslpn.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/ucode20_sslpn.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/lp1initvals20.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/lp2initvals19.fw
Extracting b43/n2bsinitvals19.fw
Extracting b43/sslpn4bsinitvals22.fw
Extracting b43/ucode16_sslpn_nobt.fw
  ucode date:     2011-02-23
Extracting b43/n1bsinitvals20.fw
Extracting b43/n1initvals20.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/ucode22_sslpn.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/ht0initvals26.fw
Extracting b43/ucode33_lcn40.fw
Extracting b43/sslpn1bsinitvals20.fw
Extracting b43/lcn400bsinitvals33.fw
Extracting b43/ucode14.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/lp1bsinitvals22.fw
Extracting b43/n16initvals30.fw
Extracting b43/lp0bsinitvals16.fw
Extracting b43/lcn1bsinitvals25.fw
Extracting b43/lcn400initvals33.fw
Extracting b43/n0bsinitvals24.fw
Extracting b43/lcn2bsinitvals26.fw
Extracting b43/lcn1initvals26.fw
Extracting b43/n0bsinitvals22.fw
Extracting b43/n18initvals32.fw
Extracting b43/lcn2initvals26.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/lcn2initvals24.fw
Extracting b43/lcn0initvals26.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/ucode21_sslpn_nobt.fw
  ucode time:     01:15:07
Extracting b43/ucode26_mimo.fw
Extracting b43/n2initvals19.fw
Extracting b43/sslpn3initvals21.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/sslpn4initvals22.fw
Extracting b43/pcm5.fw
Extracting b43/ucode22_mimo.fw
Extracting b43/ucode9.fw
Extracting b43/lcn2initvals25.fw
Extracting b43/lp1initvals22.fw
Extracting b43/sslpn1bsinitvals27.fw
Extracting b43/lcn0initvals24.fw
Extracting b43/ucode32_mimo.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/n18bsinitvals32.fw
Extracting b43/n0initvals24.fw
Extracting b43/n0initvals25.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/ucode24_lcn.fw
Extracting b43/n0initvals17.fw
Extracting b43/n0bsinitvals16.fw
Extracting b43/lp0initvals15.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/ucode20_sslpn_nobt.fw
Extracting b43/lcn1initvals24.fw
Extracting b43/sslpn0initvals16.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/lp1bsinitvals20.fw
Extracting b43/sslpn2initvals19.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/lcn1bsinitvals24.fw
Extracting b43/ucode5.fw
Extracting b43/lcn2bsinitvals24.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/n0initvals16.fw
Extracting b43/ucode19_sslpn_nobt.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/ucode11.fw
Extracting b43/lp0initvals16.fw
Extracting b43/ucode16_mimo.fw
Extracting b43/lcn0bsinitvals26.fw
Extracting b43/ht0initvals29.fw
Extracting b43/lcn2bsinitvals25.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/ucode29_mimo.fw
Extracting b43/lcn0bsinitvals24.fw
Extracting b43/ucode19_sslpn.fw
Extracting b43/lcn1initvals25.fw
Extracting b43/ucode30_mimo.fw
Extracting b43/n16bsinitvals30.fw
Extracting b43/ucode25_mimo.fw
Extracting b43/ucode24_mimo.fw
Extracting b43/ucode27_sslpn.fw
Extracting b43/lp0initvals13.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/ht0bsinitvals26.fw
Extracting b43/ucode13.fw
Extracting b43/sslpn2bsinitvals19.fw
Extracting b43/ucode15.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/n0initvals11.fw
Extracting b43/lcn0initvals25.fw
Extracting b43/sslpn0bsinitvals16.fw
Extracting b43/sslpn1initvals20.fw
Extracting b43/lcn1bsinitvals26.fw
Extracting b43/n0initvals22.fw
Extracting b43/ht0bsinitvals29.fw
==> Tidying install...
  -> Purging unwanted files...
  -> Removing empty directories...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "b43-firmware"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: b43-firmware 5.100.138-2 (Fri Jun  7 13:23:41 PDT 2013)
ewaller$@$odin ~/b43-firmware/build/b43-firmware 1035 %ls
PKGBUILD                                 broadcom-wl-5.100.138.tar.bz2  src
b43-firmware-5.100.138-2-any.pkg.tar.xz  pkg
ewaller$@$odin ~/b43-firmware/build/b43-firmware 1036 %

Now, you need to get the broadcom-wl-5.100.138.tar.bz2  file somehow.  In my case, it grabbed it from the Internet.  You need to obtain it offline and put it in the same directory as the package build. On my system, I can do it like this

ewaller$@$odin ~/b43-firmware/build/b43-firmware 1037 %wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
--2013-06-07 13:29:11--  http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
Resolving www.lwfinger.com (www.lwfinger.com)... 173.254.28.119
Connecting to www.lwfinger.com (www.lwfinger.com)|173.254.28.119|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13514651 (13M) [application/x-bzip2]
Saving to: 'broadcom-wl-5.100.138.tar.bz2.1'

100%[======================================>] 13,514,651   598KB/s   in 24s    

2013-06-07 13:29:35 (549 KB/s) - 'broadcom-wl-5.100.138.tar.bz2.1' saved [13514651/13514651]

ewaller$@$odin ~/b43-firmware/build/b43-firmware 1038 %

Note, that it samed it with a .1 extension, since I already had a copy.

tl;dr:  Before you start makepkg, you should be in a directory with 2 files.  They should be: PKGBUILD and broadcom-wl-5.100.138.tar.bz2.
When you are done, there will be a couple files and directories.  Most importantly, there will be the package file: b43-firmware-5.100.138-2-any.pkg.tar.xz


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2013-06-09 19:39:05

asherli
Member
Registered: 2012-12-22
Posts: 9

Re: [SOLVED] No way of installing b43 firmware on my macbook pro

I still get "ERROR:cannot find the strip binary required for object file stripping." and "invalid or corrupted package".

EDIT: The reason I was getting these error messages was because I was using "pacman -U filename.tar.bz2" rather than "pacman -U filename.tar.xz". When I used "pacman -U filename.tar.xz", the installation worked.

Last edited by asherli (2013-06-09 21:00:03)

Offline

Board footer

Powered by FluxBB