Internet Recovery For Lion On 2007 Macbook

My Old Macbook

My 2007 Macbook has been sitting idling since I got my new Macbook Pro in September. The old Macbook has a 500GB hard disk and tons of junk inside, so I have been waiting for reinstall OS X from scratch.

Apple has this Internet Recovery feature now with Lion, where we can install Lion from scratch without the use of a DVD like the older OS X versions. Since the intention is to clean up the hard disk in my Macbook, I decided to have a go at Internet Recovery.

The Recovery

To start the recovery, press Command+R and boot up the system. The system will come to a screen with a few options to choose from.

Recovery Options

My hard disk contains at existing OS, so I have to go to “Disk Utility” to erase the target partition. If it’s a new disk, just go direct to “Reinstall OS X Lion”.

The recovery procedure will connect to Apple and verify the validity of the machine. Apple ID is required, so I think the procedure validates if a purchase been made from the App Store. So, for those who did not get a copy of Lion from the App Store, I suspect the recovery will fail or you might be prompted to purchase Lion on the spot from the App Store. By the way, the recovery can be done over WiFi.

The recovery downloads the packages from the internet, so the internet connectivity is important. I’m subscribed to the the M1 Fibre Broadband at home, so I’m downloading at about 35Mbit/s. The package is 3.79Gb, so the download takes about 30mins.

Reinstalling Lion

Installer Log

Once the download is complete, my Macbook reboots and starts installing the OS. This takes another 20mins or so.

The Result

After 1 hour, I have a spanking clean OS X Lion on my 2007 Macbook. Thumbs up for Apple!


Finally! Google+ For Google Apps Users Is here

Finally, Google+ is here for Google Apps users. I caught a tweet by Dave Girouard just mins ago announcing that it’s ready.

This is the official announcement on Google App blog.

http://googleenterprise.blogspot.com/2011/10/google-is-now-available-with-google.html

Gotta try it immediately although it’s already past 1am local time. Headed over to http://plus.google.com. It’s not enabled yet in my domain settings.

Google+ Screenshot

Popped over to Google Apps and flicked the switch.

Enable Google+

Next, to http://google.com/profiles to get my profile created.

And then to http://plus.google.com and that’s it!

Google+ Profile

Enjoy!



Flooding At My Workplace Again

It’s happened again. Last year, the road outside my workplace was flooded 1 week after the Orchard Road flooding happened.

Today, there was a sudden heavy downpour and it flooded once more. While it’s not as bad as last year, but still it got us worried about our cars parked in the basement carpark. We were all preparing to move our cars out should there be any sign that the water was getting into the carpark.

Rain’s welcome to cool the hot weather, but flooding like this is hard to swallow. :)


IPv6 @ Home With Hurricane Electric

Some Background

I have been testing IPv6 for work for quite a while already. In fact, we have quietly enable IPv6 for some of our own internal trial users making our network dual-stack. And just couple of days ago, I enabled IPv6 for my blog with CloudFlare, so the next thing has to be my home. :) At home I’m running on the M1 Fibre Broadband with 50Mps down and 25Mbps up.

Hurricane Electric provides free 6-in-4 tunnels and assigns a generous prefix of /64. To give you the magnitude of a how many IPv6 addresses we have with a /64. A biggest private IPv6 allocation that you can use in your network is 10.0.0.0/8. That gives you 24 bits to play with so the number of address you can have in your network is 2^24 = 16777216. Given that the address space for IPv6 is 128 bits, a /64 gives us a remaining 64 bits to play with, which is 2^64. And bear in mind that these are public IP addresses that are routable on the internet as opposed to the 10.0.0.0/8 private addresses which requires NAT to route on the internet. More details can be found all over internet if you are interested in IPv6, so let’s get back to my setup.

Setup at Hurricane Electric

I have a TP-Link WR1043ND at home, flashed with OpenWRT. OpenWRT is Linux-based, so the possibility to extend the features is almost endless. The first thing you need to do is to get a free account from Hurricane at http://www.tunnelbroker.net

Main Page Of Hurricane Electric

After the account is created, login to Hurricane Electric’s interface and create your tunnel. Select “Create Regular Tunnel

Creating IPv6 Tunnel

Hurricane Electric will suggest the best endpoint for terminating your tunnel, but I suggest you take a few selections and traceroute to the addresses and select the endpoint with the best latency and least hop count. For me, I took the Tokyo endpoint although I’m in Singapore. The reason is that M1′s route to the Singapore endpoint goes to Japan, then to Hong Kong, US then finally back to Singapore. Bloody inefficient, but I can’t comment more since I don’t have the full picture.

Tunnel Options

Now On To OpenWRT

So, it’s done on Hurricane Electric. Let’s move on to OpenWRT.

For IPv6 in OpenWRT, you need to install the following packages:

opkg install 6in4

opkg install radvd

opkg install luci-app-radvd

uci set network.lan.ip6addr=’2001:470:23:4ce::2/64′ – <Replace With Your Own Prefix>

uci set network.henet=interface

uci set network.henet.proto=6in4

uci set network.henet.peeraddr=74.82.46.6 – <Replace With Your Own Selected Endpoint

uci set network.henet.tunnelid=122345 <Replace With Your Tunnel ID>

uci set network.henet.username=tb4e8539df5472a9.36849843 <Replace With Your Password>

uci set network.henet.password=’YOUR_PASSWORD’

After this is done, restart your network for the OpenWRT

/etc/init.d/network restart

We are now almost there. Next to setup is the radvd – Linux IPv6 Router Advertisement Daemon.

