Archive

Archive for the ‘Mac’ Category

WebDAV on Gentoo with Mac Client

July 20th, 2007

I recently replaced samba on my home server (i.e. old desktop) with WebDAV for use with my Mac. I was having issues with the samba connection dying. Part of this was that I was automounting the samba drives using the Netinfo Manager which meant that I couldn’t unmount and remount the usual way.

I found this post which outlined a more usable automount on the Mac using AppleScript.

As for WebDAV, I know there are issues with Windows but for windows, I’ve left the Samba share going. I decided to give it a go as I thought the Mac support might be a bit better. So far it’s been no problem. My home server is on Gentoo, so I used this guide

I have found that doing the username:password@server thing in the URL didn’t work (for me). I also didn’t have much luck with SSL which might have been something to do with my self-signed expired certificate with non-matching hostname :-)

Linux, Mac

mplayer broken on my mac

April 11th, 2007

I use mplayer a bit on my mac to play AVIs and stuff and I find recently that it has broken. I get a Error locating symbol - dlcompat: Symbol "_JVTDecoOpen" not found as the final words. Apparently this is to do with a Quicktime update to version 7.1.5. Bummer.

I am using VLC in the meantime and I’ll have to just resort to linux for my video crunching needs until I find a fix. (Or more exactly, my crappy linux box which runs an excellent OS called linux)

Linux, Mac

Wake up Mac

April 10th, 2007

Without wanting to install insomiaX or sleepless, I wanted my iBook to wake up for an off-peak broadband podcast run.  In the power saving settings there is a scheduled startup but this appears not to be a wake-up so if the computer is on but sleeping, it will remain dormant and not run my podcast cron job.

Last night, I tried doing a scheduled power down at midnight followed by a scheduled wake and it worked!  So the trade-off is that I can’t leave things running overnight on my iBook – which I rarely do anyway.

I’m using the old

00 5 * * * osascript -e 'tell application "iTunes" to updateAllPodcasts'

trick to get my podcasts.

Mac

Setting up on slicehost

April 7th, 2007

I’ll post some more details later but I’ve recently leased a ‘slice’ on slicehost and have been installing virtualmin to manage some domains that I want to manage there.

The real point of this post is to remind myself of this handy command

lookupd -flushcache

which tells osx to reread the /etc/hosts file. This allows me to check that my websites are working ok with the virtual domains configured without having to change my DNS settings. Effectively, I put an entry in the /etc/hosts file to override the DNS lookup so that I can check my site out.

I tried using Netinfo Manager to do this but it didn’t seem to want to work. So /etc/hosts and the flushcache thing was the go. (I’m on osx 10.3.9)

[tags]mac, osx, dns, slicehost, virtual domain[/tags]

Mac