Running OPENSTEP on Mac VirtualPC

I has not been possible to run OPENSTEP on Virtual PC for Mac for quiet a while (since V6), until now 🙂
The new update for VPC (v7.02) solves some issues which allows you to once again install OPENSTEP, the install process goes pretty smoothly aslong as you dont install any additional components (samba, aditional languages, documentations etc etc), otherwise the window manager will keep on panicing & restart cause of excessive DPS errors

OPENSTEP running on VirtualPC

Typo in Webalizer manpage

Whilst writing the weblizer.conf file for this site I came across a typo in the man page. The keyword Hostname listed in the manpage is wrong, if used the following error is spat out when webalizer is run:
Warning: Invalid keyword 'Hostname' (/etc/webalizer.conf)

The correct keyword is: HostName

PF Statistics

I’ve gone stat & monitoring crazy in the past few weeks, using Hatchet you can generate graphs & charts from the PF log files on the state of PF. Another tool is also available called pfrtg which does a similar job.

Rejoining tracks in iTunes

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.

MSN Video / Webcam support

the cvs checkout of amsn (0.95 Beta) comes with video support enabling you to use your webcam on the MSN IM network 🙂
I had problems tryinig to get the last 2 nightly builds to run on OS X 10.4
After a bit of googling around I came across a packaged version of a nightly build from a couple of days ago for OS X here

Enjoy! 🙂

17″ PowerBook xBench Results

compare results here

Results 132.93
System Info
Xbench Version 1.1.3
System Version 10.4.1 (8B15)
Physical RAM 512 MB
Model PowerBook5,7
Processor PowerPC G4 @ 1.67 GHz
L1 Cache 32K (instruction), 32K (data)
L2 Cache 512K @ 1.67 GHz
Bus Frequency 167 MHz
Video Card ATY,RV360M11
Drive Type ST9100823A
CPU Test 193.63
GCD Loop 182.83 7.14 Mops/sec
Floating Point Basic 193.07 698.23 Mflop/sec
AltiVec Basic 204.41 5.94 Gflop/sec
vecLib FFT 199.44 3.10 Gflop/sec
Floating Point Library 189.86 7.60 Mops/sec
Thread Test 137.50
Computation 97.15 1.31 Mops/sec, 4 threads
Lock Contention 235.21 2.95 Mlocks/sec, 4 threads
Memory Test 133.55
System 141.28
Allocate 771.57 503.29 Kalloc/sec
Fill 170.86 1360.08 MB/sec
Copy 71.00 354.98 MB/sec
Stream 126.62
Copy 125.39 916.62 MB/sec [altivec]
Scale 126.36 932.57 MB/sec [altivec]
Add 129.31 827.57 MB/sec [altivec]
Triad 125.50 766.79 MB/sec [altivec]
Quartz Graphics Test 149.33
Line 130.15 3.31 Klines/sec [50% alpha]
Rectangle 125.46 8.83 Krects/sec [50% alpha]
Circle 146.70 3.38 Kcircles/sec [50% alpha]
Bezier 161.82 1.76 Kbeziers/sec [50% alpha]
Text 207.00 3.37 Kchars/sec
OpenGL Graphics Test 134.70
Spinning Squares 134.70 94.27 frames/sec
User Interface Test 231.27
Elements 231.27 74.39 refresh/sec
Disk Test 69.98
Sequential 79.31
Uncached Write 86.47 36.04 MB/sec [4K blocks]
Uncached Write 58.84 24.09 MB/sec [256K blocks]
Uncached Read 152.72 24.18 MB/sec [4K blocks]
Uncached Read 65.26 26.37 MB/sec [256K blocks]
Random 62.61
Uncached Write 48.56 0.73 MB/sec [4K blocks]
Uncached Write 63.16 14.24 MB/sec [256K blocks]
Uncached Read 71.21 0.47 MB/sec [4K blocks]
Uncached Read 74.50 15.33 MB/sec [256K blocks]

Connecting to Apple Remote Desktop with VNCviewer

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 🙂

Orinoco Silver to Gold Firmware hack

A few years too late 🙂 but anyways, If you’ve got any old Orinoco based chipset cards that you’d like 128 bit WEP encryption on you can use a tool called alchemy to mod the firmware so the card is ID’d as a Gold card, then reflash the firmware to have full 128 bit wep.

You can grab a copy of Alchemy here or here

Then use the Agere firmware flash util filename to reflash the card (as It’ll flash just about any Orinoco based card), grab a copy of the tool here


My kit list:

Sun Sparc20 (quad 100mhz ross cpu’s) running Solaris 8
Sun Ultra 1E (170mhz) running Solaris 8
Sun Ultra 2 (single 200mhz) running Solaris 9
Sun Sparcengine AXI (330mhz UltrasparcIIi with 2mb l2 cache) running OpenBSD 3.6-STABLE
Dec Alphastation 250 4/266 & 255 4/300 atm not running anything but will be running OpenVMS & Tru64
P3 550 testbox, was running OpenDarwin up until a couple of days ago
P3 533 running OpenBSD 3.5-STABLE
P3 800 running Zeta YellowTAB
Dual P3-800 running Win2k3 Standard
PPro 166 running RedHat 8
Dual PPro 200 running FreeBSD 4.10
Celeron 1.3ghz running Win2k Pro
Performa 630 running A/UX
G3 12″ iBook 500mhz running OS X 10.4
G4 450 (Sawtooth) running OS X 10.3
ThinkPad T20 running Win2k Pro
APC UPS 700 & 1500
16 Port 100mbit switch
12 Port HP Procurve Switch
Netgear 802.11g Access Point
19″ Hansol monitor

Exchange Mail Box / Store Disaster Recovery

I cant recommend Ontracks PowerControls Exchange recovery tool enough, I was cought out by a exchange server last week which had gone into meltdown, PowerControls let me mount the mailstore & dump the contents of the mail boxes & public folders to pst, it also has the option to dump the contents of a store to a exchange mailbox aswell which is extremly handy if you have another server live elsewhere (which I didnt!!! but I do now 😀 )

My New Mac

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]

NetBoot OS X from a OpenBSD Server & NetInstall from a OpenDarwin NFS Server PT2

Get the PDF version of the guide here
All Info in this guide was sourced from the following pages (thnx guys) & the patch is a mod of Mike Passwalls original patch for linux (not english)

Make a patch for dhcpd on OpenBSD 3.6
Make the whole thing run on OpenBSD

NetBoot OS X from a OpenBSD Server & NetInstall from a OpenDarwin NFS Server

This project is still yet to be finished, at the moment Im using 2 box’s to carry out the installation, the aim is to have one box running OpenBSD doing everything (unfortunately there is no HFS support within the o/s & Im having problems getting mountd to accept connections from clients on a non reserved port)
I did look at FreeBSD 5.3 with HFS+ support but Its early days for the project thus the system panicked everytime I attempt to copy to the NFS share from another host.

1x PC running OpenBSD which is running a tfptd & hacked DHCPD
1x PC running OpenDarwin which has a HFS formatted volume containing the OS X install files shared via NFS
1x Mac (G3 iBook in my case)

Mac gets boot info & kernel image from OpenBSD box & boots, then connects to the OpenDarwin box & starts the GUI/Setup.

I have managed to succesfully install OS X 10.3 & 10.4 with this setup though how the install files where shared on the OpenDarwin box varied between the NetInstall of 10.3 & 10.4.

Lets go through the core part of the setup which needs to be done independent of which version of OS X you are going to be installing.

1. Install OpenDarwin, as OpenDarwin x86 runs off a UFS partition you’ll need a 2nd partition (atleast 2.2gigs if youre installing 10.4) which you’ll format as HFS so remember to partition manually. Note the partition number you’ve installed onto as you’ll need it in the next step!

2. Upon 1st boot you’ll have to manually specify the location of the root partition manually as OpenDarwin doesnt seem to find it & sits there idle.
Press enter at the prompt to specify boot time options & at the prompt enter
rd=disk#s# convention being disk “disknumber” s “partition number”
Once youre logged in edit /Library/Preferences/SystemConfiguration/ & add rd=disk#s# in the string section under the kernel flags key.

