Wifi connnection timeout
Hi,
I have a mid 2011 21.5" iMac. I cannot connect to any wifi source. I just moved, at my old apartment I used to run an ethernet cable from my router directly to the iMac. Now I can only use wifi and the iMac tries to connect and says "connection timed out". I have tried to reset everything including the router, iMac etc. I know it's not the router because my wife's Macbook has no trouble connecting to the router. Furthermore, I tried to share my iPhone 5's connection with the iMac through the hotspot and neither the wifi nor bluetooth options would work. Wifi says the same thing, "connection timed out". I have whatever the latest version is of Mountain Lion.
Please help!
Thanks!
iMac, OS X Mountain Lion (10.8.3), linksys router