Cloning woes

After yesterday’s clone I noticed some applications behaved erraticly, amongst which Preview, Thunderbird, Appfresh… rather irritating.

After some searching I found the fix on this CCC Forum thread:

sudo chgrp wheel /var/folders/*
sudo chmod 700 $TMPDIR
sudo chown $USER $TMPDIR

In short, the permissions for that directory werent taken over correctly from the original, hence the problems. All fixed now ;)

Iodine (dns tunnel) on your Mac (to escape those evil firewalls)

Here’s a short how-to to get the iodine dns tunnel working on your Mac.

In this short howto, I’ll assume you’ll be using a linux server to act as your gateway to the world. I’ll also assume you’ve read the iodine documentation and setup your DNS accordingly. For my example, I’ll be using a (nonexistant) static DNS entry, iodine.rulestheworld.tld. I’ll also assume that you’ll be using a public internet address of, and a private subnet of

  1. Install the tun/tap driver for Mac OS X. Easy as doing *click* *click* done! :p
  2. Next, install iodine on your Mac. Easy as download, extract, and typing make; make install
  3. Now, install iodine on your linux box. It’s included in the package repositories of the usual suspects, for instance debian: apt-get install iodine.

    Start it (or configure it to use) with:
    iodined -P <password> <unused private IP> <dns name>
    or in our example:
    iodined -P mypass iodine.rulestheworld.tld

    This should return the following:

    Opened dns0
    Setting IP of dns0 to
    Setting MTU of dns0 to 1024
    Opened UDP socket
    Listening to dns for domain iodine.rulestheworld.tld

  4. Configure your linux box for IP forwarding: sysctl -e net.ipv4.ip_forward=1
    (and add this to your /etc/sysctl.conf file), and configuring your firewall (iptables) for masquerading:
    iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
  5. Next, download, a very handy script that does all the hard work of changing the routes and so on :p

    You’ll want to change the script: change the first lines as the script reads, and lower, change the

    NS=`grep nameserver /etc/resolv.conf|head -1|awk ‘{print $2}’`

    line to read


Now, start on your Mac, and surf away! (well, slowly, but freely, atleast!)

CoRD and xrdp

I was trying to get xrdp running on my Linux box, so I could takeover the screen from the outside world. The rdp protocol is a (huge) bit more performant than VNC, which is why I wanted to use it.

Today I was trying for the 3rd time to get it to work, using CoRD as an RDP client, but I never got any image back – the client started, I saw the connection being built up, but I never got any image over. Starting rdesktop locally gave me the output I expected.

This gave me the idea of using Microsoft Remote Desktop Connection Client for Mac 2 Public Beta, to see if it might be a problem with the client… and yup, it is.

Seems CoRD 0.4.3 (the current stable) is unable to handle the output of xrdp. I now installed the 0.5 beta 1 which works without any problems.

Nokia 3109c (Symbian S40) and iSync…

I got a company phone, a Nokia 3109 Classic, which is nothing less nothing more than a standard company phone. It doesn’t have all the bells and whistles I’d like to have, but it works.

What didn’t work, was iSync on this phone. Real bummer, since I was hoping to sync everything between iCal/Address Book and this phone…

Google to the rescue, and i stumbled over this blog posting by James Lloyd, detailing how to get it to work.


  1. Download the script here
  2. Right click iSync from the Applications folder in Finder and choose “Show Package Contents”
  3. Navigate to: Contents\Plugins\ApplePhoneConduit.syncdevice\Contents\Plugins\Nokia-6131.phoneplugin and choose “Show Package Contents” again.
  4. Navigate to \Contents\Resources
  5. Replace the content of the MetaClasses.plist file with the content of the script downloaded in step 1
  6. (Re-)Setup your phone with your Mac

Done! tips & tricks

I still haven’t found any mail client I really like on the Mac… I’ve been using Thunderbird now for a while, but it doesn’t really have what I want in a mail client. I guess I’m spoiled, since I’m used to using KMail at home (and I’m forced to use Lotus Notes at work – a horrible client from a usability point of view).

Recently I’ve been trying to get to work for me. It doesn’t have quite all the bells and whistles I like, but after looking up some things online it’s getting there.

Here are some handy things for to fix some of it’s shortcomings:

  • Adding custom headers to outgoing mails:
    Type this in
    defaults write UserHeaders '{"Reply-To" = "[email protected]"; }'
    Ofcourse you can replace the header with what you want, I used this to send a BCC copy to myself of every mail sent out)
  • Adding multiple mail addresses (aliases) to one mail account:
    You can type them in the “Email Address” field, separated by comma’s.
  • “Go to next unread message”:
    Use something like Fastscripts with the following AppleScript (from Macscripter)

    tell application “Mail” to try
    tell message viewer 1 to set selected messages to {first message of beginning of (get selected mailboxes) whose read status is false}
    on error
    end try

What I still need:

  • A way to improve the threading – it’s horrible
  • An easy way to switch from mailbox to mailbox through all the ones with unread messages

Let’s see if I find some way to fix those two… especially the threading.


(sung to the tune of John Lennon’s “Imagine”)

Imagine there’s no Apple,
No products that begin with “i,”
No monthly iPod models,
No Apple stores to get you high.
Imagine all the people
Finding other things to do!

Imagine there’s no bloggers…
It isn’t hard to do!
No viruses or spyware,
No weekly Windows patches, too
Imagine all the people
Learning to get a life…


You may say it’d be a nightmare
Without Google, Mac or Dell
We might have real conversations–
But the world would be dull as hell!

Imagine no new cellphones;
Kiss console games goodbye.
No David Pogue or Mossberg
To tell us what to buy.
Imagine all the people
Getting some exercise!


You may say that I’m a loony
But rest assured I’m almost done.
I’m pretty sure it’ll never happen
So we nerds can live as one!

(source: The NewYork Times)

Linux on my MacBook

I’m currently trying to get Linux (Debian Sid) working on my MacBook… it’s installed, but still needs lots of tweaking.

Most of the things work out of the box, except the things listed below:

Specific things that work (after tweaking):

  • Xorg with resolution at 1280×800
  • WiFi (atheros)
  • special buttons (volume/brightness/…)

Things that need to work still:

  • Touchpad (well, it works, but it needs to work better)
  • iSight

Sources I’m using at the moment:

I’ll write a detailed post on this later… when I’m not uberly lazy ;)

… and back to Apple…


Yesterday I picked up my macbook, which recently returned from repair, and a screw fell out. wtf?

I checked, you can’t tighten it, seems the internal socket where the screw is supposed to be set in is broken/missing. Way to go Apple. You’re definitely scoring points on this one… negative points.

I took it back to the dealer, they’re going to send it back to Apple.