LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-17-2011, 12:59 PM   #1
nokangaroo
Member
 
Registered: Nov 2009
Posts: 141

Rep: Reputation: 25
Install Broadcom STA wireless driver in Ubuntu Lucid


I don't know if this will still interest anybody, but I found a lot of confusing stuff on the www about installing the Broadcom STA wireless driver in ubuntu lucid and had to figure it out myself. This method should work (Tested with 32bit and 64bit on Apple iMac 7.1 and MacBook Pro 5.1):

Update your system.

Install the backported kernel: 2.6.35-28-generic (2.6.35-25-generic in 64bit). Also works with 2.6.35-28-generic-pae.

Boot from it. If you use the nvidia driver and get low graphics mode, choose "run in low graphics mode for one session", reinstall the nvidia driver and reboot. For the ATI driver see this thread: http://www.linuxquestions.org/questi...-fglrx-865082/

Remove the 2.6.32 and older kernels and headers (You want the initramfs updated for 2.6.35, not 2.6.32; if you want an emergency fallback kernel, install 2.6.31-11-rt. No kidding; the rt-kernel is still in the repository and will boot into recovery mode when the newer kernels won't).

Download and install the natty kernel source from Launchpad (https://launchpad.net/ubuntu/natty/+source/bcmwl:
bcmwl-kernel-source_5.100.82.38+bdcom-0ubuntu2_i386.deb or bcmwl-kernel-source_5.100.82.38+bdcom-0ubuntu2_amd64.deb, according. (Read the terminal output of the installer: it should do update-initramfs for 2.6.35).

Reboot, and on the next boot you should get a "wireless networks available" message.


In terminal geek talk it goes like this:

sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install linux-image-generic-lts-backport-maverick linux-headers-generic-lts-backport-maverick
sudo reboot

# be sure to reboot into the new kernel!!!!

# purge old kernels:

for 32bit:
sudo apt-get purge linux-image-2.6.32-31-generic linux-headers-2.6.32-31-generic

for 64bit:
sudo apt-get purge linux-image-2.6.32-30-generic linux-headers-2.6.32-30-generic

# repeat the purge commands for any older kernels except 2.6.31-11-rt

#if necessary:
#sudo apt-get install nvidia-current
#sudo reboot

#for the ATI driver see this thread:
#http://www.linuxquestions.org/questi...-fglrx-865082/

# for 32bit:
wget http://launchpadlibrarian.net/620081...untu2_i386.deb

#for 64bit:
wget http://launchpadlibrarian.net/620081...ntu2_amd64.deb

sudo dpkg -i $HOME/bcmwl-kernel-source_5.100.82.38*

sudo reboot

#and enjoy





Edit: If you have another account on your computer and it gives you display trouble after upgrading the ATI driver, do the following:

sudo cp -R $HOME/.gconf $HOME/.gconfd $HOME/.gnome2 $HOME/.config $HOME/.dmrc /home/<user>
sudo chown -R <user>:<user> /home/<user>/.gconf /home/<user>/.gconfd /home/<user>/.gnome2 /home/<user>/.config /home/<user>/.dmrc

whereby <user> is to be replaced with the short name of your secondary account. You will have to do some cleaning up after this, but the display should work again.

Last edited by nokangaroo; 04-18-2011 at 01:21 PM.
 
Old 04-17-2011, 02:56 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Thank you for sharing your solution. I don't quite understand why you need a complete dist-upgrade to another kernel just to (compile and use) the Broadcom STA driver. I found this site on Debian that described a very easy process to compile for the kernel you're running. Have been using it since 2.6.32-5, now running 2.6.38-2 and the same procedure always worked/works. Not saying your solution is not right. It worked for you and might work for others too. Just pointing out that there are other and easier solutions.

Kind regards,

Eric
 
Old 04-18-2011, 01:18 PM   #3
nokangaroo
Member
 
Registered: Nov 2009
Posts: 141

Original Poster
Rep: Reputation: 25
Thanks, Eric. I checked out that site (just gave it the once-over, but I bookmarked it and will look at it), but it does not seem to be any simpler than what I did. Anyway, I got rid of the 2.6.32 kernel (and recommend this to others too) because it gave me optical garbage on boot and shutdown (both on the iMac and the mbp) which can't be good. The kernel upgrade on the mbp is perfectly safe and straightforward; with the upgraded ATI driver on the iMac I had slight trouble with my secondary account (see edit).
 
  


Reply



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
[SOLVED] m-a a-i broadcom-sta j1alu Linux - Networking 7 03-30-2011 05:56 AM
[SOLVED] ubuntu 10.04 (64-bit) wireless issues (broadcom STA driver) bbb125 Linux - Newbie 5 08-20-2010 09:15 AM
LXer: How To Install Latest Intel Driver 2.12 On Ubuntu 10.04 (Lucid Lynx) LXer Syndicated Linux News 0 07-07-2010 11:50 AM
broadcom-sta driver won't build on 2.6.32-trunk-amd64 war1025 Debian 1 01-24-2010 10:46 PM
How to install broadcom 4322 sta driver for backtrack 3? klienes Linux - Wireless Networking 1 11-12-2009 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:44 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