Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SRLMJ23

macrumors 68020
Original poster
Jul 11, 2008
2,327
1,432
Central New York
I am just curious how I put a Host Name on my Macbook Air so when I log into my Ubee Modem/Wireless Router I know which IP address is going to which device.

I know I could just look up the IP of my Macbook and do it that way but I'd prefer to just have it show up with a name. Any help would be greatly appreciated! Thank you in advance!

PS: How would I do this on a iPhone/iPad?
 
On the Mac, open up System Preferences and click Sharing. Once there, enter in the Computer Name.

On an iOS device, just right click the device in iTunes and rename it. Sync to save changes.
 
For your Mac, open Terminal and enter the following (press return at the end of the line):

Code:
scutil --set HostName [I]desiredname[/I]

You will be prompted for your password for the change to take place after you press return.

I'm not sure about your iPhone/iPad. My router shows my iDevices by their name (found under Settings -> General -> About) without any interaction from me.
 
It's very strange. When I am in my modem/router and go to "Client List" which displays everything on the Network but under Hostname it's just blank, however, my Windows Machine does show up with a hostname...weird!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.