Steinar, Do you happen to use the madwifi driver? A while ago I had the same problem you're describing. The way I solved it was to do:
iwpriv ath0 mode 3 before trying to connect. Carlos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]