Linked by Thom Holwerda on Wed 13th Jul 2011 14:09 UTC
Internet & Networking "One of life's minor annoyances is having to wait on my devices to connect to the network after I wake them from sleep. All too often, I'll open the lid on my EeePC netbook, enter a web address, and get the dreaded 'This webpage is not available' message because the machine is still working on connecting to my Wi-Fi network. On some occasions, I have to twiddle my thumbs for as long as 10-15 seconds before the network is ready to be used. The frustrating thing is that I know it doesn't have to be this way. I know this because I have a Mac. When I open the lid of my MacBook Pro, it connects to the network nearly instantaneously. In fact, no matter how fast I am, the network comes up before I can even try to load a web page. My curiosity got the better of me, and I set out to investigate how Macs are able to connect to the network so quickly, and how the network connect time in other operating systems could be improved." Yes, I'd love to have Windows and Linux reconnect as fast as Macs do. Alas, "Method to quickly reconnect to a wireless or wired network", as well as its completely different "Method to quickly reconnect to a wireless or wired network on a mobile device" are probably patented, so Windows and Linux can't reconnect too fast out of fear of violating a software patent. In case you haven't noticed: I'm joking. Sort of.
Permalink for comment 480764
To read all comments associated with this story, please click here.
RE: something doesn't seem right
by ChrisIrwin on Wed 13th Jul 2011 16:36 UTC in reply to "something doesn't seem right"
Member since:

That can't be directly determined from the information given (currently -- he seems to be updating the page a bit), but to me it looks like both devices had probably previously connected to this network, it just wasn't the last network used. I'm assuming based on the following evidence, and the fact that the situation you suggest would hopefully be obviously uneven and flawed to the fellow doing this testing.

- Android connects, assumes it is using the last address ( on the last network and tries twice to continue as such (with a ~4 second timeout) before starting from scratch.

- OS X connects, does arp queries to see if the router/dhcp server corresponds with any of the previously used (three?) addresses (,, It got a response for one of them, started normal operation with that address while also double-checking that it can actually reclaim that address in the background.

Worst-case scenario for OSX is that none of the networks is recognized and it starts from scratch. An alternative bad-case is a recognized network but the address could be reassigned (there were universities having issues with this), in which case it requests a new address and any packets sent in the interim need to be resent (it may or may not cause some arp pollution issues?). So in other words, the apple process worst-case scenario is a regular DHCP process, but it has the ability to take shortcuts if certain (probably common) criteria are met.

Back to android, the worst-case is stalling for ten seconds due to timeouts before fetching a new address. There is a shortcut only if you're connecting to the last network only, and causing horrible delays otherwise.

This is of course just my interpretation of his data, but I think that describes the behaviour illustrated.

Reply Parent Score: 2