Hello furrymaho,
The problem here may well be that its finding both! What would be great is an out put from the command:
This will indicate what's been set and what hasn't. You may want to try running the command:
Code:
dhclient <interface name goes here>
where the interface name may be ath0 or wlan0, depending on your iwconfig output. This will obtain an IP lease from the specified AP.
Hope this helps but if not please post back.
Regards
Chris "Not a linux guru" B.