In general terms we need to do the following in order to enable wireless using ndiswrapper:
- Disable bcm43xx
- Unistall ndiswrapper (if it is necessary, sometimes the version that came with the Kubuntu does not work correctly, that is the case for Kubuntu Edgy)
- Install ndiswrapper
- Install the wireless card driver for windows on ndiswrapper
- Try it!!
Kubuntu comes with the open source bcm43xx driver, see https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx If this driver doesn't work for you, then you should disable it, because it will conflict with ndiswrapper.
- First we will blacklist the wrong drivers with these two commands :
Add blacklist bcm43xx
- Unload the module with:
Uninstalling ndiswrapper
- Verify ndiswrapper module is installed
- Make sure you unload your current ndiswrapper module with
#modprobe -r ndiswrapper
- You need to remove the user space tools
ndiswrapper(in /usr/sbin) andloadndisdriver(in /sbin), and kernel modulendiswrapper(in /lib/modules/`uname -r`/misc). If these files are not in these locations, then they may have been installed elsewhere (e.g., user spaces tools may be installed in /usr/bin). You can usewhichorlocatecommand to now where the user space tools are located (e.g.,which ndiswrappergives the location ofndiswrappertool). Once these are located, remove them; e.g.,rm ndiswrapper. Note that the kernel module file is called ndiswrapper.o in 2.4 kernels and ndiswrapper.ko in 2.6 kernels.
- Alternately, you can use
locateto find where ndiswrapper files are stored. First, update the database used bylocatewithupdatedb. This takes sometime and when it is done, runlocate ndiswrapperand remove all the files listed and then runlocate loadndisdriverand remove all the files listed.
- If
locatedoesn’t find the module, you can usefindinstead:find /lib/modules/$(uname -r) -name “ndiswrapper*” -printwill print the location of the modules. You should then remove all the files printed.
- ndiswrapper installs Windows drivers under /etc/ndiswrapper directory. If you want to uninstall just a specific Windows driver, first list the drivers installed with
ndiswrapper -l. If you then want to remove, say, driver “bcmwl5”, then remove it with ndiswrapper itself withndiswrapper -r bcmwl5. If that doesn’t work, just remove the directory /etc/ndiswrapper/bcmcwl5 (e.g., with/bin/rm -rf /etc/ndiswrapper/bcmwl5). If you want to uninstall all Windows drivers, then remove /etc/ndiswrapper (e.g,. with/bin/rm -rf /etc/ndiswrapper).
ndiswrapper -m(creates and) installs an alias in /etc/modprobe.d/ndiswrapper. If you want to remove this alias (since you might not want ndiswrapper module to be loaded when using wlan0 network interface), remove it:rm -f /etc/modprobe.d/ndiswrapper
Install ndiswrapper
- Download ndiswrapper from http://ndiswrapper.sourceforge.net/joomla/
- The most recent version of ndiswrapper. For Kubuntu Feisty on a Dell Inspiron 1501 I used ndiswraper 1.50 and for Kubuntu Edgy on a Dell Latitude I used ndiswrapper 1.38
- Extract the content of the zip file in a temp directory
- Move to the ndiswrapper directory and execute
Install the wireless card driver for windows on ndiswrapper
- Download the windows wireless card driver for Dell Inspiron 1501
- Create a temp directory and extract the R140747 driver
#cp R140747.EXE R140747
#unzip -a R140747.EXE
- Install the windows driver
#ndiswrapper -e bcmwl5
#ndiswrapper -i bcmwl5.inf
#ndiswrapper -l
#ndiswrapper -m
#modprobe ndiswrapper
- To make this tool launch at startup add to /etc/modules the word ndiswrapper at the of file
- Reboot the system
- In order to test if the wi-fi is installed correctly type:
- Look in the Network Manager icon and check if it detects any wireless signal.
- In the network manager, enter your ESSID and WEP key with right click on the icon from the notification area.
No hay comentarios:
Publicar un comentario