Ndiswrapper Wireless Setup for Compaq Presario X1005EA
CVS version of ndiswrapper
Chipset : Intel Pro Wireless - Centrino 802.11b


1 -
References
Windows drivers
http://ndiswrapper.sourceforge.net/supported_chipsets.html
Ndiswrapper website
http://sourceforge.net/projects/ndiswrapper

2 -
Installation of wireless-tools
emerge wireless-tools

3 -
Ensuring card is correctly detected
lspci

4 -
Download CVS copy of ndiswrapper
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ndiswrapper login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ndiswrapper co ndiswrapper
(just press enter when it asks you for a password)

5 -
Compilation and Installation
cd ndiswrapper
make && make install

6 -
Download Windows Drivers of the corresponding chipset and Installation
Download - see References
mkdir /lib/windrivers/
Copy all dll, inf, sys files in the previously created directory

7 -
Setting up the chipset
Load the ndiswrapper module
modprobe ndiswrapper
Configure the module
/usr/sbin/ndiswrapper -i /lib/windrivers/w70n51.inf
Load the good driver in the module
/sbin/loadndisdriver w70n51

8 -
Configure startup
cp /etc/init.d/net.eth0 /etc/init.d/net.wlan0
Modify /etc/conf.d/net according to you network configuration
echo "ndiswrapper" >> /etc/modules.autoload.d/kernel-2.6
rc-update add net.wlan0 default

9 -
Informations
This version of ndiswrapper works differently than the official way. At the first use, it writes a config file to the /etc/ndiswrapper directory according to the driver you have. This makes startup configuration easier.