Updates:

Forums updated to SMF version 2.1.1

Offline install of b43-fwcutter and firmware for Broadcom Wireless cards

Started by Mark Greaves (PCNetSpec), March 15, 2011, 04:26:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mark Greaves (PCNetSpec)

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 (http://linuxforums.org.uk/index.php?topic=5842.msg81040#msg81040)

[END EDIT]

[EDIT 2]

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

[END EDIT 2]

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 (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 (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.
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 (https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx)

Except for the 2 chmod 775 commands which I found were necessary... at least for me.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

kiai

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.


Mark Greaves (PCNetSpec)

#2
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
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

solodky

I don't have the install cdrom..I'm downloading with the Windows installer..can i still fix this?

Mark Greaves (PCNetSpec)

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.
pcnetspec.co.uk


tiansial

Can you explain how do you install broadcom firmware on wubi ? Im running ubuntu 12.04 LTS

Mark Greaves (PCNetSpec)

Is it 12.04 32bit or 64 bit ?

If you're not sure .. open a terminal (Ctrl+Alt+T) and post the output from:
uname -a
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk


Mark Greaves (PCNetSpec)

#8
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 (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 (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 (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.
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
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk


tiansial


Mark Greaves (PCNetSpec)

WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

tiansial

Now my wireless connection is always dropping, and i have to manually disconnect/connect to function properly. Any thoughts ?

SeZo

QuoteNow 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.

Mark Greaves (PCNetSpec)

#13
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:
sudo lshw -C network
and
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.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

tiansial

  *-network               
       description: Ethernet interface
       product: 82562GT 10/100 Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: [email protected]: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: [email protected]: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


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