added command at interface config
It took me a long time to figure out how to get my Broadcom 4318 card working under Ubuntu, KUbuntu or XUbuntu on Acer notebooks (mine is Acer Aspire 5000 with turion 64 CPU). Now it seems to simple so I decided to let everyone know it.
First of all you have to make sure that you have got this kind of WiFi card. Give out in terminal the
command. You should see something like that:
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
If you do see this line or something similar that says BCM4318 this tutorial is for you. You also might want to give out this command:
it should give out something like that:
00:0b.0 0280: 14e4:4318 (rev 02)
It can be important when you are visiting this site (this is a very useful source of info):
Now what you need to do is to install Ndiswrapper and ndiswrapper utils:
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.8
(I used it under XUbuntu 32bits even tho I have got a 64bit CPU)
or you can cimpile Ndiswrapper that worked perfectly under Ubuntu 64bit. Jut follow the instructions:
The next step is a little bit in connection with kernel modules. Do not get scared. You do not have to compile anything if you do not want to. All you need to do is to remove the bcm43xx modul by giving out the
command in terminal. You can make sure that it has been removed with this command:
If it doesn't show up you did everything fine.
The next step it to blacklist it so that it will not be loaded when the comp. restarts. All you need to do it to add this line to the /etc/modprobe.d/blacklist
By this you disabled this module but you did not remove it so any time you will need it in the future you will be able to use it.
Now we have got ndiswrapper installed and the previous driver removed that did not support that sort of wifi card.
By the way... For those who do not know what is ndiswrapper: ndiswrapper enables you to load you windows driver for you wifi car under linux.
The next step is to obtain the proper driver. If you have got a acer notebook (mine is Acer Aspire 5000) go to this site:
And select the proper notebook. Mine choice was the aspire 3000-5000.
If you need a 64bit driver go for the 3020-5020 64 bit driver there. That is what I used under Ubuntu 64bit.
if you downloaded the zip file unzip it to a random directory and then navigate to this dir in terminal. Give out these commands:
sudo ndiswrapper -i bcmwl5.inf
its output should be:
bcmwl5 driver installed, hardware present
You have just now installed the driver but it is not loaded yet. You will have to load it now.
if no errors:
sudo modprobe ndiswrapper
you loaded ndiswrapper kernel module. You can chk out the system log files for errors. There should not be any if there is try another driver or if you are sure that you used the proper one compile indiswrapper for yourself. It is fairly easy.
sudo dmesg | grep ndiswrapper
[17190465.820000] ndiswrapper version 1.22 loaded (preempt=no,smp=yes)
[17190465.828000] ndiswrapper: driver bcmwl5 (Broadcom,12/22/2004, 22.214.171.124) loaded
[17190465.840000] ndiswrapper: using irq 217
[17190466.560000] ndiswrapper: changing interface name from 'wlan0' to 'eth1'
now you will have to configure your interface so that yuo can use it:
to chk out which one is your wifi device:
eth1 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462 GHz Access Point: 00:12:17:3B:FF:4A
Bit Rate:36 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Link Quality:100/100 Signal level:-74 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So for me I need to operate with eth1. You might have something like ath0 maybe wifi0 or whatever.
sudo iwlist eth1 scan
eth1 Scan completed :
Cell 01 - Address: 00:12:17:3B:FF:4A
Frequency:2.462 GHz (Channel 11)
Quality:68/100 Signal level:-56 dBm Noise level:-256 dBm
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
sudo iwconfig eth1 mode Managed
sudo iwconfig eth1 essid youressid
sudo iwconfig eth1 key restricted hexnum or something else what is you pass
sudo ifconfig erh1 up
sudo dhclient eth1
Ok... that should be it:
if it works yuhu... everything is ok.