How to install iOS 8.0.2. Since Optus/Akamai cant successfully - TopicsExpress



          

How to install iOS 8.0.2. Since Optus/Akamai cant successfully serve a 1.1GB file in one go and Apple didnt bother to implement download restart... 1) Looking at my squid logs, identify that the offending URI is appldnld.apple/iOS8.0.2/031-08167.20140925.KOMet/bdd8ad9272c684a2db14a593da4fc09884d0a636.zip 2) Repeatedly run fetch -r until the zip file is completely downloaded. 3) Use unzip -t to check that its complete and not corrupt. 4) Configure a local webserver to serve that file. I used hibachi (ioccc.org/2004/hibachi.tar.gz) because its easy to get going. 5) Configure DNS on my firewall to intercept appldnld.apple and redirect it to my local webserver. I actually intercepted appldnld.apple.akadns.net because that was easier (DNS needs to intecept an entire domain and there are lots of names in apple that need to resolve, whereas appldnld.apple is a CNAME pointing at appldnld.apple.akadns.net and that is the only name needed in the latter domain for the download) 6) Restart the upgrade. In my case the zip file took ~9 min to download over my WiFi. My iPad continued to misleadingly report Downloading... for a further half-hour but wasnt actually doing any network IO. 7) Remove the DNS interception because verifying the download does require other hostnames. 8) Continue with the install and reboot. The Verifying download takes about 2 minutes and then rebooting takes a further about 30 minutes. Where I got lucky: - The download is done over HTTP so manually retrieving it is easy. What didnt work: - Optus (or their Akamai servers) cant serve 1.1GB in a single TCP session - randomly dropping it after between 220MB and 870MB. - Apple expect to be able to download 1.1GB in one TCP session. That rates as a major fail on Apples part.
Posted on: Fri, 26 Sep 2014 23:06:46 +0000

Trending Topics



Recently Viewed Topics




© 2015