Broadcom 4318 Wireless Cards
This HOWTO is for people who have a Broadcom 4318 Wireless card in their laptop. This card can sometimes be a bit difficult to setup, so I have provided a working method (for me, anyway).
To check if you have a Broadcom 4318 Card, open up the terminal (click the Applications button, then Accessories, and then Terminal) and run (just copy and paste the code from the code boxes throughout the HOWTO [in the terminal, this is done by right click anywhere and clicking paste, ctrl+v doesn't work])
Code:
lspci | grep Broadcom\ Corporation
Code:
0000:05:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Please note that this was really designed to be run on a very fresh install, right after Ubuntu has come up for the first time. It is mostly likely to work then. If you have tried other attempts at making this card work, I have no promises for you, but it only takes two minutes, so it is worth a shot (most people can get it to work, even on a not-so-fresh install).
The point of this HOWTO is to make it as simple as possible (not to educate people - if you want to know how this works, open the script and read it) for people who have just installed Ubuntu for the first time, so I wrote a script and have provided a set of drivers that worked for me. Not all drivers will work with ndiswrapper, so please use the ones I have provided.
The script requires no internet connection after it is downloaded...all required files are on the CD you installed Ubuntu with, and the package manager should recognize this.
If you post for help, please post the log file, which can be found on your Desktop after you run the script.
Process for Dapper and Edgy
- Put the Ubuntu CD that you installed Ubuntu with in the CD drive.
- Download this to the desktop (the Firefox default, so if you haven't changed it, that's where it went/will go).
- Open a terminal (click the Applications button, then Accessories, and then Terminal)
- Change the current directory to the desktop (copy and paste the following commands exactly into your terminal by right clicking anywhere on the terminal and clicking paste)Code:cd ~/Desktop
- Extract the compressed fileCode:tar -xf bcm4318*.tar.gz
- Run the script, which will install ndiswrapper on your system, and set it up.Code:sudo ./ndiswrapper_setup
- Use the internet (you will have to open the System menu at the top of the screen, go to Administration, and then click Networking. Configure the interface eth1 or wlan0, and connect to your wifi network)
- If you are an Acer user, you will need to use the acerhk driver, which can be found here for set up information and here for the actual driver.
- If it doesn't work, reboot.
- If that doesn't work, read the troubleshooting section below.
- If you still can't make it work, try reading this post by The Raven, which is so long I can't even fit it in here without doubling the length of the post
Troubleshooting
- If the light doesn't come on, try:Code:sudo apt-get install ndiswrapper-utils-1.8 ndiswrapper-utils-1.1 ndiswrapper-utils ndiswrapper-common
- If you are using 64bit Edgy Eft and the 2.6.17-10-generic, make sure you are NOT using the 2.6.17-10-generic kernel as it doesn't work (after running the script, you will be warned if there is a problem). If you need help finding a different kernel, check here.
- If you have issues with Network Manager, make sure that all lines in /etc/network/interfaces that have anything except the word (interface) LO in them are commented out (have a # in front of them) or do not exist (the installation script should have removed them)
- If you are having issues, try running, in this order, one at a time:Code:sudo rmmod bcm43xx
sudo rmmod ndiswrapper
sudo modprobe ndiswrapper
sudo ifdown eth1
sudo ifup eth1
sudo dhclient - If you get the error "The NetworkManager applet could not find some required resources. It cannot contine.", run:Code:sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/
- If you are using Edgy, try enabling the Universe and Multiverse, then run the script again.
- If, when you turn your computer on, Network Manager asks for your password, and then sits there and twirls, but doesn't connect, and eventually times out, and THEN will connect, try removing wifi radar (or another wireless manager if you have one)Code:sudo apt-get remove wifi-radarCode:sudo apt-get remove NAME-OF-YOUR-WIFI-MANAGER
- Try reading this post, which is incredibly long and very helpful
- If you want to know how to remove it, either (a) read the script and undo what it does, or (b) post a message here and I will write an undo script for you, or (c) reinstall Dapper.
- Make sure that the card is enabled in the BIOS.
- If you've got a HP dv8000 series that doesn't work quite right, or even if you don't and have run out of ideas, try http://www.ubuntuforums.org/showpost...&postcount=432
Mirrors
There are all obsolete (but I'll leave them here in case anyone needs them for any reason):
32-bit: http://www.box.net/public/hp6kr9np9o
64-bit: http://www.box.net/public/sxt8yivhef
32-bit with network manager: http://www.box.net/public/xsu1aa260d
64-bit with network manager: http://www.box.net/public/n9xc7jjxxj
32-bit drivers for Edgy: http://www.box.net/public/9ru8h47pdd
64-bit drivers for Edgy: http://www.box.net/public/x1qqgyu1yb
32-bit setup for Edgy: http://www.box.net/public/drxcbfej8l
64-bit setup for Edgy: http://www.box.net/public/oy219x8mlz
Posting for help
If you post for help here, please attach the log file, which will be on your Desktop after you run the script, to your post. Make sure you wrap your log file in
Code:
log-file-goes-here
Updates
EDIT: This was updated on June 20, 2006 to make the size smaller, and include ndiswrapper so that an internet connection is not required. Also, some steps were removed from the installation process.
EDIT: This was updated on June 21, 2006 to add a 64-bit version (thanks redmoth!) and to make a few minor changes.
EDIT: This was updated on June 22, 2006 so that now it supports network manager AND WPA encryption (use WPA supplicant) -thanks magomago!
EDIT: This was updated on June 28, 2006 to add some troubles and answers from the thread, up to page 11. I'm not promising I got everything, but most of it.
EDIT: This was updated on July 7, 2006 to include a GTK enabled C++ application that will automatically install the drivers WITHOUT use of the terminal. If you run the program from a terminal, additional output will be visible. This requires internet access, but looks really pretty :P
EDIT 2: That didn't work out, so I removed it. If you still wanna give it a go (you need gtkmm installed), download the bcm4318.gtk.tar.gz attachment.
EDIT: This was updated on August 7, 2006 to include a new and improved i386 (NOT AMD64) script that will actually work on the LiveCD now, I believe. Thanks iandefor!
EDIT: This was updated September 2, 2006 with some awesome new features. The network-manager-gnome setup should now actually work correctly on a fresh install. The script that includes network-manager-gnome will automagically connect to the internet using your nearest wifi hotspot or an ethernet connection if you're plugged in. The 64bit drivers are also updated and should work right now (I can't say if they do, as I don't have a 64bit Ubuntu to test them on)
EDIT: This was updated September 3, 2006. All versions of the program are now distributed under the GPL.
EDIT: This was updated September 21, 2006 to include a link to another howto for HP dv8000 series laptops.
EDIT: This was updated September 30, 2006 to include directions for Edgy.
EDIT: This was updated October 4, 2006 to include scripts for Edgy.
EDIT: This was updated October 28, 2006 so that there is only one script, which takes care of all arches and versions.
Comments and suggestions are appreciated.
Last edited by compwiz18 : 4 Days Ago at 09:18 AM. Reason: minor addition
0 comentarios:
Publicar un comentario