The easiest way is to find the Airport card (802.11b version) for your iMac on eBay. It will work flawlessly, hands down, and you'll save yourself some headaches in the long run.
I just took a look on eBay, this one has a Buy it Now price of $27.99
Airport 802.11b