1.What is ndiswrapper ???
    Ndiswrapper is a tool which uses windows drivers to install wireless in linux.
So your first step is to install ndiswrapper tool.
2.How to install ndiswrapper???
    To install ndiswrapper we shall download this kernel first(Since this kernel is very stable and ndiswrapper tool works perfectly.Please,uninstall all the latest kernels you might be using since the suggested kernel may not be installed because of the latest kernels).
Intel-pro 2200bg wireless card users Follow this site
Others Proceed....
Type this command in your terminal
       rpm -qa | grep kernel
The above command give the list of rpms installed containg the word 'kernel' in them.
If the output shows that both kernel , and kernel-devel are installed , then you can install ndiswrapper.Otherwise you have to install kernel-devel file specific to your kernel.
For ex:
If your kernel rpm is kernel-2.6.18-1.2798 then you have to install kernel-devel-2.6.18-1.2798 rpm.Its always better to use 16k stack kernels.Search for them in google with name kernel-version-number.stk16.rpm and kernel-devel-version-number.stk16.rpm
Download Ndiswrapper package
Now reboot into your new kernel.
untar the ndiswrapper package downloaded by using the command
       tar -xvzf ndiswrapper......
Now you will find a directory named ndiswrapper...
Now move into the ndiswrapper directory
       cd ndiswrapper...
After this,run the following commands
       make distclean
       make
       make install
Now ndiswrapper tool is installed.
After this you have to install drivers for your card using ndiswrapper tool.
Drivers are in the form of files.Normally they are
       drivername.inf and drivername.sys
You need both the files.If you have a windows partion go to program files of wireless
and search for .inf and .sys files.If you cannot find them,go to this site and check your
driversClick here.
I am enclosing some drivers for the cards I know.You can find them here
After finding the drivers place both the files in the same directory(I suggest you to copy both the files into your root directory)
And then move to the directory where you placed the drivers.Run the following commands.
       ndiswrapper -i driver.inf
       ndiswrapper -l
The output of the above command is like this.
       Installed drivers:
             drivername                   driver installed, hardware present
If you find output in the above format,you have the correct drivers with you.Otherwise choose another driver.
Next do the following
       depmod -a
       modprobe ndiswrapper
Your installation is almost finished.Now check whether the driver is installed or not.You can check it through this command.
       ifconfig -a
You should find some format like this
     wlan0   Link encap:Ethernet HWaddr 00:14:A5:77:74:9A
             inet addr:172.17.8.9 Bcast:172.17.9.255 Mask:255.255.254.0
             inet6 addr: fe80::214:a5ff:fe77:749a/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
             RX packets:47901 errors:0 dropped:0 overruns:0 frame:0
             TX packets:19204 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:6030569 (5.7 MiB) TX bytes:20763114 (19.8 MiB)
             Interrupt:22 Memory:c0204000-c0206000
If you find wlan0 ,you have installed the driver succesfully.
Now open the following file
       vim /etc/modprobe.conf
Add the following line
       alias wlan0 ndiswrapper
Save it and run the command
       ndiswrapper -m
Now run the command "neat" or "system-config-network".The output will be as follows.

click the "new" option and then choose "wireless connection" and follow as shown in the figures.



If your network is encrypted and you have a hexadecimal key specify the key with 0x infront of the key.



If wlan0 is active you have installed successfully.Some times the wireless router may not give you IP.It may give an error message like this "Determining IP information .....failed".Then dont worry.If you know your your IP ,subnet mask ,Default gateway (You can get this information from windows),then press the edit option and manually specify the IP information(ie select Statically set ip information).
Also sometimes you get an error like this "Determining IP information for wlan0... failed; no link present. Check cable?".This means that you have not got an access point for your network.Then manually specify an access piont using iwconfig.(man iwconfig)
       iwconfig wlan0 scan             (for scanning the available networks)
Then choose an access point from the scanned list.
       iwconfig wlan0 ap accesspoint       (for eg iwconfig wlan0 ap 00:4e:ab:67:90)
or this sometimes can be corrected by rebooting the system.
Wish you all the best.
Please don't forget to comment.I have not included all the drivers.If I miss any drivers please post them in this blog.(Please mention the site where I can download that drivers).
Note:You need not activate the network everytime.If you want to activate the network edit the properties of wlan0 using Edit option and tick the "Activate device when parent device starts" option.