![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Dec 2004
Beans: 244
|
HOW TO: Configure wireless cards with Broadcom chipsets
6 July 2006 Update
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. http://www.beginningubuntu.com/dappe...t_wifi_working http://ubuntuforums.org/showthread.php?t=201902 Good luck. I'm very happy that this how-to has helped so many people in the past year or so. 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. 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! 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. Code:
sudo modprobe -r bcmwl5 sudo rmmod ndiswrapper sudo apt-get remove ndiswrapper-utils sudo rm -r /etc/ndiswrapper/ sudo rm -r /etc/modprobe.d/ndiswrapper 1. Copy the bcmwl5.inf and bcmwl5.sys files to your desktop 2. Follow the advice given here under How to add extra repositories 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. Code:
sudo apt-get install ndiswrapper-utils sudo ndiswrapper -i ~/Desktop/bcmwl5.inf sudo ndiswrapper -m for conffile in /etc/ndiswrapper/bcmwl5/*.conf; do sudo cat $conffile | sed -e 's/RadioState|1/RadioState|0/' > $conffile done Code:
sudo modprobe ndiswrapper 6. Select your wireless network card (probably wlan0) and hit the properties button. 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. 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: 9. Click OK. The screen should close fairly quickly; if it hangs, you probably aren't connected properly. 10. Back in the Network Settings screen, select your wireless device as the default gateway device. 11. Click OK. Again, the screen should close fairly quickly. 12. Enjoy wireless nirvana. If everything works, you can delete the file from your desktop. 13. You might notice that the signal strength applet doesn't work properly. This is a known bug with these cards. 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. (Note: This how-to has been updated to reflect all comments from the thread up to 19 April) Last edited by jonny; July 5th, 2006 at 07:59 PM.. Reason: Add warning about using a root terminal |
|
|
|
|
|
#2 | |
|
SADFL's Commando
![]() |
Re: HOW TO: Configure wireless cards with Broadcom chipsets
great Howto. I need this next weekend. What a lifesaver...
__________________
Quote:
|
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 7
|
Re: HOW TO: Configure wireless cards with Broadcom chipsets
what version of Ndiswrapper is included in the ubuntu 5.04? should be 1.1?
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() |
Re: HOW TO: Configure wireless cards with Broadcom chipsets
You don't have to edit all the .conf files by hand. Replace steps 'sudo gedit' and Step 4 with the following...
Code:
$ sed -e 's/RadioState|1/RadioState|0/' /etc/ndiswrapper/bcmwl5/*.conf |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Beans: 120
|
Re: HOW TO: Configure wireless cards with Broadcom chipsets
it worked, thank you
__________________
See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky ******* too. |
|
|
|
|
|
#6 | |
|
Way Too Much Ubuntu
![]() Join Date: Dec 2004
Beans: 244
|
Re: HOW TO: Configure wireless cards with Broadcom chipsets
Quote:
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. |
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 1
|
Re: HOW TO: Configure wireless cards with Broadcom chipsets
Hi,
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? Thanks |
|
|
|
|
|
#8 |
|
Way Too Much Ubuntu
![]() Join Date: Dec 2004
Beans: 244
|
Re: HOW TO: Configure wireless cards with Broadcom chipsets
I'll have to test this tomorrow. In the meantime, you need to replace the sed command with these steps:
- sudo gedit - 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 - continue with step 4 Sorry for the confusion. |
|
|
|
|
|
#9 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() Join Date: Apr 2005
Location: The Realm of Choice
Beans: 937
|
Re: HOW TO: Configure wireless cards with Broadcom chipsets
Thank you, thank you, thank you. I knew all the steps but the "sed" step.
I'm going to boot into Ubuntu now and try it. Ant |
|
|
|
|
|
#10 | |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() Join Date: Apr 2005
Location: The Realm of Choice
Beans: 937
|
It works!!
Quote:
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.... Ant |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|