Skip to main content

Home/ Pingree Tech/ Group items tagged hostname

Rss Feed Group items tagged

Robert Ogden

Prevent the Terminal host name from changing | MacFixIt - CNET Reviews - 0 views

  • The hostname can be changed dynamically by routers and other network devices through DHCP requests, which can have the hostname keep changing every time your IP address and other DHCP information is renewed. If this is the case, you may be able to set the router to never provide hostname information, or you can set the computer to never accept a hostname change. To do this, you will need to add a line to the computer's hostconfig file using the following procedure: Open the Terminal Enter the following command: sudo pico /etc/hostconfig Authenticate, scroll to the bottom of the file, and add the following line: HOSTNAME=Tophers-Desktop (Change "Tophers-Desktop" to your desired hostname--no spaces) Save the file and quit by pressing control-X, confirming the save with the "Y" key followed by "enter".
Robert Ogden

Change the hostname in Mac OS X [osx] « Larry Gordon - 0 views

  •  
    "sudo scutil --set HostName larryx.local"
Robert Ogden

terminal questions about gethostuuid - The macosxhints Forums - 0 views

  •  
    Command allows you get the UUID of the machines on your network. Handy when manually adding machines to your workgroup manager. Especially when adding 10.7 machines to your WGM. echo "hostname: `hostname`" system_profiler SPHardwareDataType | awk '/UUID/{sub(/^[ \t]+/, "")}; NR == 17 {print}' echo "--done--"
1 - 3 of 3
Showing 20 items per page