Enabling IPv6 In Your Network

RADVD Options

Enable the options like I did in the screenshot. Very simple steps here. Just make sure that radvd is running and listening on lan0

IPv6 Ready!

Now you are ready to test your IPv6 connectivity. I’m using a Mac here, so it’s already IPv6 ready. Linux/FreeBSD/Solaris and other Unix variants should already have IPv6 ready. Windows XP might require a patch though.

Anyway a simple way to verify whether you are accessing the internet on IPv6, is to visit the APNIC website at http://www.apnic.net

APNIC Showing Your IPv6 Address

You can see your IPv6 address on the top of the page if you are connected to them via IPv6.

And tested on my iPhone 4 running on iOS 4.3.3. Yes, all iOS devices are IPv6 ready too. :)

IPv6 on iPhone

 

And you can try http://www.v6.facebook.com. This is the IPv6 Facebook site.

Afternotes

One thing to note that, the IPv6 connectivity is purely for testing. Connecting via a tunnel is actually sub-optimal since the IPv4 endpoint is as far as 14 hops away. There are some apps that doesn’t work too. :) But anyhow, have fun!


IPv6 Ready With CloudFlare

CloudFlare announced the availability of their IPv6 gateways yesterday. So as usual, I’m hopping onto the bandwagon immediately. Setup is very straightforward. Just go the CloudFlare Dashboard and turn on the IPv6 option. More instructions can be found here from the CloudFlare site. I didn’t check immediately, so I’m not too sure how long it took for the DNS to take effect, but I think it shouldn’t take too long.

And this morning when I verified with a DNS lookup.

AAAA record for blog.yibi.org

And further verification by visiting my blog. My network dual-stack IPv6 by the way.

Netstat for IPv6

And another verification,

CloudFlare IPv6 verification

That’s it! My site is now IPv6 ready!


Google Plus Is Now Available For Everyone Except Me

I’m down with a terrible flu this week, so the blogging slowed down as well.

davegirouard-google-plus-tweet

Saw this tweet yesterday, didn’t think it was anytime soon anyway. But Google announced something else: Google+ is now available for public. Really? No. Google Apps users like me are left out because Google can’t get us the Profiles portion on Google Apps. I have read their rationale from forums etc, but the main gripe is that there’s no timeline. In March, they said coming soon, Juiy they said the same thing. It’s September now.

So when are we getting it?


First Downtime Encountered With M1

I experienced the first downtime with M1 today. It started at about 8.30pm and recovered at 11.30pm. Approximately 3 hours of downtime. No good. Having come from a telco background, this is really very serious. From the Hardwarezone forums, it appears that the outage is widespread. A lot of people from all over Singapore are affected. Symptom is that you can’t get an IP from M1.

I can’t be bothered to call the help desk, because it will be a useless wait for nothing. Let’s see what reason M1 comes up with for this outage. But whatever it is, it has made a big dent in their reputation.


Buying Foscam IP Cameras In Singapore

There are now more and more people getting IP cameras for their home use in Singapore. One of the most common use is for home monitoring. For this purpose, a lot of people are getting the Foscam Fi8918W from what I observed in the forums.

There are couple of ways you can get your Foscam cameras. I personally ordered mine from an online seller. The website that go to is http://www.ali2.com. I have ordered a couple of times from them and so far the experience has been alright. One thing I would suggest is to get your friends to pool orders because they will deliver the goods via DHL is there are more than 3 items. Delivery via normal registered mail or parcel will take as long as month and the possibility of lost mail is higher.

ali2 screenshot

There are 2 reasons why I choose to get the cameras online. Firstly, they are cheaper than the one’s sold locally. The markup can be up to 100% sometimes. Secondly, there are more models to choose from.

I hope this is helpful. Happy shopping.


Macbook Pro 加强!加强!加强!

Thanks to SingNet for the Macbook + Broadband bundles, I managed to bag a 2011 Macbook Pro at $1400 SGD. This is $248 off the list price on Apple Store. i got Macbook Pro from the folks who are selling the sets to offset their monthly broadband package. There are a lot of such offers on the Hardwarezone Singapore Forums.

This Macbook Pro comes with only 4GB of RAM. Given the obsession to keep wanting to have more, I top up the RAM to 8GB. The 2 x 4GB Strontium DDR3 1333Mhz SoDimm cost $74 bucks ($37 bucks each). This is a damn good deal considering that my colleagues got the same 2 pieces of RAM at $138 about 2 months back :)

Strontium 4GB SODIMM

Another colleague was with me to get the 1066Mhz for the older revision of the Macbook Pro, but there was no stock. He’s now trying out my 2 pieces of 2GB DRR3 1333Mhz. If it works, he will get the 4GB equivalent. Technically it should work, but there are a lot of people commenting in forums that Mac machines are particular about these minor details so we won’t know until he has tested. I will post an update on the outcome.

And as always, when you are buying an Apple product, it doesn’t just end there. There are (expensive) peripherals and accessories to buy. I always thought Mac accessories are overpriced. Getting them locally could easily set me back by another $200 at least. So, the natural option is to get from 淘宝 (http://www.taobao.com).

The final thing to get for the Macbook Pro is the AppleCare Protection Plan. Given my prior pleasant experiences with Apple, I’m willing to fork out extra for the additional 2 years of warranty for a peace of mind for the next years.

As for my old Macbook, it’s now semi-retired, working as a desktop. :)


  • My Tweets

  • Copyright © 1996-2010 YiBi's Life|Live Log. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress