Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem Updating Apt-get and Installing b43 broadcom driver

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
peridox91
Posts: 4
Joined: 2012-05-28 01:11

Problem Updating Apt-get and Installing b43 broadcom driver

#1 Post by peridox91 »

I installed Debian 6.0.5 stable using the CD-1 iso image (and no other cdimages), compiled using jigdo (via running Linux Mint 12). I did not configure wireless during setup, as I knew I had a b43-firmware-needing broadcom wifi-card (requiring proprietary firmware). I read http://forums.debian.net/viewtopic.php?f=17&t=57731 and tried to follow all those steps. Now, of course, given that I don't have working wi-fi, I don't have internet connection (I have a direct ethernet cable, but I don't think debian is picking it up...).

So I try the (running as root)

# apt-get update
# apt-get install b43-fwcutter [or firmware-b43-fwcutter or b43-installer, etc.].

And of course, it cannot be found, so I do the whole
#nano /etc/apt/sources.list

#
# deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 CD Binary-1 20120512-13:45]/ squeeze main
deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 CD Binary-1 20120512-13:45]/ squeeze main
# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ squeeze/updates main
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ squeeze/updates main
#squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ squeeze-updates main
# deb-src http://ftp.debian.org/debian/ squeeze-updates main

So I do add the contrib non-free after the two deb and deb-src, as told via the above link, and I uncommented out the deb and deb-src for both security.debian.org and ftp.debian.org/debian. And I added contrib non-free to all of them. Then I did the ^0 then Enter then ^X.
Then I did an apt-get update. But it could not resolve 'security.debian.org' or 'ftp.debian.org' (as I have no internet); it failed to fetch ...

So, needless to say, doing the apt-get install b43-fwcutter (or firmware-..., b43-installer, etc.) all didn't work

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package b43-fwcutter.

So what can I do? It seems like I need to have internet connection, but my Wifi requires a proprietary driver package that seemingly cannot be found apart from an internet-based mirror! Sounds like I'm in a loop. What can I do? I read online that this can be found in the Debian kernel, but it can't be found for me! And, as I just mentioned, the adding "contrib non-free" doesn't seem to do anything. [side note: my apt-get really can't find any packages...i tried installing/configuring vim and sudo and mc and the packages cannot be found]

Thanks for helping.

User avatar
p00d73
Posts: 32
Joined: 2012-05-19 15:06
Location: Belgium

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#2 Post by p00d73 »

The sources.list points APT to the internet repositories. So yes, you need internet to use them except if you have an offline version of those repositories. You indicate to have tried with wired internet, does it use VPN of some sort? If not, what's the output of this?

Code: Select all

lspci | grep -i ethernet
Debian sid AMD64 + Xfce *** Linux Mint 13 AMD64 + Cinnamon *** Debian Wheezy ARM + Enlightenment *** Ångström ARM + Xfce

peridox91
Posts: 4
Joined: 2012-05-28 01:11

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#3 Post by peridox91 »

Hi, sorry for taking so long. It helps that I also have a working Linux Mint ... anyway, I haven't actually even logged in to debian yet, but is there a way I can get my broadcom driver from an offline repository? Do I need a USB or do I need another ISO image or something? Basically, how do I download a driver for Debian to read (I plan to download it from another OS, such as Mint 12). Thanks.

ilyakarev
Posts: 1
Joined: 2012-05-31 14:31

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#4 Post by ilyakarev »

peridox91
Sorry for my bad English).
If you have an Ethernet connection in Debian,you need to add to: /etc/apt/sources.list this:
deb http://ftp.debian.org/debian squeeze main contrib
Then:
apt-get update
apt-get install b43-fwcutter (if you get this package,then do the following commands below)
Or:
apt-get update
apt-get install firmware-b43-installer (firmware-b43-installer).These packages will download and install all you need.

