Hi folks,
I am writing this message on an Ubuntu 12.04 system - on the VERY same iMac 27" 2011 hardware which reliably fails me to even get a valid WiFi connection running under a FRESHLY installed Mountain Lion 10.8.2!
Here are my findings so far:
I got this iMac from a colleague and the harddisk was formatted. The iMac was then booted (from the "rescue partition", I guess) until the option menu "Install new Mountain Lion" (or so, can't remember) appeared.
EVEN AT THAT POINT I could not connect to my WiFi Router, a FritzBox 7340 (not uncommon brand, at least here in Europe), so I went on via Ethernet cable and made a FRESH INSTALL of latest Mountain Lion 10.8.2.
After installing a few applications from Apple Store and also applying the latest updates (yes, there were still some updates pending, such as iTunes 11, RAW compatibility, ... nothing ground-breaking however) I tried the WiFi connection: still did not work! The "connection bar" had an exclamation mark â , but turned into a "full reception bar" later on (in fact, my new 27" is located in the very same room currently as the router, not too close to the router however, about 2.5 metres).
It turns out that the DHCP lease does not work, my machine always (self-)assings an address of 169.x.x.x ("invalid address").
My router settings at this point:
* 801.11 n+g
* Band: 2.4 GHz, manual channel selection (channel 4, with least noise from other networks)
* WPA2 (only, no WPA support), private password key
Off course I also tried "Automatic channel selection" in the router settings, re-started the router, dropped the WiFi connection in Mountain Lion, tried re-newing the DHCP lease, rebooted the iMac several times, to no avail!
BUT THE FOLLOWING WORKED!
* 801.11 n+a (or so, not sure, but the crucial point is...)
* Band: 5 GHz
At those settings the iMac 27" 2011 is perfectly able to connect to my router!
Now since every other device, including a MacBook 11" 2010 running Mountain Lion 10.8.2 as well (1), an older 2008 iMac running Snow Leopard, an iPhone 3GS, 4 and an iPad 3 (all latest iOS) etc. connects perfectly with the 2.4 GHz settings, this must be a software driver issue on Mountain Lion! Especially since when running Ubuntu 12.04 on that VERY SAME HARDWARE the connection with the VERY SAME ROUTER SETTINGS (2.4 GHz, WPA2, ...) DOES work! Go figure!
I even tried putting Ubuntu into "standby" (sleep) mode. And guess what, after waking up a "notification" message was there saying that the WiFi had been disconnected, the WiFi connection bars immediatelly started blinking ("scanning")... and the connection was succesfully RE-ESTABLISHED!
So currently I am running my iMac/Mountain Lion with Ethernet cable, BUT EVEN THERE CONNECTION drops after a few hours of work (I am encoding DVDs currently...). No DHCP renewal seems to work, the connection stays dead, and the network status says either "invalid address" (169.x.x.x) or even "unknown status" (go figure!). A reboot then re-establishes the Ethernet connection. Or maybe when you wait another (couple of) hours - this morning my iMac did have a valid connection again, after it was dropped yesterday evening.
First I thought that Ethernet disconnect was related to "sleep" mode (which I now turned off for the time being), but yesterday the Ethernet connection was interrupted "right before my eyes", while I was updating/downloading another application! Bang!
SO THERE IS DEFINITIVELY SOMETHING VERY FISHY going on with network connections in general in Mountain Lion! It might be that changing the MTU settings or who knows what may make Mountaion Lion work (for a while), but given the FACT that EVERY other device is able to cope with my router settings - INCLUDING the iMac 27" itself running Ubuntu (so no hardware issue either!) - is a clear indication that the FAULT IS (still) WITHIN MOUNTAIN LION 10.8.2!
So I urge everyone to send feedback to Apple here: http://www.apple.com/feedback/
I will also try to re-send some more information ("it does work on Ubuntu", my "5 GHz finding", router settings....) to Apple.
(1) but the MacBook Pro went from 10.6 to 10.7 to 10.8, so there could be those "crucial settings" left which make it work there - or it simply is a different network card and 10.8 works "by chance" there. However connection speed is rather slow, especially when transferring large files connection drops evey 5 seconds to a few KBytes/sec - but different story).