![]() |
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
![]() |
HOWTO: Broadcom 4306 With Ndiswrapper 54 Mbps
If you used my guide I would like to hear from you to know how it went and if you're having any problems. I just updated it a little bit and I want to know if everything still works. Please let me know.
I just worked on the guide for a little bit. Changed a couple things to make it a little less confusing. My website that I was using to host the drivers and pictures got shut down so now I am hosting my drivers on rapidshare. Please note that if you are getting errors there is 5 problems fixes at the end of the guide. This is the easiest way to get your Broadcom 4306 wireless card working in the shortest amount of time. I wouldn't use the firmware cutter because it only allows you to run at 11 Mbps with it. With ndiswrapper you will get 54 Mbps if your router will allow it. This guide now works with every Ubuntu distro from Dapper to Intrepid! The Drivers listed below work for most broadcom 4306 wireless cards but not all of them. If you use the drivers below and your card doesn'tshow up under network then you should try using the driver that came with your card or go to the manufacturer's website. Get the 32 bit drivers from here or the website of the manufacturer of your wireless card. Get the 64 bit drivers from here. I've heard that you don't change the name .inf file to bcmwl5.inf just keep it the way it is. Do everything in the order as it is listed. run the following command to make sure you have a broadcom chipset wireless card. 1. Code:
lspci | grep Broadcom\ Corporation Code:
sudo rmmod bcm43xx 3. Code:
echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist Code:
sudo aptitude install build-essential Code:
uname -r 7. Code:
sudo aptitude install linux-headers-2.6.22-14-generic 8. Code:
sudo ln -s /usr/src/linux-2.6.22-14-generic /lib/modules/2.6.22-14-generic/build 9. Code:
wget http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.53.tar.gz 10. Code:
mkdir ~/ndiswrapper mv ndiswrapper-1.53.tar.gz ~/ndiswrapper 11. Code:
cd ~/ndiswrapper sudo tar -xvzf ndiswrapper-1.53.tar.gz cd ~/ndiswrapper/ndiswrapper-1.53 make distclean sudo make sudo make install Code:
sudo apt-get install ndiswrapper-utils-1.8 Code:
sudo apt-get install ndiswrapper-utils-1.9 13. Code:
sudo ndiswrapper -i ~/folder where driver is/bcmwl5.inf Code:
sudo ndiswrapper -i ~/folder where driver is/netbc564.inf 14. Code:
ndiswrapper -l 15. Code:
sudo ndiswrapper -m 16. Code:
echo 'ndiswrapper' | sudo tee -a /etc/modules Code:
sudo gedit /etc/init.d/wirelessfix.sh Quote:
Code:
cd /etc/init.d/ && sudo chmod 755 wirelessfix.sh Code:
sudo update-rc.d wirelessfix.sh defaults Code:
sudo iwconfig wlan0 Enable the Connection 18. Go to System -> Administration -> Networking 19. If you don't see any wlan0 connections in Networking then you should restart your computer. 20. Go to your eth0 connection and disable the connection. 21. Now go to your wlan0 connection and enable it. Network Manager If you need WPA or WEP encryption do the following: Note: If you are running Feisty or any version higher than Feisty you can skip steps 22 through 25. 22. Code:
sudo apt-get install network-manager-gnome Code:
sudo gedit /etc/network/interfaces 25. Code:
nm-applet SOLUIONS TO PROBLEMS Problem 1 If wlan0 isn't showing up under your network connections and you're getting invalid driver errors when you run ndiswrapper -l then go to post #746 on page 75. It helped a bunch of people so maybe it will help you. The following commands are from that post. Code:
sudo gedit /etc/udev/rules.d/70-persistent-net.rules # PCI device 0x14e4:0x4320 (bcm43xx) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:03:c9:70:7b:a9", NAME="wlan0" Thanks fireant for the fix for problem 1 Problem 2 Totoro found a fix for the eth1 problem. Thank You Totoro! add ndiswrapper to /etc/modules change eth1 -> wlan0 in the files below: Code:
sudo gedit /etc/modeprobe.d/ndiswrapper sudo gedit /etc/network/interfaces sudo gedit /etc/iftab Shaton found a fix for the FATAL: Error inserting ndiswrapper problem. Thank You Shaton! If you get an error saying FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Invalid argument then try this. Code:
sudo apt-get install ndiswrapper-utils-1.8 sudo rm /usr/sbin/ndiswrapper sudo ln -s /usr/sbin/ndiswrapper-1.8 /usr/sbin/ndiswrapper Problem 4 If you get a lot of error messages talking about the icon then run this command: Code:
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/ If you have to run modprobe ndiswrapper every time you reboot your computer run this command. Code:
echo 'ndiswrapper' | sudo tee -a /etc/modules I hope this helps a lot of people! Last edited by ubunturules; October 1st, 2009 at 05:45 PM.. |
|
|
|
|
|
|
#2 |
|
Way Too Much Ubuntu
![]() |
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
did this HOWTO help anyone?
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() |
Thanks SO much!!!! Now I can finally get rid of the 25ft cable snaking around my living room. (Wife will be very happy!)
![]() EDIT: Works fine except that network manager doesn't hold the key after reboot. Could this have anything to do with running a Gnome applet in a KDE enviroment?? Last edited by n.arciss.us; July 29th, 2006 at 08:45 PM.. |
|
|
|
|
|
#4 |
|
Way Too Much Ubuntu
![]() |
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
n.arciss.us : They are hoping to fix that problem in the next version of Network Manager. But to that is not a problem. That is what is supposed to happen.
|
|
|
|
|
|
#5 | |
|
5 Cups of Ubuntu
![]() |
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
Quote:
I kinda thought that might be the reasoning. If that's the case, then its fine with me ... I DO have wireless now! |
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2006
Beans: 2
|
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
So far it has helped yes. Please help me a bit more. im a bnoob. So, my main problem is that eth1 is always my wlan card,.. when it is available. Something i did made it invisible. now i only have eth0. So can you help me get it back? When I did have it.. it never worked.. i could activate it but nothing happened after that. Also, in you final lines you posted that to solve the eth1 problem to put the Ndiswrapper into etc/??? .. what do yo mean by that.. i don't follow.. this keeps me from editing the file to change eth1 to wlan0
thanks in advance Joeripple |
|
|
|
|
|
#7 |
|
Way Too Much Ubuntu
![]() |
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
for some reason a lot of people can't get wlan0 to show up under Networking. I don't know why. Make sure your hardware is present.
Code:
sudo ndiwrapper -l Code:
sudo gedit /etc/modules if anyone else has any idea on why wlan0 isn't showing up under networking please tell me because that seems to be happening to a lot of people. The only reason I can think of that, that would happen would be that you installed an invalid driver and the hardware isn't present. |
|
|
|
|
|
#8 | |
|
Way Too Much Ubuntu
![]() |
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
Quote:
__________________
-Sam |
|
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2006
Beans: 7
|
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
Hey everyone. So basically I had my broadcom working in Ubuntu with FWcutter initially, but it then randomly crapped out and I have no more wireless connection. I decided I would use ndiswrapper, and everything seems to go off without a hitch (I did exactly as the tutorial said). Ndiswrapper installs the driver, and states the driver and hardware are both present, however, the wireless light does not come on, and it appears that the hardware isn't even installed after modprobing. Any ideas on what could be wrong? I'm at the point where I'm seriously contemplating just going back to windows.. I really need this wireless to work for school. :/
|
|
|
|
|
|
#10 |
|
Gee! These Aren't Roasted!
![]() |
Re: Broadcom 4306 With Ndiswrapper 54 Mbps
my wireless isn't showing up as wlan0, it's showing up as eth1 and the light on the card is not on
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|