Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Every day I come into the office and plug my mac into my Thunderbolt display. It says the name "yourcomputer" is in use and renames it "yourcomputer-2" (or -3 or -4 ...). How do I make it stop?

share|improve this question
    
Do you have the Mac hooked up to Ethernet through the Thunderbolt display? –  CajunLuke Jun 28 '12 at 17:48
    
Yes, it's ethernet through thunderbolt. –  chrismealy Jun 28 '12 at 21:18
    
is the name "yourcomputer" unique on your work's network? i.e. are there other people with Mac's that might have the same computer name or are you also connecting via a second network such as wi-fi? –  Stu Wilson Jul 7 '12 at 20:54
    
another possibility, do you plug into the same display every day or do you hot desk between multiple available Thunderbolt displays? –  Stu Wilson Jul 7 '12 at 21:15
    
nope, one laptop, one display, one unique name on the network –  chrismealy Jul 9 '12 at 23:34
show 2 more comments

1 Answer

Try making your hostname permanent by typing this command into the Terminal:

sudo scutil --set HostName yourcomputer

My hostname kept changing when I connected to the network because the router was broadcasting a different hostname, and this fixed it.

share|improve this answer
    
Thanks. I'll give that a try. –  chrismealy Jul 30 '12 at 21:58
    
If it works, would you mark the answer as accepted? Thanks! –  rsanchezsaez Aug 7 '12 at 21:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.