Phew!!! That was good. I almost lost hope of connecting wirelessly in Ubuntu 5.10 and was begining to curse my choice of NetGear WG311v3 PCI Wireless adapter. Now before I forget, here are the steps.
1. Download and build the ndiswrapper (http://ndiswrapper.sourceforge.net).
2. Copy the WG311v3.INF & WG311v3XP.sys from the NetGear install CD
3. execute ndiswrapper -i WG311v3.INF.
4. execute ndiswrapper -l. This should tell you that driver is installed and the hardware is present. If not, go and search for the drivers that are known to work for you card in linux (http://ndiswrapper.sourceforge.net/mediawiki/index.php/List).
5. execute modprobe ndiswrapper to install the driver.
6. iwconfig: set your essid
7. dhclient: send a dhcp request to the wireless router.
That’s it for now. More to come later.