LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2008, 07:30 AM   #1
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Rep: Reputation: 0
Ubuntu does not use Broadcom driver on my Inspiron 1525


I have used Synaptic Package Manager to install version 1.0-0 cafugeo of b43-firmware on my Inspiron 1525 running Ubuntu. The purpose is to make my system connect to my wireless router. The system still does not seem to use the firmware (I assume this is the driver) to see the router. Your guidance, please.
Supplementary question: Do I need to install b43-fwcutter too, please?
 
Old 06-13-2008, 08:59 AM   #2
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
Yes, you need to install the fwcutter and the proper b43 driver. Check out http://wireless.kernel.org/en/users/Drivers/b43 for more information.
 
Old 06-13-2008, 05:19 PM   #3
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Too new to Linux

Thank you for your fast response. I read the link but I am not confident of following the instructions. I'll need some time to experiment.
 
Old 06-14-2008, 07:36 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I'm going to potentially disagree with Zyglow's advice. You've got two things you need to deal with here:

1) The b43 driver - This is part of the kernel and was almost certainly installed as part of Ubuntu
2) The b43 firmware - This was almost certainly NOT installed with Ubuntu (Broadcom's license doesn't allow it) and this is where things might get a bit tricky. The fwcutter program has one purpose only, and that is to create the b43 firmware files. If the Ubuntu package you installed takes care of this, then you don't need fwcutter.

So what you need to do is three things:

1) Open a console and (as root) run lsmod. That will show you all of the loaded kernel modules, and b43 should be there
2) Look in /lib/firmware and see if there are any firmware files there that look like they are for b43
3) Look in your log files (/var/log/syslog, /var/log/messages and the output of the dmesg command) and see if b43 is leaving any clues as to what is going on.
 
Old 06-15-2008, 08:59 PM   #5
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Not as expected

Thank you, Hangdog42, and especially for spelling out the commands; Linux commands are foreign to me. When I followed your instructions step by step, I found results that seem contrary to your expectations, thus:
1)The *lsmod* command run in the terminal application showed no b43.
2)*ls /lib/firmware* gave 2.6.24-16-generic 2.6.24-18-gneric b43 b43legacy. That seems to say the b43 firmware has been installed though not necessarily with Ubuntu, since, so I think, that using Synpatic Package Manager, I had installed b3-firmware of 1.0-0cafuego before I started this question thread.
3)Both *ls /var/log/syslog* and *ls /var/log/messages* returned nothing but /var/log/syslog and /var/log/messages respectively. *dmes* showed no trace of b43, nor other information (to my layman eyes) that is related to b43.

Your further guidance will be greatly appreciated.








Quote:
Originally Posted by Hangdog42 View Post
I'm going to potentially disagree with Zyglow's advice. You've got two things you need to deal with here:

1) The b43 driver - This is part of the kernel and was almost certainly installed as part of Ubuntu
2) The b43 firmware - This was almost certainly NOT installed with Ubuntu (Broadcom's license doesn't allow it) and this is where things might get a bit tricky. The fwcutter program has one purpose only, and that is to create the b43 firmware files. If the Ubuntu package you installed takes care of this, then you don't need fwcutter.

So what you need to do is three things:

1) Open a console and (as root) run lsmod. That will show you all of the loaded kernel modules, and b43 should be there
2) Look in /lib/firmware and see if there are any firmware files there that look like they are for b43
3) Look in your log files (/var/log/syslog, /var/log/messages and the output of the dmesg command) and see if b43 is leaving any clues as to what is going on.
 
Old 06-16-2008, 07:36 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
1)The *lsmod* command run in the terminal application showed no b43.
Hm. OK, you'll have to humor me a bit here, but we need to identify what chipset your card is running. If you don't happen to know this, try running lspci in a console and see if your wireless card is listed. Most Dell wireless cards are some form of Broadcom chipset, but we need to see which one. The reasons this is important is that there are actually two versions of the b43 driver, b43 itself and b43-legacy which is needed for some older Broadcom chipsets.

Quote:
2)*ls /lib/firmware* gave 2.6.24-16-generic 2.6.24-18-gneric b43 b43legacy. That seems to say the b43 firmware has been installed though not necessarily with Ubuntu, since, so I think, that using Synpatic Package Manager, I had installed b3-firmware of 1.0-0cafuego before I started this question thread.
I agree with you here. Unless there is later evidence that the firmware is a problem, we can probably assume that it has been installed and we don't need to worry about using fwcutter.

