Here's how you would probably want to do ndiswrapper in Ubuntu. Not sure about the 4KSTACKS business, so let's try it without messing around with kernel compilation first. Each "$" indicates the beginning of a command in the terminal.
1. Download all the stuff necessary to compile kernel modules:
$ sudo module-assistant prepare
2. Now download, compile and install the ndiswrapper kernel module:
$ sudo module-assistant auto-install ndiswrapper
3. Make sure that the ndiswrapper module loads by itself without problems.
(clear the kernel messages) $ sudo dmesg -c
(load the module) $ sudo modprobe ndiswrapper
(read the new kernel messages) $ sudo dmesg
(check that the module is actually loaded)$ lsmod | grep ndiswrapper
(remove the module) $ sudo rmmod ndiswrapper
3. Now, make a temporary directory in your home directory to download stuff into and change to it:
2. Download the windows driver in the link from the other post above:
3. Grab the .inf file with ndiswrapper and confirm that it's installed:
$ sudo ndiswrapper -i Wireless_Atheros_XP32_XP64_WHQL_\(18.104.22.168_logo\)/XP32_XP64_WHQL_5-3-0-45_\(Negative-Pole\)70510/net5211.inf
$ /usr/sbin/ndiswrapper -l
4. Now probe the module with a driver behind it and check the kernel messages and that the module was loaded.
$ sudo dmesg -c
$ sudo modprobe ndiswrapper
$ sudo dmesg
$ lsmod | grep ndiswrapper
If any of the above steps fails, post the output here. In particular, if you have problems related to 4KSTACKS, I'll direct you in how to recompile the kernel.