Author Topic: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards  (Read 55933 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
For an "Offline" install of b43-fwcutter and firmware in Ubuntu...
(ie. without an working internet connection on the Ubuntu PC)

[EDIT]

New instructions for Ubuntu 12.04 can be found at this link:
http://linuxforums.org.uk/index.php?topic=5842.msg81040#msg81040

[END EDIT}

Supported models include:
BCM4301 BCM4306/2, BCM4306/3, BCM4311, BCM4312, BCM4318, BCM4320

Install b43-fwcutter:
With the Ubuntu CDROM inserted... navigate on the CD to:
/pool/main/b/b43-fwcutter/
and double-click the b43-fwcutter .deb package contained there.
When the Ubuntu Software Centre opens... click "Install"

Install patch:
With the Ubuntu CDROM inserted... navigate on the CD to:
/pool/main/p/patch/
and double-click the patch .deb package contained there.
When the Ubuntu Software Centre opens... click "Install"

On a separate PC that has a working internet connection, download these 2 files:

http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
and
http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2

Now transfer them to your Home folder on the Ubuntu PC.

Open a terminal and enter these 6 commands.
Code: [Select]
cd ~
tar -xjvf broadcom-wl-4.150.10.5.tar.bz2
sudo b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
sudo b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o
sudo chmod 775 /lib/firmware/b43
sudo chmod 775 /lib/firmware/b43legacy
hitting enter after each line, and your password when asked.

at this point, you *may* need to reboot.

Now see if the b43 driver is available for activation in System>Administration>Additional Drivers

Most of this is in the "b43 - No internet access" section here:
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx

Except for the 2 chmod 775 commands which I found were necessary... at least for me.
« Last Edit: April 06, 2013, 01:51:33 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline kiai

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
IT WORKED!!!!!  ;D ;D ;D ;D ;D ;D ;D ;D And this post is over a year old!

I have a Dell D630 with Ubuntu 12.04 and Broadcom Wireless card 4312. After searching and searching and searching for an offline solution -- and one that's easy for a newbie to follow -- I tried yours and I now have Ubuntu 12.04 online!!!!! Thank you thank you thank you.

The only thing different was that the B43 and B43legacy directories were in /lib/firmware rather than in modules.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Hi kiai, and welcome to the forum :)

I'm glad it helped, and thanks for the feedback .. I'm sure your update to the instructions (for 12.04) will be a help others .. Cheers :)

I've changed the original instructions to reflect the directory change you mentioned .. thanks
« Last Edit: October 26, 2012, 02:19:27 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline solodky

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
I don't have the install cdrom..I'm downloading with the Windows installer..can i still fix this?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
It *can* be done in a WUBI install .. but it will be more awkward.

By FAR the easiest method will be to just connect to your router with an ethernet cable .. then install the wireless drivers.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline tiansial

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #5 on: October 26, 2012, 02:40:30 pm »
Can you explain how do you install broadcom firmware on wubi ? Im running ubuntu 12.04 LTS

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #6 on: October 26, 2012, 02:44:21 pm »
Is it 12.04 32bit or 64 bit ?

If you're not sure .. open a terminal (Ctrl+Alt+T) and post the output from:
Code: [Select]
uname -a
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline tiansial

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #7 on: October 26, 2012, 02:45:57 pm »
32bits

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #8 on: October 26, 2012, 03:24:56 pm »
OK, try this ..

For an "Offline" install of b43-fwcutter and firmware in Ubuntu 12.04.1 32bit...
(ie. without an working internet connection on the Ubuntu PC)

Supported models include:
BCM4301 BCM4306/2, BCM4306/3, BCM4311, BCM4312, BCM4318, BCM4320

On a separate PC that has a working internet connection, download these 3 files:

http://dl.dropbox.com/u/11876059/b43-fwcutter_015-9_i386.deb
and
http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
and
http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2

Now transfer them to your Home folder on the Ubuntu PC.

Open a terminal and enter these 7 commands.
Code: [Select]
cd ~
sudo dpkg -i b43-fwcutter_015-9_i386.deb
tar -xjvf broadcom-wl-4.150.10.5.tar.bz2
sudo b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
sudo b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o
sudo chmod 775 /lib/firmware/b43
sudo chmod 775 /lib/firmware/b43legacy
hitting enter after each line, and your password when asked.

at this point, you *may* need to reboot.

Now see if the b43 driver is available for activation in System>Administration>Additional Drivers
« Last Edit: April 06, 2013, 01:52:21 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline tiansial

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #9 on: October 26, 2012, 03:43:55 pm »
Solved, thank you so much.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #10 on: October 26, 2012, 03:46:53 pm »
You're welcome :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline tiansial

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #11 on: October 26, 2012, 05:10:15 pm »
Now my wireless connection is always dropping, and i have to manually disconnect/connect to function properly. Any thoughts ?

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1549
  • Karma: 122
  • Gender: Male
    • View Profile
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #12 on: October 26, 2012, 10:39:22 pm »
Quote
Now my wireless connection is always dropping, and i have to manually disconnect/connect to function properly. Any thoughts ?

This might not have anything to do with your problem, but I had a similar problem with a different card.
The soulution was to disable the power saving for the card. As when this did kick in, the card was not coping well,
and was dropping the connection.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14279
  • Karma: 354
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #13 on: October 26, 2012, 11:19:24 pm »
SeZo is right, it may be an LPPHY card which needs different firmware, or it could need the wl driver instead of b43 .. so first lets' find out exactly which adapter you have.

Can you open a terminal (Ctrl+Alt+T) and poost the output from these 2 commands:
Code: [Select]
sudo lshw -C network
and
Code: [Select]
lspci -vnn | grep -A7 -i "net"

Be aware Linux commands ARE case sensitive (so that's a capital C in the first command), and it may take a short while for the first command to complete.
« Last Edit: October 26, 2012, 11:25:07 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline tiansial

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Offline install of b43-fwcutter and firmware for Broadcom Wireless cards
« Reply #14 on: October 27, 2012, 12:11:25 am »
Code: [Select]
  *-network               
       description: Ethernet interface
       product: 82562GT 10/100 Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 03
       serial: 00:1f:29:8e:8d:45
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi cap_list ethernet physical
       configuration: broadcast=yes driver=e1000e latency=0 multicast=yes
       resources: irq:22 memory:e4600000-e461ffff memory:e4620000-e4620fff ioport:4020(size=32)
  *-network
       description: Network controller
       product: BCM4312 802.11b/g LP-PHY
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:10:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=b43-pci-bridge latency=0
       resources: irq:17 memory:e4000000-e4003fff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: 00:21:00:23:d7:58
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=b43 driverversion=3.2.0-32-generic-pae firmware=410.2160 ip=192.168.1.93 link=yes multicast=yes wireless=IEEE 802.11bg

Code: [Select]
00:19.0 Ethernet controller [0200]: Intel Corporation 82562GT 10/100 Network Connection [8086:10c4] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:30d8]
Flags: fast devsel, IRQ 22
Memory at e4600000 (32-bit, non-prefetchable) [disabled] [size=128K]
Memory at e4620000 (32-bit, non-prefetchable) [disabled] [size=4K]
I/O ports at 4020 [disabled] [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
--
10:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Hewlett-Packard Company BCM4312 802.11b/g Wireless LAN Controller [103c:137d]
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at e4000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal