Link to home
Start Free TrialLog in
Avatar of ISSit
ISSit

asked on

Names on Mac

We have the strangest of situations.  We have received and imaged 30 macBook systems using DeployStudio.  Looking at several of the systems, the name of the system is different from what is in the Sharing - Computer Name and what shows up when you check Remote Login.  In this case the verbage is- Computer Name: teachspare-mac02, Remote login:  "To log in ... type ssh admin@mc09-macsys-16...
If I check terminal the mc09 name is there.  Stranger still is that if I click edit under Sharing and then click okay, the name mentioned above on remote login changes briefly and then back to mc09... as if it was picking this up from somewhere.  Cannot remote control systems.  How can we fix this naming inconsistency?
Avatar of et01267
et01267

Check the /etc/hosts file on the machine, or maybe you have a local DNS server.  The name in the ssh command is coming from the /etc/hosts file or possibly DNS.  

Change the /etc/hosts to be consistent with the name you desire.
Do you have more than one account on the Mac?
Avatar of ISSit

ASKER

Strung:The systems were newly imaged, so there are no other accounts

et01267: isn´t the /etc/hosts associated with pc´s?
Avatar of ISSit

ASKER

et01267, sorry, I am relatively new to Macs so did not realize.  I see the hosts file on my home system, will check the problem system tomorrow.
Who is setting the computer names? Is your deploy studio giving out names or is the server?
Have you tied the names to the mac addresses?

The way I do it, I use apple net restore, I setup computer names first and let the server give out all the names. I image a computer and when I need to reinstall, they would all get their names via server.

My main poit is check who is giving computer names out, in server admin, under preferences for computers.


You definitely have a local DNS server there, most probably tight to DHCP server which is giving away IP addresses. Maybe a Windows server?
ASKER CERTIFIED SOLUTION
Avatar of et01267
et01267

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial