Simon Kelley | 3d8df26 | 2005-08-29 12:19:27 +0100 | [diff] [blame] | 1 | {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf100 |
| 2 | {\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 Monaco;} |
| 3 | {\colortbl;\red255\green255\blue255;} |
| 4 | \paperw11900\paperh16840\margl1440\margr1440\vieww11120\viewh10100\viewkind0 |
| 5 | \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural |
| 6 | |
| 7 | \f0\fs24 \cf0 1. If you've used DNSenabler, or if you're using Mac OS X Server, or if you have in any other way activated Mac OS X's built-in DHCP and/or DNS servers, disable them. This would usually involve checking that they are either set to -NO- or absent altogether in |
| 8 | \f1 /etc/hostconfig |
| 9 | \f0 . If you've never done anything to do with DNS or DHCP servers on a client version of MacOS X, you won't need to worry about this; it will already be configured for you.\ |
| 10 | \ |
| 11 | 2. Add a configuration item to |
| 12 | \f1 /etc/hostconfig |
| 13 | \f0 as follows:\ |
| 14 | \ |
| 15 | |
| 16 | \f1 DNSMASQ=-YES- |
| 17 | \f0 \ |
| 18 | \ |
| 19 | 3. Create a system-wide StartupItems directory for dnsmasq:\ |
| 20 | \ |
| 21 | |
| 22 | \f1 sudo mkdir -p /Library/StartupItems/DNSmasq\ |
| 23 | |
| 24 | \f0 \ |
| 25 | 4. Copy the files |
| 26 | \f1 DNSmasq |
| 27 | \f0 and |
| 28 | \f1 StartupParameters.plist |
| 29 | \f0 into this directory, and make sure the former is executable:\ |
| 30 | \ |
| 31 | |
| 32 | \f1 sudo cp DNSmasq StartupParameters.plist /Library/StartupItems/DNSmasq\ |
| 33 | sudo chmod 755 /Library/StartupItems/DNSmasq/DNSmasq\ |
| 34 | |
| 35 | \f0 \ |
| 36 | 5. Start the service:\ |
| 37 | \ |
| 38 | |
| 39 | \f1 sudo /Library/StartupItems/DNSmasq/DNSmasq start\ |
| 40 | |
| 41 | \f0 \cf0 \ |
| 42 | That should be all...} |