LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 01-26-2006, 09:47 PM   #1
ollywompus
Member
 
Registered: Feb 2005
Posts: 43

Rep: Reputation: 15
how-to: Get Broadcom Wireless working on your lappy ;)


Ok, so I'm relatively new to the forums, but it seems like every other thread here in the laptop section is about wireless, and 8/10 of those seem to be people having trouble with Broadcom specifically. So here's a how-to, hope this helps some people:

First off, you need to have ndiswrapper installed on your system. How you do this is different on differnt distros, depending upon your package management system. I use Ubuntu, which is Debian based, so it's a simple apt-get ndiswrapper-utils. Someone else can post how to do it with RPM's on different distros.

Once you have it installed (test by typing ndiswrapper -l in terminal), you need the Broadcom drivers for your card. This may take some googling, but some can be found at http://ndiswrapper.sourceforge.net in the Installation Wiki.

Make sure you have both driver.inf and driver.sys (for me this is bcmwl5.inf and bcmwl5.sys) in the same folder. Do the following:

ndiswrapper -i bcmwl5.inf

(you may need to add the path in front of it, i.e. ndiswrapper -i /home/olly/drivers/bcmwl5.inf is mine).
if you don't get any errors, you should see this when typing

ndiswrapper -l

driver present, hardware present.

Then type:

ndiswrapper modprobe
ndiswrapper -m

Now you should be installed. next let's get it up and running:

iwconfig DEVICE essid ESSID key XXXXXXXXXXXXXXX

Where 'DEVICE' is replaced by your card, most often seems to be wlan0, and ESSID is replaced by your SSID (the name of your wireless network) and XXXXXXXXXXXXX is replaced by your wep key. If you don't use a wep key, skip the 'key XXXXXXXXxxXXXXXX' portion of the command.

At this poinnt, if you type

iwconfig wlan0

You should see some output that includes the name of your network in quotes. Next, type

dhclient wlan0

or

ifconfig wlan0 up

or whatever other DHCP config your distro uses (ask someone in the forums with your same distro).

It should give you some output that ends in: renewal in x seconds.

You are now up and running.

To make this happen automagically, you need to edit your interfaces file. Do this by:

vim /etc/network/interfaces (where 'vim' can be rpelaced by your favorite editor, nano or whatever)

Under primary network interface, add the following lines:

iface wlan0 inet dhcp
wireless_keymode [here either add restricted or open]
wireless_mode [here have auto or managed etc]
wireless_key XXXXXXXXXXXXXXXXXXXXXXXXXX
wireless_essid ESSID
auto wlan0

So, for a real world example, mine is as follows:

iface wlan0 inet dhcp
wireless_keymode restricted
wireless_mode managed
wireless_key XXXXXXXXXXXXXXXXXXXX
wireless_essid ESSID
auto wlan0

Save this file, welcome to wireless

-olly
 
Old 01-27-2006, 12:51 PM   #2
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30
Very helpful advice.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 12:53 PM
*STILL* can't get Broadcom Wireless working on Turion64 machine... sancho Linux - Laptop and Netbook 21 10-22-2005 11:00 PM
wireless problems; Broadcom 802.11G Mini PCI Wireless with redhat WS surfbass Linux - Laptop and Netbook 1 12-17-2004 12:48 PM
Linux Lappy & Wireless PCMCIA - Definitive Guide Request geokker Linux - Laptop and Netbook 3 11-11-2004 02:11 PM
Broadcom built-in wireless Travis S Linux - Laptop and Netbook 10 09-10-2004 08:08 PM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration