Archive for the Category 'System'

Don’t cut&paste and drink

Sunday, June 25th, 2006

After installing Xcode 2.3 Trung and I had some background processes runing mad. It turned out it was the bfobserver daemon used for distributed network builds (distcc?). As allways google had the answer. It was this post on the apple mailing list Evil Post. As you may imagine, we read about disabling the daemon (using the wrong way). And yes, disbaling _ALL_ your daemons is a bad thing(tm). On the bright side, I learned a lot about the boot process of OSX :)

Flush DNS Cache

Tuesday, June 13th, 2006

If you want to flush the DNS cache do:
lookupd -flushcache

Keychain import problems

Friday, May 12th, 2006

I tried to import my old Keychain backups. As it seems, Keychain tries everything to prevent it :/
It worked somehow but it was very “unmacish”. I had to copy my *.keychain files to ~/Library/Keychains and then create a new keychain with the same name as the copied files. Keychain presented me an error but imported the old keys as a side effect. Well…

Desinstaller

Friday, February 24th, 2006

Right! This one does what the name says. It looks at the .bom files in the receipts and deletes all files belonging to the package. It has a small and simple gui. Right now I am using the beta version. But it didn’t wreck my system - so it’s stable :) Desinstaller link

Tiger with Rubies

Sunday, November 13th, 2005

First I followed this howto. Then I installed the mysql gem like this: gem install mysql -- --with-mysql-dir=/usr/local/mysql. A friend pointed me to this tutorial on Onlamp.

Send only accounts in Mail.app

Wednesday, November 09th, 2005

If you are subscribed to some mailing lists with different addresses then you know the problem that only the mail address you subscribed with is accepted. Mail.app provides an elegant way to define more than one mail address. For the specific account provide the email addresses associated with that account separated with commas. Those addresses will be listed in a dropdown field when creating a new mail.

Enable IP forwarding

Tuesday, November 08th, 2005

I’ve played with ettercap and friends yesterday. One thing needed if you want the route the traffic trough your nic ist IP forwarding. Here’s how to enable it:


sysctl -w net.inet.ip.forwarding=1

Ethereal under Mac OS X

Sunday, November 06th, 2005

If you install Ethereal (Networkanalyzer) with fink, and after starting X11 you would like to use ethereal as root - then you need to setup the DISPLAY variable for X:

put this in your ~/.bash_profile:

if [[ -z $DISPLAY ]]; then
export DISPLAY=:0.0
fi