Ubuntu
NDISwrapper
NDISwrapper is a free software driver wrapper that enables the use of Microsoft Windows drivers for wireless network devices.
1 Download the windows driver wich contains the .inf file 2 Install with ndiswrapper -i drivername.inf 3 check the device id with lsusb or lspci -n 4 Now execute with ndiswrapper -a deviceid driver
ndiswrapper -a 0bda:8197 net8187b
check the installed drivers
ndiswrapper -l
Write the configuration for modprobe
ndiswrapper -m
And use the module
modprobe ndiswrapper