All pastes #793391 Raw Edit

HOW TO: Configure wireless cards

public text v1 · immutable
·published 2007-11-22 06:18 UTC
rendered paste body
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2507;}\viewkind4\uc1\pard\f0\fs20\par
\par
    * Products\par
          o What is Ubuntu?\par
          o Download\par
          o Get Ubuntu\par
          o Software Catalogue\par
          o Merchandise\par
          o Case Studies\par
    * Support\par
          o Community\par
          o Documentation\par
          o Commercial\par
          o Training\par
    * Community\par
          o Code of Conduct\par
          o Get Involved\par
          o Report a Problem\par
          o The Ubuntu Story\par
    * Partners\par
          o Partner Programme\par
          o Programme Tracks\par
          o Case Studies\par
          o Software Programme\par
          o Hardware Programme\par
          o Find a Partner\par
    * News\par
          o Spotlight\par
          o Security Notices\par
          o The Fridge\par
          o Planet Ubuntu\par
          o Press Releases\par
          o Media Contact\par
\par
Search go\par
Ubuntu\par
\par
Go Back \tab   \tab Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips\par
Reload this Page\par
HOW TO: Configure wireless cards with Broadcom chipsets\par
\tab\par
User Name \tab\tab Remember Me?\par
Password \tab\tab\par
\par
Home \tab Forum Help \tab Gallery \tab RSS Feeds \tab Register \tab Today's Posts \tab Search\par
\par
Tutorials & Tips:\par
The place to find Ubuntu related Tips & Tricks.\tab\par
Unanswered Posts\par
\par
Search Forums\par
Show Threads   Show Posts\par
Advanced Search\par
Get Unanswered Posts\par
Get All New Posts\par
Last 15 Minutes\par
Last 30 Minutes\par
Last Hour\par
2 Hours\par
4 Hours\par
8 Hours\par
12 Hours\par
1 Day\par
2 Days\par
Find All Your Threads\par
Find All Your Posts\par
Go to Page...\par
Ubuntu Forums Help\par
About Ubuntu Forums\par
Ubuntu Forums Code of Conduct\par
Forum FAQ\par
Welcome to the Ubuntu Forums.\par
Welcome to the Ubuntu Forums, we encourage you to REGISTER on our forums and participate in the community. Ubuntu is a complete Linux-based operating system, freely available with both community and professional support. By JOINING US today you can participate in our active and growing community. Registering on our forum gets you access to post new messages, get support, use private messages, download images from our gallery and much much more!\par
\par
Post Reply\par
\tab\par
Page 1 of 55 \tab 1 \tab 2\tab 3\tab 11\tab 51 \tab > \tab Last \'bb \tab\par
 \par
\tab Thread Tools \tab Search this Thread \tab Display Modes\par
  #1  \par
