Archive for the ‘OS X’ Category

Running rndc without specifying a port on Mac OS X

Sunday, April 11th, 2010

The stock BIND config on Mac OS X (both client & server versions) is set to listen on TCP port 54 for control commands via rndc(8), the rndc utility however doesn’t have a config file, so it defaults to using TCP port 953, this mean it has to be invoked with -p 54 to work properly, to rectify the issue create /etc/rndc.conf & add the following to it
include "/etc/rndc.key";
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 54;
};

Improving the speed of a SawTooth G4 PowerMac

Monday, September 18th, 2006

Disable the onboard Broadcom chipset network card & stick a Intel i82558B chipset network card in the system, I used a Compaq NC3121 which can be picked up off ebay for next to nothing. The card doesn’t specifically have to be i82558B based, I think OS X supports the entire range of the Intel chipsets supported under the *BSD fxp driver.

GnuCash for OS X

Thursday, August 24th, 2006

These packages are broken, I will upload the metapackages which include the dependenices when the option works in macports (it’s not atm!!), I apologize for wasting anyones time with these!!

Now that GnuCash is included with with Darwin Ports AKA MacPorts
I’ve made a precompiled disk image to make the installation that little bit easier (the dependency list is quiet big & it takes a while to compile)
I’ve also tweaked the original GnuCash Launcher Michael Elliot made so it works with the version of GnuCash made with Darwin Ports / MacPorts (his version was for Fink & the drag & drop file feature didn’t work on tiger)
You can grab the moded launcher here

You’ll need to install the Apple X Server from your OS X Install disks if you want to use the Launcher.
To use GnuCash you’ll need a X Server installed, either the Apple version from your OS X Disks or XFree86 from Fink or Darwin Ports AKA MacPorts
You can grab a precompiled version of XFree86 4.5.0 from here

IPFW Config for use with Chillispot (Mac OS X & FreeBSD)

Wednesday, July 5th, 2006

I was sent this sample config by a guy called Karl for inclusion with the FreeBSD port (still haven’t done it yet, sorry Karl!)
It should theoretically work with OS X aswell, now all that’s left is a config for PF & all should be well.

Booting straight to the console on Mac OS X

Wednesday, May 17th, 2006

The guide on O’reilly Network covering howto bypass the OS X GUI doesn’t seem to work on 10.4.x (I haven’t verified it on previous versions yet), as the guide mentions you need to uncomment the first console entry & comment out the second entry in /etc/ttys

You then need to goto /etc/mach_init.d/ & remove WindowsServer.plist
I highly recommend that you move the file into somewhere else instead (I moved mine into /etc as it’s alot easier to roll back).

Once you’ve rebooted & logged in you should find that the system stays at the shell instead of jumping to a blank blue screen with a cursor.

Sonnet Tempo Serial ATA PCI Card not list in System Profiler

Wednesday, March 15th, 2006

Download & install the latest firmware from Sonnet Tech Support & all should be well! :)

b0 error

Monday, March 6th, 2006

You’ll receive this error if you have partitioned your disk using the 10.4.4 Disk Utility, using a Windows 98 Bootdisk run
fdisk /mbr
then run fdisk & make the partition you installed OS X on active & reboot, OS X should boot now without any probs :)

Solarwinds Screensaver for OS X

Monday, December 26th, 2005

very cool stuff, check it out!
Solarwinds Screensaver for OS X

Overlapped Extent Allocation Errors (File 123465x) Fix

Saturday, October 29th, 2005

Due to a lack of disk space I decided to zap my /System & /Library folders while my PowerBook was in Target Disk mode & connected to my G4 PowerMac, only to find out that I couldnt install Tiger when I got the PowerBook home :(
Running Disk Utility & trying to repair the disk brought up several Overlapped Extent Allocation Errors (File 123465x)

After laying a few bricks here & there as I hadn’t backed up (surprise! surprise!!!) I googled around & came up with this

As Keoneo mentions in the 3rd tip, if you make a note of the file numbers DiskUtility complains about, fire up terminal.app & run find / -inum 123456 (dont worry about any of the letters at the end of the file number)
You’ll be given the file name of the offending file number, unfortunately you cant actually delete the individual file, you have the delete the folder which the file is in by typing the following command in terminal.app rm -rf /path/to/offending/file/
If you are doing all this from the OS X install Disk or if you have connected the broken disk/System to a healthy Mac add /Volumes/*disk_label*/ to the beginning of the path e.g if your broken disk is called "Macintosh HD" you would issue the follwing command
rm -rf /Volumes/Machintosh\ HD/path/to/offending/file/
note the backslash between the word Macintosh & HD, you need to have that in so the shell understands that whatever you are referring to has a space in otherwise it treats the text either side of the space as two seperate things which wont work!!
Once you have removed the offending files, run repair disk in Disk Utility again & all should be well again!! :D

Verify and Repair disk "Macintosh HD"
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Incorrect number of thread records
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Volume Bit Map needs minor repair
Checking volume information.
Invalid volume file count
(It should be 29573 instead of 466435)
Invalid volume directory count
(It should be 5662 instead of 80007)
Invalid volume free block count
(It should be 5920335 instead of 1269081)
Volume Header needs minor repair
Repairing volume.
Rechecking volume.
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume Macintosh HD was repaired successfully.
Mounting Disk

1 HFS volume checked
Repair attempted on 1 volume
1 HFS volume repaired

Improving Virtual PC performance under OS X

Saturday, August 20th, 2005

From the Application Preferences in Virtual PC install the script menu. Then pick the VM from the Virtual PC list you’d like to speed up, goto the Virtual PC Scripts section in the script menu & choose Toggle System Disc Cache.

Rejoining tracks in iTunes

Sunday, July 3rd, 2005

I imported a bunch of mix CD’s into iTunes a while back but forgot to import them as one whole track which made it rather tedious to listen to. Using ReJoiner you can merge the individual tracks of a CD with little fuss.

Beware, you may have to use wget from the terminal to download the zip or sitx archive.

1st Post from the Dashboard

Wednesday, June 15th, 2005

I found this cool Tiger widget for posting to a wordpress blog, its called WordPressDash

Connecting to Apple Remote Desktop with VNCviewer

Thursday, March 31st, 2005

To access you mac’s desktop remotely using vncviewer you’ll need to install the Apple Remote Desktop Client 2.1 update which you can download from here
Then goto the Sharing preferences panel located in System Preferences, tick the Apple Remote Desktop tick box under the Services Tab & press the Access Priveleges button, set the permissions as you’d like & tick the VNC viewers can control screen with password box & specify a password in the box provided.
You can now connect to your mac using vncviewer from any machine :)

My New Mac

Thursday, March 17th, 2005

Picked up a new adition to my GeekLAN today a G4 450 Sawtooth, upped the ram from 128mb to 640mb, currently hunting for a new graphics card to go in the system.

