Ian McShane Rotating Header Image


Reseting the LogMeIn client remotely

I use the free LogMeIn.com to manage my MacMini server remotely.

Today, after using it to reboot my router (via its web interface which is only accessible from my LAN) the logmein.com website kept reporting that the connection to the client was timing out or being disconnected.  I couldn’t get the damn thing to connect up at all.

Luckily, I can actually SSH to the Mac Mini remotely too.  So, in order to reset the logmein client, run this from the terminal:

1.  cd /Library/Application\ Support/LogMeIn/update
2.  ./preupdate
3. sudo ./postupdate

That’ll unload and reload the client completely, freeing up any timed out resources.

VMWare Fusion – Network Bridge error finally solved

A couple of years back, I posted this thread about an annoying problem in VMWare Fusion which occasionally stopped me from being able to run an image as in bridge mode.

Well, looks like I’ve finally sorted this one out.  I don’t know if it’s the inclusion of new functionality in v2 or v3 of VMF but after doing the below, I’ve not seen the problem occur for a couple of months now.  I can still easily reproduce this issue so I’m guessing it’s some kind of defect in the adaptor autodetect code [or a problem with my config somewhere].


Migrate iTunes to a new Mac

I couldn’t find anything, via Google nor the Apple support site, that explained in the simplest and quickest terms how to migrate a functioning iTunes library to a new Mac.  I use a bunch of smart playlists to generate my own ‘radio station‘ playlist which relies on playcount, skip count, rating and other cool stuff.  That means that I really don’t want to lose the meta-data stored in the iTunes DB file when moving my data to my shiny new Macbook Pro (courtesy of work).

The last time I migrated, from my Mac Mini to my Macbook, I lost all the meta-data and really didn’t fancy it again.  It turns out it’s pretty simple and straightforward.  The following steps assume a brand new install of iTunes.

1.  Start up iTunes on the target device.  Accept the license agreement and choose NOT to add anything to the library at this time.  You should now find the iTunes folder and a blank database in your /%username%/Music folder.

2.  Start up the Migration Assistant app (in Applications/Utilities), choose “From a Mac”.

3.  Reboot your source device and hold down the ‘T’ key whilst it restarts.  It should boot up to show a Firewire symbol.

4.  Connect the source and target devices with a Firewire cable.

5.  This should mount the source disk on your target device.

6.  Copy the entire Music/iTunes folder from source to destination.

7.  Once the copy is finished, open iTunes and you should see all your tracks preserved with the meta-data intact.

The cool thing about this is that any iPods or iPhones registered with the previous iTunes installation will continue to work on your new device.  No need to format and re-sync.

Cisco VPN Client on OSX

I’ve had a few problems with the Cisco VPN Client for Mac OS X  (release 4.9.01 (100) ) recently.
I’d get intermittent “Error 51: Unable to contact the VPN subsystem” when opening the VPNClient appliaction.
Some times a reboot would fix it, sometimes it wouldn’t.
I can’t reliably reproduce it either, sometimes coming out of sleep breaks it, sometimes restarting breaks it.

I think I’ve worked out how to resolve this now from a command line:

Firstly take the fw0 interface down and bring it up again:
Sudo ifconfig fw0 down
Sudo ifconfig fw0 up

Then restart the VPN SS:
Sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart

That has resolved it for me the last 5 times it happened, without needing to reboot again.

Hope that helps someone else out.

Has OS X 10.5.2 reset some security settings?

I’m pretty sure it has, I certainly haven’t turned this off.


Uploaded with plasq‘s Skitch!

The release notes for the update mentions “Improves stability and performance during log in.”.

Anyone else seen the same or worse?

Free Trac and SVN hosting

I’ve been getting really pissed off trying to install Trac to my Dreamhost shared server, to the extent that i’m contemplating moving hosts.

In the interim, DevJaVu have just started to offer free Personal accounts that include integrate Trac and SVN.
All you need to do is sign up using the referal code johnny5. I don’t know how long that code is valid for so get on it.

VMWare Fusion and network bridging

** UPDATED MARCH 12 2010:  I just posted my solution to this problem here **

I’ve had VMWare Fusion running an image of my work laptop, on my Macbook, for nearly three weeks now. I’ve had no problems at all, running over both NAT and via network bridge.

Until this week.

Now, when I try to use the image over network bridge I get the error “The network bridge on device /dev/vmnet0 is not running”. It still works over NAT but i’m perplexed as to where this problem has come from. No software updates, no network config changes, nothing that I can think would affect this at all.

I started to wonder if it was something to do with being assigned a bridged DHCP on my home lan (10.0.0.X), suspending and being brought up on the work lan under a different subnet completely. Maybe something was going majorly wrong with the bridge device.

I couldn’t/can’t find anything logged anywhere other than the error message above in the vmware.log within the VM image folder.

Running the following command restarts all the vmnet related services:

/Library/Application\ Support/VMWare\ Fusion/boot.sh –restart

You’ll need to sudo that command.

I haven’t found anything on the VMWare community forums to indicate that this has been bugged for fix in a later release so i’m still not entirely sure of the cause…

Quicksilver roadmap at the end

In an earlier post, I mentioned how i’d been an admirer of the Quicksilver application and its workflow. Having finally picked up a Mac for full time use (work & play), it was I think the 2nd application I installed. It’s definately a great productivity tool. I’m not keen on the way OS X has all of it’s apps in one folder – I hate scrolling using a track pad, even with Apples two finger “gesture” method – and the Stacks feature of OS X Leopard doesn’t cut it for me.

So, with all that, I was gutted to read today that it is almost certainly in it’s final state – certainly from the developers POV according to this interview on Lifehacker.
Hopefully there is a community out there that will pick up the Open Source project and take it on.
I’m still looking for a decent Dictionary plug-in that works with Leopard…

Reasons to Jailbreak #1

My foray into the world of jailbroken iPhones was due to one very simple app – MobileScrobbler.

It simply hooks into the iPod functionalit and submits the Artist, Track and Album information to my Last.FM profile. Having been an avid, subscribing scrobbler for nigh on three years now, I can’t bear to listen to anything that doesn’t get posted to my profile. I’m very OCD about it; no CDs in the car (my HU has a ‘Made for iPod’ interface), no radio, no net streaming (except for the last.fm client).
It’s therefore been a bit of a struggle moving away from my iPod to _just_ the iPhone. (more…)

RadRails – Unable to detect ruby install on OS X Leopard

I installed the RadRails plugin for Eclipse and Aptana today.
On first start, it complains that it is “Unable to detect ruby install” on my Leopard macbook.

Now, I know ruby is installed and working so had to try and figure out the path to the ruby installation.

Took me a while to work it out, I thought it would be under /usr/.. but it’s actually here:


After adding a new RubyVM with this path everything was good again.

Incidentally, although Aptana is available on it’s own as an IDE (built with the Eclipse framework), I decided to use it as a plugin for a native Eclipse IDE. That way I just have one IDE for Java, C++ as well as RoR. Made sense to me.

I’ve only had a quick play with it but it already beats the bejesus out of my Notepad and command line setup on XP. 🙂

[tags]OS X, Mac, Eclipse, RadRails, Aptana, Ruby on Rails[/tags]