I got an ad-hoc connection with MobileHotspot working on my netbook running Ubuntu 9.10, both with the in-built Atheros wifi and a cheap Ralink usb wifi stick, but I did have to enter the hex key rather than the passphrase (you can see the hex key your n900 using by typing "iwconfig" on the terminal as root).