Apple

80 posts in Apple

Rsync backups

· Apple, Linux, Software

My own simple rsync backup ‘script’.

You’ll need a rsync server, something to backup, and ssh-agent running to ease the process (or, fill in your password each time).

Add the following lines (using a terminal text editor) to a text file (".rsync" for example, hidden files under Unix-like systems), and chmod +x $file.

rsync --archive -uv --exclude-from=/home/you/.rsync_exclude \
--rsh="ssh -p 222" --delete --stats --progress /Users/you/Documents/ \
you@remost.host.com:/home/you/remote-backup-directory

This will upload any files in /Users/you/Documents to /home/you/remote-backup-directory.

Console Hamachi

· Apple, Errors, Networking

I wrote before, that the console version of Hamachi didn’t seem to generate tun/tap driver errors. But after rebooting my Mac I was no longer able to start Hamachi.

Nazgul:hamachi-0.9.9.9-20-osx yeri$ ./hamachi start
25 19:08:15.659 [   0] [14306] tap: connect() failed 2 (No such file or directory)

So I guess I’ll have to wait for a fix after all. :(

Hamachi(X) on Leopard

· Apple, Errors, Networking, Software

When playing with KisMAC, I noticed something weird in my /var/log/system.log;

$date com.apple.launchd[1] (tuncfgd$pid) posix_spawnp("/usr/sbin/tuncfg", ...):
No such file or directory
$date com.apple.launchd[1] (tuncfgd$pid) Exited with exit code: 1
$date com.apple.launchd[1] (tuncfgd) Throttling respawn: Will start in 10 seconds

tun is (trying) to restart every 10 (!) seconds. I tried updating Hamachi’s tun/tap drivers, without any success. It kept restarting the process every 10 seconds.

After a bit of Googling, it seemed to be a known problem. So I decided to uninstall Hamachi & the tun/tap drivers.

Mac OS X.5.2

· Apple, Software

Yes, it’s here, finally!

A 355 Mb patch, downloaded over poor UMTS/3G at school and in the train… Took a while, but it’s finally installed.

Some nice few features, like the fact you can now remove the semi-transparent effect on the menu bar (makes it nicer). They also added some nice stacks enhancements.

A Time Machine icon is added in the menu bar too, just too bad you can’t make it just pop-up when it is actually backing up. I like keeping my menu bar clean. ;)

EyeTV + ffmpegX = iMovie

· Apple, Software

EyeTV is a cool application that let’s you watch TV on your Mac. I happen to have the “lite” version, because it was significantly cheaper than the other version.

The cool thing is, you can easily record films or TV episodes with it, but with this version, there is no way to export it to a iMovie project, or to play the recording in a QuickTime based application.

When recording, it creates a folder “Live Recording - $date $time.eyetv”. And when double clicking it, it will open EyeTV.

MagSafe car adapter

· Apple, Misc

As you probably know, the MagSafe adapter is a great invention. Someone trips over your power cord, and the connector pops off.

And if you think “well, cool, but won’t happen, a normal connector won’t break your notebook” you’re very wrong.

A few months ago, at school, during courses, someone tripped over my Powerbook’s power cord, and pulled everything off the table. This resulted in complete data loss + broken adapter + banana-looking case; 926 EUR repairing costs (Yes, this is when I dediced the get myself a Macbook (Pro), and the good thing was that Leopard was about to be released).

Parallels + Ubuntu

· Apple, Linux, Virtualisation

I finally got a reply from the Parallels support team. After using the alternate Parallels installer it finally works again! Even after rebooting Mac! joy

Before trying to run Vista/Bootcamp through Parallels again, I’m waiting till the end of my exams (Thursday). Don’t want to blow up my Windows install again when I’m in desperate need of it. ;)

As usual with Parallels, creating/installing a new OS isn’t easy. Wether it crashes or you get a bunch of errors, you’re always up for a day full of fun!

Mac OS X > Windows

· Apple

When surfing the web, I came upon an old site we (read: Rootspirit) used to host.

Nick, one of the posters, wrote an article I totally agree with. It really reflects why I’m using Mac instead of Windows now.

Read about it here (Dutch), or here (Google translated, far from understandable)

IP calc

· Apple, Software

For those who have to work with IP’s and subnets, I have only one word; Bitcricket IP Calculator.

It converts decimal IP’s into binary or hexadecimal IP’s (and, the other way around too); it gives you the IP class; it calculates subnets, with the number of hosts/subnet, and gives you the number of host bits; and many more!

Shiny tool to quickly do subnet calculations. Has proven it’s use when doing the Cisco CCNA tests. ;)

Bootcamp

· Apple, Errors, Virtualisation, Windows

For a few courses I’m following at school, I need to be able to run Windows.

As I’m owning a Macbook Pro (with Leopard) that shouldn’t have to be any problem using Bootcamp.

I created a 5 Gb partition and installed WinXP a few weeks ago. So far all fine.

As I don’t really like to reboot into XP (I can’t access my mails, don’t have my IRC client, all my Camino tabs are closed, …) I tried Parallels.