No no, this is not about a broken iPad, it's about the end of the first generation iPad. Shown to the world on January 27th, 2010, it's now barely two and a half years, but in this fast changing world of tech, that's a life time. Being the first of a new generation in technology comes with a price; one day you wake up to find that you can't keep up with the shining new kids on the block anymore.
The end doesn't come with IOS6, it's already here. If you use a first generation iPad with IOS5, you will have noticed that typing has become a serious challenge. Cursors run behind, input fields are sluggish and although it's not really tampering the functionality, it becomes a nuisance after a while. Actually I discovered that using a bluetooth keyboard improves things since the machine doesn't need to waste resources at pretending being a keyboard. Obviously carrying around an iPad with a BT keyboard doesn't make a lot of sense, but it shows a significant difference between iPad generations. Fiddling around with certain Keyboard Settings like Auto-Correction and Check Spelling will certainly improve your user experience but at the expense of functionality. People who use the second and third generation iPad will have noticed that everything feels smoother when interacting with the machine. It's dual core architecture is the obvious reason for this. But even with a single core CPU, the first generation iPad is fast enough, even for 3D games like Infinity Blade. So with some tweaking, one can still use the first Generation iPad for many years to come.
What really started to bother me are more and more applications that crash suddenly and jump back to the Springboard. Lately I downloaded a free little game called Catapult King for iPad which sometimes is practically unplayable because of this phenomenon. LinkedIn for iPad suffers of this same problem. Digging deep into Settings, General, About, Diagnostics & Usage, Diagnostics & Usage Data finally showed me the reason:
Low Memory. Two words that say it all. And as applications start to require more memory for a nicer user experience, the 256 MB RAM of the first generation iPad is its real Achilles' Heel. Unfortunately in this time and age, memory bounderies are seldomly considered, which is really sad. Programmers ought to take memory usage into consideration and optimize their applications so that the first generation iPad can serve some more years even if it can't run IOS6.
Apple creates products with excellent build quality meant to be used for years. So why should its lifespan be shortened by sloppy programming?
Last weekend I had this conversation with a friend on how he wanted to use an external keyboard with his iPad. I pointed him to several solutions by Logitech like the Keyboard Case for iPad and the Tablet Keyboard for iPad. There's also the new Ultrathin Keyboard Cover which also doubles as a very thin iPad cover. All very nifty bluetooth based solutions. Wait a minute, bluetooth?
I wondered aloud why a standard Apple wireless keyboard wouldn't work. It does and it's fairly simple.
Apple Wireless Keyboards are a bit of a pain to put in pairing mode. The official Apple way is to unpair it from a previous host which will force the bluetooth device in pairing mode. Which is all nice and well, IF YOU STILL HAVE THAT DEVICE.
I found some support articles on the Apple discussion fora and it looks like this tip from Colin Holgate does the trick:
While looking at some Google Analytics pages I noticed a small music note icon on the graphs.
When clicking it, you get a little drop down where you can choose piano or sitar. Once selected you'll hear a piano or sitar playing the graph with the height of the notes being function of the numbers.
Beats me what practical use this could have, my stats sounded horrific.
OK, this is a weird one. Windows still relies on nslookup.exe to query name servers on the command line, although we all know that the command is depreciated and one should use host or dig. Nevertheless, on a default Windows installation one has to rely on the tools at hand.
The company Windows laptop I sometimes use is a Windows 7 64-bit machine and even though I mostly use a Mac, it is really nice.
Occassionally, I take the laptop home where it gets on my IPv6 network. As expected of a modern system it discovers the router and accepts the router advertisements to comply to IPv6 automagical configuration. It even follows RFC6106 for DNS configuration. So far so good...
Oddly enough when I return at work with no IPv6 on the LAN, something weird happens:
nslookup.exe still believes the IPv6 name server is there even though the machine was rebooted several times in the mean time. And as a net result nslookup.exe no longer works, yet name resolution still works.
As shown in the screenshots, both IPv4 and IPv6 are set for automagical configuration.
Google doesn't really help me on this one and what baffles me the most is that nslookup.exe obviously uses different criteria for its name server than the Operating System itself.
I thought that maybe the Teredo tunneling feature, which is switched on by default, could have been the cause. It has been disabled for practical testing purposes and as the screenshot below shows, once on the LAN there is no reason why the machine would configure the wrong DNS server for nslookup.exe.
I'd be interested if someone has ever experienced this behavior and knows a fix for it as it is obviously a bug.
By the way, it is advisable to switch off Teredo tunneling when you fiddle around with IPv6. You disable it through an elevated command prompt and type the following commands:
While digging into IPv6 support for the iPad, I stumbled on some unexpected results on my MBP. For starters, the default behavior I knew from a Snow Leopard MBP (10.6.8) is very different from what I observed on my Lion MBP (10.7.3).
To understand what follows, here's a brief description of my home network.
Regular IPv4 internet access is provided through VDSL over a b-box2 IAD. This multipurpose internet access device is part from the tripple-play offered by my ISP. It's a modem, router, firewall, dhcp server, dns proxy, etc... the box doesn't support IPv6 and neither does my ISP.
On my internal network (RFC1918 address space), I have an Apple Time Capsule, which has this odd feature that it can work as an IPv6 tunneling devices, and once configured, it will become the IPv6 router in the network. It takes the hassle out of IPv6 by taking the role of a Router Advertisement daemon and doubles as an IPv6 firewall and proxy name server. A /64 IPv6 network is assigned by Hurricane Electric to my Time Capsule and it's this prefix that is offered on the LAN through the Time Capsule.
Snow Leopard MacOS X 10.6.8 IPv6 behavior
Snow Leopard support for IPv6 is basic and straightforward. It will automagically configure itself when there's a Router Advertisement daemon on the LAN as shown in the following screenshot.
The IPv6 address is typically composed of the v6 prefix + the MAC address of the host. Besides auto-configuring its IP address and figuring out where the router is, there's nothing more to do to get the Internet6 at the doorstep. It's the most basic implementation of the Neighbor Discovery Protocol.
A dual stacked Snow Leopard will then default over IPv6 as per RFC3484. This means that if an application like Safari is asked to go to a site like http://www.ripe.net, it will go over IPv6 if it runs on a dual stacked system.
From a technical perspective and in a perfect world RFC3484 could be the desired behavior for a quick adaptation of IPv6. Unfortunately, the IPv6-world is not perfect and this has a negative influence on user experience.
Lion MacOS X 10.7.3 IPv6 behavior
Whilst writing my blog entry on IPv6 support on iDevices I noticed that Lion was behaving very differently from Snow Leopard. One of the most important differences is that Lion no longer defaults over IPv6 on a dual stacked system. While looking into this, I first believed to have bumped into a bug as Lion would often go over IPv6 first and fall back later to IPv4 for no apparent reason.
It took me quite some digging and googling to have a better understanding of Lion's IPv6 implementation.
For starters, Lion support RFC6106 DNS extensions on IPv6 router advertisements, this completes the auto-configuration features for both IPv4 and IPv6.
In practice Lion will use mostly the IPv4 address unless it is not available.
Secondly Lion supports the privacy extensions as described in RFC3041 which results in 2 IPv6 addresses per interface. One is still based on the MAC address, the other is based on a randomized value.
On the LAN, it will use the IPv6 MAC generated address, beyond the LAN it will use the randomized address.
The behavior that puzzled me the most is Lion's unwillingness to default over IPv6 like Snow Leopard does. I noticed this while visiting the ripe.net website. The first time it shows my IPv6 source IP address:
When the page is reloaded, it will no longer show my IPv6 address, but the source address is now my IPv4 address:
It took a while before I finally found what's causing this. It has nothing to do with the name servers and their order (the IPv4 DHCP configured name server is always taken before the IPv6 name server, simply because of the order in the /etc/resolv.conf file), although it does help to flush the DNS cache to reproduce the behavior.
For your information, the DNS cache can be flushed with the following command in a terminal window: dscacheutil -flushcache.
After quite some Googling I stumbled on an excerpt of a mailing list explaining the Lion behavior: http://lists.apple.com/archives/ipv6-dev/2011/Jul/msg00020.html. In short, Lion measures the round trip time over IPv4 and IPv6 and the fastest wins. It's an implementation of an algorithm called "Happy Eyeballs" which is described in a draft IETF standard: http://tools.ietf.org/html/draft-ietf-v6ops-happy-eyeballs-07.
To understand the reason for "Happy Eyeballs", have a look at "Dual Stack Esotropia", an article written by glh at APNIC labs. The "Hampering Eyeballs" article on the RIPE Labs website by Emile Aben clarifies the challenge even more. In short, the algorithm is used in the application layer and was designed to handle optimized protocol selection (IPv4 versus IPv6 on dual stacked set-ups). It helps increasing user experience by monitoring which connectivity works best, not in throughput but in responsiveness.
Lion does this by by keeping track of RTT for every destination that was asked. This information is visible through the nettop -n -m route command on the cli. The command is interesting as it gives a dynamic view on the OS's routing table.
As a net result, in my set-up IPv6 looses under Lion, simply because the tunneled set-up is always slower.
According to the little literature available on the subject only very few applications and Operating Systems have deployed a version of "Happy Eyeballs". MacOS X Lion is the only operating system with the algorithm deployed. Chrome and Firefox have also an implementation which works very nicely.
From a user's perspective, "Happy Eyeballs" is a blessing in a dual stacked world. Under the hood, the applications figure out which connectivity works best and use it accordingly.
But from a technology point of view it's a bad thing, as it confirms there are issues with IPv6. The v6 network is not yet up to par and there are still some major peering problems, dividing the v6 network effectively in multiple Internets. Remember the Hurricane Electric versus Cogent issue? Cricket Liu had a blog post on the issue last year; one year later, it's still a problem.
Thanks to "Happy Eyeballs" I don't notice this issue under Lion. Thanks to "Happy Eyeballs" fixing the real challenges in the v6 cloud are minimized for an end user and pressure is reduced to get the v6 Internet as reliable and meshed as the v4 Internet.
In the end, "Happy Eyeballs" are a necessary evil to get IPv6 working on a dual-stacked end-user device. Being so user centric; no wonder Apple implemented it in Lion.
IPv6... we're not there yet.
About this Blog
IT Technology, networking, Apple, iDevices, Android, IPv6, DNS.