If you want to see if just loading the driver works, in the console run modprobe b43 and see if that brings your wireless card to life. You will definitely have to be root to do this. If modprobe works, it just returns you to the command line prompt without saying anything, however then b43 should appear in the lsmod output and you'll likely see stuff in your log files. If modprobe fails for some reason, it will tell you why, in which case, post the output.
 
Old 06-16-2008, 08:29 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Check if you have build-essential package,if not,open the terminal and run this
Code:
sudo apt-get install build-essential
Then do this;
Code:
wget http://bu3sch.d/b43/fwcutter/b43-fwcutter-0.11.tar.bz2
tar xjf b43-fwcutter-0.11.tar.bz2
cd b43-fwcutter-0.11
make
cd ..
 
Then download the Broadcom firmware and install it.After that do this;
Code:
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0tar.bz2
tar xjf broadcom-wl-4.80.53.0.tar.bz2
cd broadcom-wl-4.80.53.0/kmod
../../b43-fwcutter-0.11/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
"FIRMWARE_INSTALL_DIR" must point to the directory where your firmware directory is.
Reboot.

Last edited by alan_ri; 06-16-2008 at 08:39 AM.
 
Old 06-18-2008, 03:22 PM   #8
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Still can't make BCM4310 work

Lspci run. The chipset is BCM4310.
It took me quite an effort to figure out how to get to be root. modprobe b43 run and it returned me the command prompt without saying anything. Yes b43 appeared in the lsmod output. Then I knew not what next to do.
Later I thought perhaps I should load bcm43xx-firmware with Synaptic Package, and I did, apparently not solving the problem.
I also followed alan_ri's suggestion as described in my next reply going to him. Please see that reply too.
During my attempt to escape from the BCM maze, I tried Internet connection by wireless from time to time, hoping that I would stumble into success, with no luck.
Thank you for your patience, Hangdog42.

Last edited by tam969; 06-18-2008 at 03:43 PM. Reason: Important word missing --- the word "not"
 
Old 06-18-2008, 03:42 PM   #9
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Doubt on build-essential

I followed Hangdog42's second guidance message without success, but my reply to him may help you figure out where I made mistakes.
As you suggested, I checked the presence of build-essential with Synaptic Package Manager, which showed I don't have build-essential installed. Preparing to install it (but I used Synaptic Package Manager for ease of use), I noticed the following description: If you do not plan to build Debian packages, you don't need this message. (etc.).
I looked up what Debian package was and could not decide that I needed it. I felt I should check with you first. Hence this reply.
Many thanks, Alan_ri.
 
Old 06-18-2008, 05:00 PM   #10
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
build-essential package is not going to do any harm to you or your computer,it's just a package that will make it possible for you to build .deb packages on your computer,to clarify,it's something like a program in Windows that builds files with .exe extension,so please just follow the guide from my post and you should be fine.
Here is a link where you can read about Ubuntu package managment system and here's a link for sudo manual.
 
Old 06-19-2008, 07:38 AM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Yes b43 appeared in the lsmod output. Then I knew not what next to do.
If b43 appears in the lsmod output, then your wireless card should be available for use. The only thing that would prevent it from functioning is if the firmware isn't right. So there are a couple things to do

1) Look in either the output if iwconfig or in whatever GUI monstrosity Ubuntu uses after b43 is loaded and see if you have a wireless card avaialable. If so, you can configure it with your SSID and any encryption information and hopefully that will allow you to get an IP address.

2)If you don't seem to have a functioning wireless card after loading b43, then you need to look in your log files (/var/log/syslog, /var/log/messages, and the output of dmesg) and see if b43 is complaining about anything.
 
Old 06-20-2008, 09:45 AM   #12
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Unhappy I tried; nothing doing.