3. Now format the 2nd partition using the newfs_hfs tool
newfs_hfs -v pickaname /dev/disk#s#

4. reboot & log back in, if you look in /Volumes/ you should have a folder called pickaname (or whatever name you picked :P)

5. Using the niutil (netinfo util) you need to create a NFS share
niutil . -create /exports/Volumes/pickaname opts maproot=root:wheel
this will create a share accessible by any host to allow specific hosts use the following command:
niutil . -create /exports/Volumes/pickaname clients 192.168.0.bla
to add aditional IP addresses use the append switch:
niutil . -append /exports/Volumes/pickaname clients 192.168.0.bla

6. To start sharing run:
nfsd -t -u -n 4

you may want to add these commands to your /etc/rc to save you having to run it everytime.

7. Run ifconfig -a & note the MAC address of your network card.

1.Install OpenBSD 3.5 (in any configuration you like)
2. Download & extract the sources into /usr/src from the the OpenBSD ftp site
3. Download the patch for dhcpd
& apply to source
patch -p0 < obsd_35patch

4. goto /usr/src/usr.sbin/dhcp/server & run make
5. make a backup copy of your original dhcpd & then overwrite with your new copy
cp /usr/sbin/dhpd /usr/sbin/dhcpd.original
cp dhcpd /usr/sbin/

6. With your dhcpd in place, its onto creating the dhcp lease info. open /etc/dhcpd.conf in your editor & paste the following in & edit to your requirements, you’ll need the MAC addresses of your Mac & PC running OpenDarwin

shared-network LOCAL-NET {
option domain-name "";
option domain-name-servers,;
subnet netmask
{option routers;
default-lease-time 600;
max-lease-time 7200;
allow bootp;
not authoritative;
host ibook {
hardware ethernet 00:03:66:55:cf:b8;
filename "BootX";
server-name "";
host darwin {
hardware ethernet 00:04:55:66:dd:b5;

7. Edit /etc/dhcpd.interfaces & enter the name of the interface which dhcpd will run on, run
ifconfig -a if youre unsure of which interface.
8. Edit /etc/bootparams & specify the locations of the root & private folders that the mac will mount on boot
the convention is
hostname root=path private=path eg
ibook root= private=

9.Now onto enabling the services on boot, open /etc/rc.conf.local in your editor & add the following lines:


then open /etc/inetd.conf & uncomment
tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot

10. You’ll need to create a folder on the root of your disc called tftpboot, this folder is going to store the files to boot your mac.
11. Using your Mac or the OpenDarwin box copy the following files from your OS X disks to /tftpboot on your openbsd box:
mach_kernel rename it to: mach.macosx
Extensions.mkext rename it to mach.macosx.mkext

To Install OSX 10.3 (Panther)
As the install is spread over multiple discs & the system reboots after the 1st CD is finished, I didnt bother trying to get a full install going at once, Instead I installed the Core & BSD componenets, then rebooted, mounted the NFS share & installed the other components by hand.
1.Copy the contents of CD1 to your nfs share
pax -r -w -p e /Volumes/Mac OS X Install Disc 1/* /Volumes/pickaname/
2. On your mac you’ll need to set the following variables either at the openfirmware prompt directly or using the nvram tool within OS X

boot-device enet:
boot-args rf=nfs:

If the installer complains that there is 0 space available on your Mac to install onto then make sure you have a folder called .vol on your NFS share.

Theoretically is should be possible to install Tiger this way aswell but the installer complains that the harddisk on the Mac cannot be installed onto as the system cannot be started from that volume!!!

To Install OSX 10.4 (Tiger)
Simply copy the .dmg of the latest Beta Seed to the /Volumes/pickaname
On your mac you’ll need to set the following variables either at the openfirmware prompt directly or using the nvram tool within OS X

boot-device enet:
boot-args rf=nfs:

It should be possible to install 10.3 this way aswell though I havent tried.
If youre planing on only installing from a disk image then theoretically there is no need to create a HFS partition on the OpenDarwin box & If you can get OpenBSD to accept connections from clients on non reserved ports then the OpenDarwin box can be ditched all together.