If you have no Ethernet connection,just go to: http://www.debian.org/ and download the "b43-fwcutter" package.
Then download these packages:
http://downloads.openwrt.org/sources/wl ... 130.20.0.o and http://mirror2.openwrt.org/sources/broa ... .5.tar.bz2
Open the .tar archive and put it in you home folder.
In terminal :
su b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
su b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o
Reboot.

In the future just read this: https://help.ubuntu.com/community/WifiD ... t%20access

User avatar
Pyotrech
Posts: 4
Joined: 2012-06-15 11:41

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#5 Post by Pyotrech »

I've tried to install driver for my broadcom 4313 wi-fi under Debian 6.0.5 amd64. I followed the instructions from that link:
https://help.ubuntu.com/community/WifiD ... t%20access
As a source I've used my Xubuntu 12.04 LTS amd64 live CD. At the beginning everything looked ok but I have problems:
1. That help says about kernel patch... in the case of Debian with different kernel to Xubuntu 12.04 should I find patch for my Debian kernel? Or can I skip this step?
2. at this step:

Code: Select all

:/bcmwl/$ sudo dpkg -i bcmwl-kernel-source*
I have anoter problem, the system asks for linux-headers-generic and linux-headers.
How can I install them with no internet access under Debian?
The only internet access I have is to switch to Xubuntu Live from USB pendrive.


User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#7 Post by dilberts_left_nut »

Image

Did you properly ID your hardware and read here?
AdrianTM wrote:There's no hacker in my grandma...

User avatar
Pyotrech
Posts: 4
Joined: 2012-06-15 11:41

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#8 Post by Pyotrech »

dilberts_left_nut wrote:Image

Did you properly ID your hardware and read here?
What does it mean ID my hardware?

Code: Select all

lspci
gives me this:

Code: Select all

00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
05:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller

cynwulf

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#9 Post by cynwulf »

Pyotrech wrote:Image

Code: Select all

05:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
You've ID'd your hardware. Read the two wiki pages I linked to in previous post - this has been covered multiple times.

User avatar
Pyotrech
Posts: 4
Joined: 2012-06-15 11:41

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#10 Post by Pyotrech »

cynwulf wrote:
Pyotrech wrote:Image

Code: Select all

05:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
You've ID'd your hardware. Read the two wiki pages I linked to in previous post - this has been covered multiple times.
Ok. I'm trying first one... but because no internet access I have to download firmware-brcm80211 and wireless-tools from debian website. That's not a problem but how I should install these packages from HDD instead of debian repositories?

Step 2. says:

Code: Select all

# aptitude update
# aptitude install firmware-brcm80211 wireless-tools
Where I should copy these packages: /home/pyotrech/downloads ?

cynwulf

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#11 Post by cynwulf »

Pyotrech wrote:Image
Ok. I'm trying first one... but because no internet access I have to download firmware-brcm80211 and wireless-tools from debian website. That's not a problem but how I should install these packages from HDD instead of debian repositories?

Step 2. says:

Code: Select all

# aptitude update
# aptitude install firmware-brcm80211 wireless-tools
Where I should copy these packages: /home/pyotrech/downloads ?
Download it to your /home/user_name, cd to the directory and

Code: Select all

# dpkg -i name_of_package.deb

kmathern
Posts: 603
Joined: 2011-02-05 19:20

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#12 Post by kmathern »

You're probably also going to need to install the libiw30 package, it's a dependency of wireless-tools.

Download the version for your architecture from the links at the bottom of the page here: http://packages.debian.org/squeeze/libiw30.

Install it with dpkg before trying to install the wireless-tools package. (when installing wireless-tools with dpkg, dpkg will complain about missing dependencies if libiw30 isn't already installed)

User avatar
Pyotrech
Posts: 4
Joined: 2012-06-15 11:41

Re: Problem Updating Apt-get and Installing b43 broadcom dri

#13 Post by Pyotrech »

cynwulf and kmathern thanks guys :D

After so long and hard fight... my WiFi works under Debian... I'm so happy :D

Post Reply