After hours of trying out over two days your suggestions, branching out to configurating the network, restarting to make sure changes take effect, plugging in and unplugging the ethernet wire and doing all sorts of other things that seemed remotely related, I still cannot make the wireless connection work. The worse thing is that I have even lost connection by wire! and nothing doing can revive it. I am writing this post with my wife's Windows system. What a shame.
Clearly I am technically inadequate to use Ubuntu Linux, even though I like the features of Linux and the applications in the distribution. I am sure installing other application software, such as Limewire, would be breeze if I can only make the wireless connection work.
The bottom line is, I think I'll have to get phone help. I looked at Canonical's price; it's $250 for a year. It would be too expensive for me, plus I hope I don't need help for a year. Are much less expensive alternatives with some other companies, please?
 
Old 06-20-2008, 11:13 AM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Clearly I am technically inadequate to use Ubuntu Linux, even though I like the features of Linux and the applications in the distribution.
This is the wrong conclusion to be drawing from your experience. The problem you're facing is that Broadcom refuses to support Linux in any way, so the drivers have been reverse engineered and are more than a bit touchy. In other words, the problem isn't you, it is your hardware.

So what to do? I'd take one of two paths (both of which are much cheaper than paying Canonical):

1) Dump b43 and try the ndiswrapper driver. This is a driver that allows the use of Windows drivers in Linux and with Broadcom chipsets it has been pretty successful.

2) Buy a wireless card based on a different chipset. Intel fully supports their wireless chipsets and most distros will now be able to use them straight away.

Given that your wired connection has also croaked, a re-install of Ubuntu might not be a bad idea. If nothing else it might be quicker than trying to diagnose why the wired connection has died.
 
Old 06-21-2008, 09:42 AM   #14
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
I am not despairing now.

Thank you for your encouragement, Hangdog42. I will persevere. I am in fact going out of town immediately, without a laptop to use since my Inspiron does not have Internet access. (Sob, sob.) By midweek next, I should able to resume with your suggestions.
Yes, I'll reload Ubuntu first. Then try the ndiswrapper, praying. I hope I don't have to take the last resort of replacing the wireless chipset.
I'll be back. Thanks again.
 
Old 06-23-2008, 06:26 AM   #15
tam969
LQ Newbie
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Smile I kicked myself - Not Dell's fault

Dear Hangdog42,
Going away for a few days seems to have done me good, for this story has a happy ending. It goes like this:
As soon as I could once back at hom, I resumed working on the phantom problem of no wireless connect. Dutifully I re-installed Ubuntu. The wired connection was revived. The system invited me to install close to 200 updates. Apart from Evolution related items, I let the updates proceed. These were the only changes on my previous Untubu installation.
Then it suddenly dawned on me that Ubuntu allows me to dual boot. That's good, I thought. When I don't have wired connection, I can at least run the factory loaded Vista that has wireless connection capability. I tried the Vista boot. It worked! I was so happy. Then I attempted Internet wireless. Dear, dear, Vista saw no wireless network!
How can that be? I clicked around and finally asked Vista is to diagnose why. It said, perhaps you didn't turn on the wireless security switch on the side of your computer (for security reason). I looked at the side of my Inspiron, and found, my Golly, the switch was indeed turned to off!
Right away I threw the switch, right away Vist a saw wireless networks. Suddenly I saw light at the end of the idiot's tunnel. Perhaps wireless networks were now also visible to Unbuntu. I rebooted to Ubuntu. Wow, indeed it saw the wireless networks without me doing anything whatsoever!
I kicked myself hard. I was such an idiot not to think of the switch, which I now recall playing with before I first installed Ubuntu. I wasted days working on the phantom problem that never existed; such a punishment I deserved. You and others wasted hours answering my questions; such a punishment you all did not deserve. Through my fault, through my fault. Thank you everybody for your patient help. Thank you, thank you.
I can't describe how happy I am. I just need to proceed to making Ubuntu see my Brother printer 2040, which, I hope will not be another phantom problem.

Postscript: Perhaps I should delete this thread, if I am allowed, lest other newbies read not right down to this happy ending and think ill of Inpiron 1525. Should I?
 
  


Reply

Tags
broadcom, driver



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 1525 watcher69b Linux - Laptop and Netbook 1 04-12-2008 07:44 AM
inspiron 1525 probs with ubuntu gutsy 7.10... :( maximus_nitt Linux - Hardware 1 03-15-2008 05:03 AM
Dell introduces Inspiron 1525 Ubuntu offer in Europe. M&M Linux - News 1 02-27-2008 07:10 PM
probme when building driver broadcom on inspiron 5150 xround Linux - Hardware 4 08-10-2004 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration