About Adam Knight
Location
Austin, TX
Home page/site
http://www.hopelessgeek.com/
Author Biography
Adam Knight is one of the founders of Mac Geekery and is a geek at heart. Programmer by day, hacker by night, his daily life revolves around the Macintosh platform, which he has been a user and programmer for since the early days of System 7 when his LCII replaced his Apple //c.
In-between tech jobs, he’s managed to learn the basics of any web hacker: PHP, MySQL, Perl, Apache, Linux, *BSD, and the intricacies of ./configure —prefix=~/bombshelter/. Today, codepoet is concentrating on blogging again, writing some software for the Mac by himself (including Notae) and for his company (such as Photonic) and has a few other toys coming out soon. Bug him over AIM or email [link fixed].


I think this sets the Bonjour name and the host name to fred:
scutil --set LocalHostName fredscutil --set ComputerName fredFor some silly reason I was under the impression that command was only available in Server. But, of course,
scutilis part of theconfigdpackage so it’s in Mac OS X as well.So then, this is much easier. I’ll update the article.
Correct. Keep in mind that while you can use periods in the ComputerName, e.g.: sudo scutil —set ComputerName “My.MacPro”
you cannot use periods for the LocalHostName, but you can simply use dashes instead, which is what OS X would normally do if you did it from the GUI, e.g.: sudo scutil —set LocalHostName “My-MacPro”
Correct. You’ll want to keep in mind that if you use periods in your ComputerName, e.g.: sudo scutil —set ComputerName “My.MacPro”
you must use dashes for the LocalHostName, which is what OS X normally would do if you were editing it from the GUI, e.g.: sudo scutil —set LocalHostName “My-MacPro”
Post new comment