Old April 10th, 2005\par
jonny jonny is offline\par
Way Too Much Ubuntu\par
\tab   \tab\par
Join Date: Dec 2004\par
Beans: 278\par
HOW TO: Configure wireless cards with Broadcom chipsets\par
6 July 2006 Update\par
I haven't had a Broadcom card for many months, but I've been told this how-to doesn't work properly under Dapper. Here are a couple of links that have been passed to me - but I can't vouch for their quality.\par
\par
http://www.beginningubuntu.com/dappe...t_wifi_working\par
http://ubuntuforums.org/showthread.php?t=201902\par
\par
Good luck. I'm very happy that this how-to has helped so many people in the past year or so.\par
\par
Broadcom wireless cards are tricky to set up in ubuntu, and the forums are full of frustrated users seeking advice. Broadcom provide no Linux support (feel free to complain to your hardware vendor or choose a different card if you haven't yet shelled out your cash), but they can be made to work - and you're in the right place if you want to know how.\par
\par
First, you need to find out if this How To is for you. Broadcom wireless cards come under many brand names and, in particular, are used in many Dell and Acer laptops. Look for the drivers supplied with your card (Dell usually store a copy in C:/DRIVERS/NETWORK/ADDON); if you have a file called bcmwl5.inf or bcmwl5a.inf then keep on reading. You won't succeed without following these instructions!\par
\par
0. Before you start, clear out any mess from existing failed attempts to use ndiswrapper. Note that you shouldn't use a root terminal to execute the code in this how-to; use a normal terminal session instead.\par
Code:\par
\par
sudo modprobe -r bcmwl5\par
sudo rmmod ndiswrapper\par
sudo apt-get remove ndiswrapper-utils\par
sudo rm -r /etc/ndiswrapper/\par
sudo rm -r /etc/modprobe.d/ndiswrapper\par
\par
Some of these steps may report errors; just ignore them.\par
\par
1. Copy the bcmwl5.inf and bcmwl5.sys files to your desktop\par
\par
2. Follow the advice given here under How to add extra repositories\par
\par
3. Open a terminal session and enter this code. Note that you need an active network connection for this to work; I've assumed that if you have access to a wireless LAN, you also have access to a wired network as a fallback.\par
Code:\par
\par
sudo apt-get install ndiswrapper-utils\par
sudo ndiswrapper -i ~/Desktop/bcmwl5.inf\par
sudo ndiswrapper -m\par
for conffile in /etc/ndiswrapper/bcmwl5/*.conf; do\par
sudo cat $conffile | sed -e 's/RadioState|1/RadioState|0/' > $conffile\par
done\par
\par
4. Reboot your PC. On restarting, the light on your wireless card should come on. If not, try entering\par
Code:\par
\par
sudo modprobe ndiswrapper\par
\par
5. Your card is now working. Open the networking configuration tool System --> Administration --> Networking\par
\par
6. Select your wireless network card (probably wlan0) and hit the properties button.\par
\par
7. Tick the 'This device is configured' box, and enter your network name and connection settings. Ask your office network administrator for support if you don't know what this question means, or copy your settings from Windows.\par
\par
8. BE CAREFUL entering your WEP key, if you're using one. You're expected to enter this in hexadecimal form; if you don't speak hex, prefix your key with s:\par
\par
9. Click OK. The screen should close fairly quickly; if it hangs, you probably aren't connected properly.\par
\par
10. Back in the Network Settings screen, select your wireless device as the default gateway device.\par
\par
11. Click OK. Again, the screen should close fairly quickly.\par
\par
12. Enjoy wireless nirvana. If everything works, you can delete the file from your desktop.\par
\par
13. You might notice that the signal strength applet doesn't work properly. This is a known bug with these cards.\par
\par
If you have trouble, try booting into Windows - if you dual boot - and checking that the card is enabled. Some laptops allow the wireless card to be switched off, usually with a special key combination, and I've not found a reliable way to make this work in Linux.\par
\par
(Note: This how-to has been updated to reflect all comments from the thread up to 19 April)\par
__________________\par
Last edited by jonny : July 5th, 2006 at 07:59 PM. Reason: Add warning about using a root terminal\par
Reply With Quote\par
jonny\par
View Public Profile\par
Send a private message to jonny\par
Find all posts by jonny\par
  #2  \par
Old April 10th, 2005\par
poofyhairguy's Avatar \tab\par
poofyhairguy poofyhairguy is offline\par
Ubuntu Master Roaster\par
\tab   \tab\par
Join Date: Nov 2004\par
Location: Texas\par
Beans: 3,806\par
Send a message via AIM to poofyhairguy\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
great Howto. I need this next weekend. What a lifesaver...\par
__________________\par
Quote:\par
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.\par
- Mark Shuttleworth\par
Reply With Quote\par
poofyhairguy\par
View Public Profile\par
Send a private message to poofyhairguy\par
Find all posts by poofyhairguy\par
  #3  \par
Old April 11th, 2005\par
Chromance Chromance is offline\par
First Cup of Ubuntu\par
\tab   \tab\par
Join Date: Apr 2005\par
Beans: 7\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
what version of Ndiswrapper is included in the ubuntu 5.04? should be 1.1?\par
__________________\par
Reply With Quote\par
Chromance\par
View Public Profile\par
Send a private message to Chromance\par
Find all posts by Chromance\par
  #4  \par
Old April 12th, 2005\par
Remix_88 Remix_88 is offline\par
5 Cups of Ubuntu\par
\tab   \tab\par
Join Date: Apr 2005\par
Location: Hampshire, UK\par
Beans: 36\par
Dapper Drake Testing/ User\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
You don't have to edit all the .conf files by hand. Replace steps 'sudo gedit' and Step 4 with the following...\par
\par
Code:\par
\par
$ sed -e 's/RadioState|1/RadioState|0/' /etc/ndiswrapper/bcmwl5/*.conf\par
\par
__________________\par
Reply With Quote\par
Remix_88\par
View Public Profile\par
Send a private message to Remix_88\par
Visit Remix_88's homepage!\par
Find all posts by Remix_88\par
  #5  \par
Old April 12th, 2005\par
kuleali's Avatar \tab\par
kuleali kuleali is offline\par
A Carafe of Ubuntu\par
\tab   \tab\par
Join Date: Mar 2005\par
Beans: 124\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
it worked, thank you\par
__________________\par
See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky ******* too.\par
Reply With Quote\par
kuleali\par
View Public Profile\par
Send a private message to kuleali\par
Find all posts by kuleali\par
  #6  \par
Old April 12th, 2005\par
jonny jonny is offline\par
Way Too Much Ubuntu\par
\tab   \tab\par
Join Date: Dec 2004\par
Beans: 278\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
Quote:\par
Originally Posted by Remix_88\par
You don't have to edit all the .conf files by hand. Replace steps 'sudo gedit' and Step 4 with the following...\par
\par
Code:\par
\par
$ sed -e 's/RadioState|1/RadioState|0/' /etc/ndiswrapper/bcmwl5/*.conf\par
\par
Thanks; I've updated the how-to. I knew you could use sed instead of gedit, but couldn't get the syntax quite right. You're obviously smarter then me!\par
\par
By the way, if you get here from a search engine, I imagine this would work for any other Debian based distros. Steps 5 onward need Gnome, but KDE has equivalent tools.\par
__________________\par
Reply With Quote\par
jonny\par
View Public Profile\par
Send a private message to jonny\par
Find all posts by jonny\par
  #7  \par
Old April 13th, 2005\par
Musiknonstop Musiknonstop is offline\par
First Cup of Ubuntu\par
\tab   \tab\par
Join Date: Apr 2005\par
Beans: 1\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
Hi,\par
\par
When I use the sed command the output just oes to the terminal window. The files do not get changed. Does anyone know what I'm doing wrong here?\par
\par
Thanks\par
__________________\par
Reply With Quote\par
Musiknonstop\par
View Public Profile\par
Send a private message to Musiknonstop\par
Find all posts by Musiknonstop\par
  #8  \par
Old April 13th, 2005\par
jonny jonny is offline\par
Way Too Much Ubuntu\par
\tab   \tab\par
Join Date: Dec 2004\par
Beans: 278\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
I'll have to test this tomorrow. In the meantime, you need to replace the sed command with these steps:\par
\par
- sudo gedit\par
- This will open a text editor. Open every file in the directory /etc/ndiswrapper/bcmwl5/ and replace every instance of RadioState|1 with RadioState|0\par
- continue with step 4\par
\par
Sorry for the confusion.\par
__________________\par
Reply With Quote\par
jonny\par
View Public Profile\par
Send a private message to jonny\par
Find all posts by jonny\par
  #9  \par
Old April 13th, 2005\par
Antman's Avatar \tab\par
Antman Antman is offline\par
Gee! These Aren't Roasted!\par
\tab   \tab\par
Join Date: Apr 2005\par
Location: The Land of Sidux\par
Beans: 202\par
Debian User\par
Re: HOW TO: Configure wireless cards with Broadcom chipsets\par
Thank you, thank you, thank you. I knew all the steps but the "sed" step.\par
\par
I'm going to boot into Ubuntu now and try it.\par
\par
Ant\par
__________________\par
Reply With Quote\par
Antman\par
View Public Profile\par
Send a private message to Antman\par
Visit Antman's homepage!\par
Find all posts by Antman\par
  #10  \par
Old April 14th, 2005\par
Antman's Avatar \tab\par
Antman Antman is offline\par
Gee! These Aren't Roasted!\par
\tab   \tab\par
Join Date: Apr 2005\par
Location: The Land of Sidux\par
Beans: 202\par
Debian User\par
It works!!\par
Quote:\par
Originally Posted by jonny\par
I'll have to test this tomorrow. In the meantime, you need to replace the sed command with these steps:\par
\par
- sudo gedit\par
- This will open a text editor. Open every file in the directory /etc/ndiswrapper/bcmwl5/ and replace every instance of RadioState|1 with RadioState|0\par
- continue with step 4\par
\par
Sorry for the confusion.\par
Johnny,\par
\par
Thanks for posting this. After I edited the .conf files my card started working after doing modprobe. Writing post via my new wireless Ubuntu laptop....\par
\par
Ant\par
__________________\par
Reply With Quote\par
Antman\par
View Public Profile\par
Send a private message to Antman\par
Visit Antman's homepage!\par
Find all posts by Antman\par
Post Reply\par
\tab\par
Page 1 of 55 \tab 1 \tab 2\tab 3\tab 11\tab 51 \tab > \tab Last \'bb \tab\par
\par
\'ab Previous Thread | Next Thread \'bb\par
\par
\par
Thread Tools\par
Show Printable Version Show Printable Version\par
Email this Page Email this Page\par
Display Modes\par
Linear Mode Linear Mode\par
Hybrid Mode Switch to Hybrid Mode\par
Threaded Mode Switch to Threaded Mode\par
Search this Thread\par
\par
Advanced Search\par
\tab\par
Forum Jump\par
User Control PanelPrivate MessagesSubscriptionsWho's OnlineSearch ForumsForums Home The Ubuntu Forum Community    Absolute Beginner Talk    Main Support Categories        Apple Intel Users        Apple PPC Users        Desktop Environments        Desktop Effects & Customization        General Help        Hardware & Laptops        Installation & Upgrades        Multimedia & Video        Multimedia Production        Networking & Wireless        Sun Sparc Users        System76 Support        Ubuntu Dell Support        x86 64-bit Users    Other Community Discussions        3rd Party Projects            Projects                BUM - Boot Up Manager                Full Circle Magazine                Deluge (CLOSED)                ehcp Control Panel                Easy Ubuntu                Linux for Clinics (Closed)                GTK Wifi Project                iCenterX                Ubuntu Women                ubuntuguide.org                Ubuntu Gamers Arena                    Game Specific Discussions                Ubuntu Podcast Forum                Ubuntu System Panel                Ubuntu Control Center                Ubuntu Christian Edition                Ubuntu Customization Guide                Ubuntuzilla                UDSF                Wubi                Mythbuntu        Accessibility Discussions        Art & Design        Community Announcements & News        Gaming & Leisure        Ubuntu Gamers Arena - Offsite Link        Education & Science        Servers & Security        Tutorials & Tips            Outdated Tutorials & Tips        Ubuntu LoCo Team Forums            United States LoCo Teams                US LoCo Teams                Alabama Team - US                Alaska Team - US                Arizona Team - US                Arkansas Team - US                California Team - US                Colorado Team - US                Connecticut Team                Florida Team - US                Georgia Team - US                Illinois Team                Indiana - US                Kansas Team - US                Kentucky Team - US                Louisiana Team - US                Maine Team - US                Maryland Team - US                Massachusetts Team                Michigan Team - US                Minnesota Team - US                Mississippi Team - US                Missouri Team - US                Montana Team - US                Nevada Team - US                New Hampshire Team - US                New Jersey Team - US                New Mexico Team - US                New York - US                North Carolina Team - US                Ohio Team - US                    Ohio New User Team                Oklahoma Team - US                Pennsylvania Team - US                Rhode Island Team - US                South Dakota Team - US                Tennessee Team                Utah Team - US                Virginia Team - US                Wisconsin Team                Washington DC Team - US                Northeastern Team - US            International LoCo Teams                Tamil Team - India                Argentina Team                Kenyan Team - Kenya                Za Team - South Africa                Ireland Team - Ireland                Kurdish Team - Kurdistan                Colombia Team - Colombia                Andhra Pradesh Team - India                Catalan Team                Tunisia Team                Senegal Team                Egypt Team                Sudan Team                Costa Rica Team                Saudi Arabia Team                Lebanon Team                Paraguay Team                United Kingdom Team                Panama Team                Ecuador Team                Cameroon Team                Zimbabwe Team                Venezuela Team                Philippine Team                Georgia Team                Bangalore Team            Other Forums & Teams        Ubuntu Testimonials & Experiences        Ubuntu Weekly Newsletter        Development & Programming            Packaging and Compiling Programs            Development CD/DVD Image Testing            Development (Hardy Heron)            Ubuntu Idea Pool            Ubuntu Dev Link Forum            Programming Talk            Repositories & Backports                Ubuntu Backports                    Bug Reports / Support            Ubuntu Forum Archives                Development (Feisty Fawn) - (CLOSED)                Ubuntu Users Mailing List (CLOSED)                Edgy Eft (CLOSED)                Dapper Drake (CLOSED)                Development (Gutsy Gibbon) - CLOSED                    Gutsy Gibbon Idea Pool - CLOSED                    Dev Link Forum - CLOSED                Hoary Hedgehog (CLOSED)                Breezy Badger (CLOSED)                Development Mailing List (CLOSED)        Virtualization    Forum Community Discussions        Community Cafe            Recurring Discussions        Community Cafe Games        Community Market        Forum Feedback & Help            Request a LoCo forum            Request a 3rd party forum            Resolution Center        Forum Council Agenda            January 2007            Feburary 2007            March 2007            April 2007            May 2007            June 2007            July 2007            August 2007            September 2007            October 2007            November 2007            December 2007        Other OS Talk            Distributions                Debian                Fedora/RedHat                Slackware                OpenSuse                Mac OSX                Gentoo                Windows Discussions                BSD Discussions        The Fridge Discussions        UF Teams            Beginner Team            Hardware Team            Unanswered Posts Team            Forum Ambassadors\par
\par
\par
All times are GMT -4. The time now is 10:11 AM.\par
\par
Ubuntu Forums - Archive - Top\par
\par
vBulletin 3.6.8 \'a92000 - 2007, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical \'a9 Canonical Ltd. Tango Icons \'a9 Tango Desktop Project.\par
 \par
 \par
 \par
 \par
}