In message <[EMAIL PROTECTED]>
on Sat, Feb 19, 2005 at 12:48:12AM +0800, Paul Kitchener wrote:
> Mine is \\localhost\administrator but I thought it should be
> \\192.168.1.2\administrator, could someone clear this up for me
> please?
What Computer Name have you set up in your Sharing Preferences?
Is it blank? If so, you need to provide a name.
If that still doesn't work:
If you open up the Terminal and enter the word "hostname" (without the
quotes, and followed by the return key), what does it print? Does it
print "localhost" or "192.168.1.2"? Also, if you are able to examine the
file named "hostconfig" in the folder "/etc", does it contain the
following line?
HOSTNAME=-AUTOMATIC-
FYI it looks like the process for setting the hostname automatically is
located in the following file:
/System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostname
(That's a UNIX path.) From this file, the process appears to be:
1/ If hostconfig's HOSTNAME is a value other than -AUTOMATIC-, then use
that value. Otherwise, proceed to the next step.
2/ Identify the default network interface (e.g. Ethernet, AirPort, PPP,
loopback). Proceed to the next step.
3/ Use Apple's ipconfig tool to find out the shared or public hostname
of the default network interface, and then use that. If this fails (e.g.
DNS has no entry for the IP address), then proceed to the next step.
4/ Use the hostname from Sharing Preferences. If this is empty,
proceed to the next step.
5/ Set the hostname to "localhost".