Ik heb: Apple Mac mini "Core 2 Duo" 2.0 Specs (MB139LL/A)
Specific products affected
Use Macports on CMDLINE:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH
cat <<HERE >> ~/.profile export PATH=/opt/local/bin:/opt/local/sbin:\$PATH export MANPATH=/opt/local/share/man:\$MANPATH HERE
cat <<HERE >> ~/.bash_profile export PATH=/opt/local/bin:/opt/local/sbin:\$PATH export MANPATH=/opt/local/share/man:\$MANPATH HERE
port -v selfupdate port list port search ghost* port install ghostscript
Remove TUN/TAP: sudo -i rm /Library/Extensions/tap.kext rm /Library/Extensions/tun.kext rm /Library/StartupItems/tap rm /Library/StartupItems/tun
Dump USB info:
ioreg -c IOSerialBSDClient
Although similar in theoretical maximum transfer rate, FireWire 400 tends to have the performance edge over USB 2.0 Hi-Speed in real-world uses, especially in high-bandwidth use such as external hard-drives. The newer FireWire 800 standard is twice as fast as FireWire 400 and outperforms USB 2.0 Hi-Speed both theoretically and practically.
> cat /Library/StartupItems/AddRoutes/AddRoutes
#!/bin/sh
# Set up static routing tables
# Roark Holz, Thursday, April 6, 2006
. /etc/rc.common
StartService ()
{ ConsoleMessage "Adding Static Routing Tables"
route add -net 172.16.0./12 172.24.2.60
}
StopService ()
{ return 0 }
RestartService ()
{ return 0 }
RunService "$1"
> cat /Library/StartupItems/AddRoutes/StartupParameters.plist
{
Description = "Add static routing tables";
Provides = ("AddRoutes");
Requires = ("Network");
OrderPreference = "None";
}
chmod 755 AddRoutes StartupParameters.plist
> ioreg -l -p IODeviceTree | grep firmware-abi
| | "firmware-abi" = <"EFI64">
Hold down the '6' and '4' keys when the Mac starts up (until the Apple log).
Edit this file:
/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
Insert arch=x86_64 into the Kernel Flags field:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>arch=x86_64</string> </dict> </plist>