Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'step by step for us dummies' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
step by step for us dummies
Authored by: g4macuser on Feb 01, '03 08:04:31AM
Section 1
Open the Terminal App

Enter the following command:

sudo pico /etc/hostconfig

when prompted for your password, enter it and hit return

Add an entry at the bottom looking like this:

ISHARING=-YES-

Use the key command Control - X to exit
Hit the Y key for yes
Enter or Return

This is just for having an easy way of disabling
this feature if you want to. Change -YES- to -NO- and it will not start on boot.


Section 2
Next, you need to create a new StartupItems directory and the required startup files.
Do this by typing each of the following lines at the% prompt and hitting enter or return after each line:

cd /Library/StartupItems/
sudo mkdir ISharing
cd ISharing
sudo pico ISharing



The last step will open the pico editor on a new, blank "ISharing" file. In this file, copy and paste the following:
#!/bin/sh

. /etc/rc.common

##
# Start up Internet Sharing
##

if [ "${ISHARING:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting Internet Sharing"
/usr/libexec/InternetSharing
fi


Use the key command Control - X to exit
Hit the Y key for yes
Enter or Return


Section 3
Enter the following command:

sudo pico StartupParameters.plist

When prompted for your password, enter it and hit return

Copy and paste the following into the blank file just like above:
{
Description = "Internet Sharing";
Provides = ("ISharing");
Requires = ("Network", "NetworkExtensions", "Resolver");
OrderPreference = "Late";
Messages =
{
start = "Starting Internet Sharing";
stop = "Stopping Internet Sharing";
};
}


Use the key command Control - X to exit
Hit the Y key for yes
Enter or Return


Section 4
Just one more thing, making sure the permissions are right. Do this by typing each of the following lines at the% prompt and hitting enter or return after each line:

sudo chmod 755 ISharing
sudo chown root:wheel ISharing
sudo chown root:admin StartupParameters.plist
sudo chmod 644 StartupParameters.plist


Type exit to end your Terminal terminal session

Now restart your machine.

[ Reply to This | # ]
step by step for us dummies
Authored by: JiveGuy on Apr 08, '03 07:51:25PM

First post worked fine for me under 10.2.4

Thanks.



[ Reply to This | # ]
Works great with Airport under 10.2.8
Authored by: alexanderklar on Dec 03, '03 04:41:18AM

A great thank you for the original post and this refined step-by-step explanation. I am using my iMac 17" flat panel with Mac OS 10.2.8 as an "Airport base station" - and the hint works great. I just start up the computer and the Airport Icon in the menu bar shows that arrow pointing upwards just as I like it. :-)

Thanks, thanks, thanks!



[ Reply to This | # ]