Ok I think I have finally solved this most frustrating of issues.
Basically a nearby router that my macbook can see is incorrectly configured with the wrong country code (or someone has imported a foreign router).
When the macbook wakes it looks for any wireless signal to understand what country it is in and then only listens on the wireless channels for the country detected.
I have about 10 wireless networks around me and one of them is set for Country "TW" - I am in Country Code "GB"
Most of the times the first network I see is the GB one and my laptop looks for my wireless network on the GB wireless channels and connects OK.
Sometimes, my laptop detects this rogue TW router first and only listens on wireless channels that are correct for TW - it hence can't see my wireless network as it is configured on channel 48 which is not part of the TW approved set of channels:
Here is a snippet from my syslog:
Nov 9 18:18:11 GarysMacBook kernel <Debug>: en0: 802.11d country code set to 'TW'.
Nov 9 18:18:11 GarysMacBook kernel <Debug>: en0: Supported channels 1 2 3 4 5 6 7 8 9 10 11 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
Hence, the options are find the neighbour with the rogue router and get it fixed/binned, or choose a channel that can be seen by both the rogue router country and your own country.
The GB channels are:
Nov 4 14:01:23 GarysMacBook kernel <Debug>: en0: 802.11d country code set to 'GB'.
Nov 4 14:01:23 GarysMacBook kernel <Debug>: en0: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
Unfortunately for me, my Netgear WNDR3700v2 (N600) router only allows me to chose channels 36, 40, 44 or 48 - None of which are visible if my laptop detects the country as TW !!!!
I need to find the neighbour with the rogue router, I guess...
Oh well, at least I know what causes the problem...
BTW - I could do with the forum thankyou points, so please be generous...
I have a MacBook 2008 vintage and had no problems with Lion and have latest ML 18.2.x since installing and getting worse when I shutdown all was ok on login next time but shutdowns are becoming like sleep when the macbook awakens it does not see the wifi network. I must restart the computer and then I am connected. Turning off and on wifi does not work. I did notice a drop down java notice occassionally when not connected that it can't find something. Apple where are you??? Too much partying and stock bonuses - everyone is out to lunch. fix this stupid issue.
OK, I have the late 2010 MBA... have packet loss after sleep/awake.
I have a fix... I have to MANUALLY set it to sleep on the menu. Not letting it sleep by the energy setting timeout.
If I manually put it to sleep, it wakes up working.
If I walk away long enough and it kick into sleep mode. it wakes up having 50+% packet loss.
repeated this and confirmed it works for me.
Hope this help.
How do you confirm packet loss? I have a late 2010 Air also...
What I see on my end is that it appears "connected" at the icon, yet there's no connection online.
In any case, it'd be impractical for me to set the MBA to sleep manually, as I carry it around my work continually. And aside from sleep, it also appears that I have this issue when I hop between access points, even when not in sleep.
And as this happens at work, I can't ask them to upgrade the thousands of access points throughout the facility just for a problem with a BYOD MBA.
When I say packet loss... I open up the terminal app and do a PING yahoo.com.
When there is network issue, the ping will give timeout.
When there is timeout issue, I just manually put the lappy to sleep (using the menu>sleep) and wait for 5s and wake it. It will be all fine.
Very repeatable, and very time consuming to do this 20 times a day when a client or the boss is right next to me. I hope someone at Apple actually see my bug report and working on a fix.
Macbook Air (1.6 Ghz, i5), 10.8.2
I also had wake-from-sleep issue: endless rainbow cursor spin and restart required.
Turning off bluetooth before sleep appears to fix the problem: perhaps related to:
I bought a Mac because it looks pretty, but mainly becasue of the buggy Vista. Now becasue of Lion and MLion I am back on Windows. Here my solution, install bootcamp and use Windows until Apple decide (if ever) to fix this issue. I have been suffering from it since Lion, Mountain only make it worst... lame Apple...
My bluetooth normally remains off, yet I still have this issue at work. (Home is fine, BTW).
Found this link recently:
I'm wondering if a certificate issue is causing my problems at work - though my connection is intermittent, not continuous as you'd think a certificate issue would be. However, this article is describing what I'm seeing - "full bars", no connection.
Another thing for your situation is try to open /Applications/Utilities/Keychain Access and delete the certification cetificate for the iwrlesss. Then rejoin the wirreless network and add it back to your Keychain, fresh. This also might help.
1) not sure how another DNS server would help, especially since I'm trying to access applications on the corporate system's intranet (e.g. Citrix).
2) pinging 18.104.22.168 works, with no packet loss. Applications (even Safari) don't load consistently. And where I am in the building matters. Some areas work, some don't.
I'm thinking it's something to do with access point security somehow.
Here are some screenshots of what I'm seeing. I tried doing network diagnostics when connected like this, but was told I was not connected to the network.