heres the results from xBench, you can compare online here
Results 63.68
System Info
Xbench Version 1.1.3
System Version 10.3.8 (7U16)
Physical RAM 640 MB
Model PowerMac3,1
Processor PowerPC G4 @ 450 MHz
Version 7400 (Max) v2.8
L1 Cache 32K (instruction), 32K (data)
L2 Cache 1024K @ 225 MHz
Bus Frequency 100 MHz
Video Card ATY,Rage128Pro
Drive Type IBM-DPTA-372050
CPU Test 52.00
GCD Loop 42.43 1.66 Mops/sec
Floating Point Basic 66.92 242.02 Mflop/sec
AltiVec Basic 36.98 1.07 Gflop/sec
vecLib FFT 53.84 835.88 Mflop/sec
Floating Point Library 83.07 3.33 Mops/sec
Thread Test 41.93
Computation 28.97 391.08 Kops/sec, 4 threads
Lock Contention 75.87 952.41 Klocks/sec, 4 threads
Memory Test 74.90
System 83.23
Allocate 373.66 243.74 Kalloc/sec
Fill 72.16 574.42 MB/sec
Copy 51.25 256.26 MB/sec
Stream 68.09
Copy 73.91 540.29 MB/sec [altivec]
Scale 74.83 552.27 MB/sec [altivec]
Add 61.23 391.86 MB/sec [altivec]
Triad 64.42 393.62 MB/sec [altivec]
Quartz Graphics Test 72.89
Line 57.11 1.45 Klines/sec [50% alpha]
Rectangle 67.59 4.76 Krects/sec [50% alpha]
Circle 69.42 1.60 Kcircles/sec [50% alpha]
Bezier 73.63 800.05 beziers/sec [50% alpha]
Text 120.41 1.96 Kchars/sec
OpenGL Graphics Test 80.39
Spinning Squares 80.39 56.25 frames/sec
User Interface Test 105.93
Elements 105.93 34.07 refresh/sec
Disk Test 55.88
Sequential 60.82
Uncached Write 55.46 23.12 MB/sec [4K blocks]
Uncached Write 54.61 22.36 MB/sec [256K blocks]
Uncached Read 88.95 14.08 MB/sec [4K blocks]
Uncached Read 55.00 22.22 MB/sec [256K blocks]
Random 51.69
Uncached Write 31.08 0.47 MB/sec [4K blocks]
Uncached Write 59.90 13.51 MB/sec [256K blocks]
Uncached Read 75.04 0.50 MB/sec [4K blocks]
Uncached Read 65.81 13.54 MB/sec [256K blocks]

OSX Boot CD Creator

Wednesday, November 3rd, 2004

I came across this neat util today called BootCD which lets you create a bootable OSX cd with your choice of tools for those emergancy situations!!

XBench Results

Sunday, October 31st, 2004

System Spec & benchmark results of my 12″ iBook
You can compare your results online here
Results 28.66
System Info
Xbench Version 1.1.3
System Version 10.3.5 (7M34)
Physical RAM 256 MB
Model PowerBook4,1
Processor PowerPC G3 @ 500 MHz
Version 750CXe v2.4 v2.5
L1 Cache 32K (instruction), 32K (data)
L2 Cache 256K @ 500 MHz
Bus Frequency 67 MHz
Video Card ATY,RageM3
Drive Type TOSHIBA MK1017GAP
CPU Test 21.88
GCD Loop 36.86 1.44 Mops/sec
Floating Point Basic 62.30 225.29 Mflop/sec
vecLib FFT 7.96 123.57 Mflop/sec
Floating Point Library 71.46 2.86 Mops/sec
Thread Test 39.37
Computation 27.76 374.72 Kops/sec, 4 threads
Lock Contention 67.68 849.69 Klocks/sec, 4 threads
Memory Test 15.30
System 15.89
Allocate 344.83 224.93 Kalloc/sec
Fill 12.87 102.42 MB/sec
Copy 9.24 46.21 MB/sec
Stream 14.76
Copy 13.89 101.51 MB/sec
Scale 13.51 99.70 MB/sec
Add 15.74 100.73 MB/sec
Triad 16.29 99.55 MB/sec
Quartz Graphics Test 38.91
Line 36.91 941.80 lines/sec [50% alpha]
Rectangle 42.64 3.00 Krects/sec [50% alpha]
Circle 43.94 1.02 Kcircles/sec [50% alpha]
Bezier 41.58 458.64 beziers/sec [50% alpha]
Text 32.10 523.27 chars/sec
OpenGL Graphics Test 54.63
Spinning Squares 54.63 38.23 frames/sec
User Interface Test 41.95
Elements 41.95 13.49 refresh/sec
Disk Test 25.01
Sequential 24.71
Uncached Write 21.22 8.85 MB/sec [4K blocks]
Uncached Write 21.16 8.67 MB/sec [256K blocks]
Uncached Read 46.04 7.29 MB/sec [4K blocks]
Uncached Read 21.85 8.83 MB/sec [256K blocks]
Random 25.31
Uncached Write 17.32 0.26 MB/sec [4K blocks]
Uncached Write 24.20 5.46 MB/sec [256K blocks]
Uncached Read 39.93 0.26 MB/sec [4K blocks]
Uncached Read 29.43 6.06 MB/sec [256K blocks]