Looking at the online forums there seems to be alot of confusion, because the device ID displayed is not 8187 but 8198. One method is to add this new ID in the RTL driver and recompile it.
However there is an easier way, and to get it working, you will need the backports of legacy drivers installed. In Ubuntu this will install it:
# apt-get install linux-backports-modules-intrepidWhen this is installed, you just need to invoke the Realtek driver:
# modprobe rtl8187NetworkManager should then detect the wifi adaptor and proceed to connect to the network. Make sure that you add rtl8187 in /etc/modules for the driver to load up on the next reboot.