Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Wrong computer name in Terminal

Not sure if this is an OD question, but that's my best guess.

Where I work we have about 20+ Macs connected on a Windows network. I noticed just recently that my Mac is showing a different computer name on the prompt in Terminal (it's actually the name of another PC on the network.) When I go to preferences and view the computer name in Sharing, it shows the correct name in the computer name field, but down below where it shows you what addresses to use to connect to the computer, it shows the other computer's name in the URLs.

Here's the weird part. If I try to connect to my computer using that other computer's name, the attempt times out. If I use the name I have typed into the computer name field, it works fine.

In other words, everything appears to work just fine but it's displaying the name of another computer (a PC) in some places.

I tried looking at the Active Directory settings in Directory Access. Originally, it listed the other user's computer name there. I changed it after a few failed attempts (it kept inserting the other user's computer name in there.)

I'm not sure where to begin. Any suggestions where I should look to correct this?

Mac OS X (10.4.2)

Posted on Dec 28, 2006 7:29 PM

Reply
Question marked as Best reply

Posted on Dec 29, 2006 11:46 PM

Try entering the computername in DHCP-client-ID: filed in Network preferences. It might update the Windows DHCP -> (reverse) DNS correctly then

You could also enter it in /etc/hostconfig

HOSTNAME=<your hostname>

I don't know why Windows DNS sometimes shows a changing list of the past 10 or so computers that had your IP previously if you do :

host -v <your machines current IP numer>

repeatedly.
2 replies
Question marked as Best reply

Dec 29, 2006 11:46 PM in response to Rick Anderson

Try entering the computername in DHCP-client-ID: filed in Network preferences. It might update the Windows DHCP -> (reverse) DNS correctly then

You could also enter it in /etc/hostconfig

HOSTNAME=<your hostname>

I don't know why Windows DNS sometimes shows a changing list of the past 10 or so computers that had your IP previously if you do :

host -v <your machines current IP numer>

repeatedly.

Wrong computer name in Terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.