TFrog
October 28th, 2006, 10:09 AM
How To Get Broadcom 4318 working with Edgy Eft Release Candidate and Ndiswrapper
1.)Remove all forms and versions of ndiswrapper. Best if you can backup your important information and start with a clean install of Edgy Eft Release Candidate.
2.)Blacklist the already installed Broadcom driver:
Code: echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
Also:
Code: sudo rmmod bcm43xx
3.)DO NOT DO:
Code: sudo apt-get install ndiswrapper-utils
THE PACKAGES IN THE REPOSITORIES ARE BROKEN AND IT APPEARS THE DEVELOPERS ARE NOT ATTEMPTING TO FIX THEM.
4.)DOWNLOAD NDISWRAPPER SOURCE CODE FROM HERE:
http://sourceforge.net/project/showfiles.php?group_id=93482
Personally, I used 1.27 stable if this won't compile for you with the following instructions download a different version.
5.)Compile ndiswrapper. (The first step is where you'll run into an error with Edgy Eft.)
Code: cd /home/yourhomefolder/whereyoudownloadedandextractedndiswrapper
Code: sudo make uninstall (must have root access or it won't delete files or folders properly)
THIS STEP IS REQUIRED!!!!!!!!!!! This is where you'll get an error and it tells you to repeat the step as many times as necessary to get NO errors. This will FAIL unless you:
Code: sudo konqueror (or your file manager as root)
Then browse your way to the folder listed below and manually DELETE it:
/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper
This is the way Ubuntu and all of it's variants structure the file folder tree and ndiswrapper will not delete the folder when issuing the “make uninstall” command. It seems all versions of ndiswrapper including those in the repositories have an issue with this folder and it's contents which has only one file named ndiswrapper.ko appropriately. The file is deleted but you have to manually delete the file folder. (Note to developers: This may be why we are having such a mess with ndiswrapper.)
6.)Now run:
Code: sudo make
Code: sudo make install
If all goes well ndiswrapper will compile and install ndiswrapper.ko into /lib/modules/2.6.17-10-generic/misc/ with no errors.
7.)NOW run:
Code: sudo ndiswrapper -i /home/frog/windowsdriverfolder/bcmwl5.inf
8.)Verify installation:
Code: ndiswrapper -l
This will return:
Code: bcmwl5 driver installed, hardware (14E4:4324(this numbering may vary) present (alternate driver: bcm43xx)
This is OK.
9.)Now do the following step by step:
A.) sudo depmod -a
B.) sudo modprobe ndiswrapper
C.) sudo ndiswrapper -m
D.) sudo kate /etc/modules (use your chosen text editor here with root access of course.)
E.) add "ndiswrapper" at the end of file followed by a carriage return.
F.) After this it varies depending on Ubuntu variant, but for Kubuntu do:
Code: sudo apt-get install knetworkmanager
G.) If necessary reboot then open knetworkmanager and connect to your network. It may or may not ask for WPA/WEP security. Once you submit this then kdewalletmanager might ask you to select a password. Do so and then you should be surfing.
AS WITH ALL HOW TO'S YOUR MILEAGE MAY VARY!!!!!!!!!!!!!!!!
1.)Remove all forms and versions of ndiswrapper. Best if you can backup your important information and start with a clean install of Edgy Eft Release Candidate.
2.)Blacklist the already installed Broadcom driver:
Code: echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
Also:
Code: sudo rmmod bcm43xx
3.)DO NOT DO:
Code: sudo apt-get install ndiswrapper-utils
THE PACKAGES IN THE REPOSITORIES ARE BROKEN AND IT APPEARS THE DEVELOPERS ARE NOT ATTEMPTING TO FIX THEM.
4.)DOWNLOAD NDISWRAPPER SOURCE CODE FROM HERE:
http://sourceforge.net/project/showfiles.php?group_id=93482
Personally, I used 1.27 stable if this won't compile for you with the following instructions download a different version.
5.)Compile ndiswrapper. (The first step is where you'll run into an error with Edgy Eft.)
Code: cd /home/yourhomefolder/whereyoudownloadedandextractedndiswrapper
Code: sudo make uninstall (must have root access or it won't delete files or folders properly)
THIS STEP IS REQUIRED!!!!!!!!!!! This is where you'll get an error and it tells you to repeat the step as many times as necessary to get NO errors. This will FAIL unless you:
Code: sudo konqueror (or your file manager as root)
Then browse your way to the folder listed below and manually DELETE it:
/lib/modules/2.6.17-10-generic/kernel/drivers/net/ndiswrapper
This is the way Ubuntu and all of it's variants structure the file folder tree and ndiswrapper will not delete the folder when issuing the “make uninstall” command. It seems all versions of ndiswrapper including those in the repositories have an issue with this folder and it's contents which has only one file named ndiswrapper.ko appropriately. The file is deleted but you have to manually delete the file folder. (Note to developers: This may be why we are having such a mess with ndiswrapper.)
6.)Now run:
Code: sudo make
Code: sudo make install
If all goes well ndiswrapper will compile and install ndiswrapper.ko into /lib/modules/2.6.17-10-generic/misc/ with no errors.
7.)NOW run:
Code: sudo ndiswrapper -i /home/frog/windowsdriverfolder/bcmwl5.inf
8.)Verify installation:
Code: ndiswrapper -l
This will return:
Code: bcmwl5 driver installed, hardware (14E4:4324(this numbering may vary) present (alternate driver: bcm43xx)
This is OK.
9.)Now do the following step by step:
A.) sudo depmod -a
B.) sudo modprobe ndiswrapper
C.) sudo ndiswrapper -m
D.) sudo kate /etc/modules (use your chosen text editor here with root access of course.)
E.) add "ndiswrapper" at the end of file followed by a carriage return.
F.) After this it varies depending on Ubuntu variant, but for Kubuntu do:
Code: sudo apt-get install knetworkmanager
G.) If necessary reboot then open knetworkmanager and connect to your network. It may or may not ask for WPA/WEP security. Once you submit this then kdewalletmanager might ask you to select a password. Do so and then you should be surfing.
AS WITH ALL HOW TO'S YOUR MILEAGE MAY VARY!!!!!!!!!!!!!!!!