New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

System Preferences displays wrong hostname

Post Reply New Thread Subscribe

Thread Tools

Member Since: Mar 22, 2009
Posts: 6
gamblor01 is on a distinguished road

gamblor01 is offline
I don't know why, but my 10.6 system keeps displaying the wrong hostname in System Preferences > Sharing. Whenever I enable file sharing or web sharing, it tells me that other users can connect to my system by visiting afp://rogergreenlaw or http://rogergreenlaw. That's odd because the hostname for my system is euclid! If I ssh to another system on my network (for example, my Ubuntu system) the terminal will show that the last login was from rogergreenlaw. ARGGG!!!!

I think rogergreenlaw was the hostname of my neighbor's computer...he brought it over for me to fix some things not too long ago and now for some reason my system seems to be displaying that hostname. Things get even more bizarre as his system is Windows 7.

I have checked and the text field at the top of the System Preferences > Sharing screen says "euclid". I also just recently ran "sudo scutil --set HostName euclid" and rebooted but it still shows rogergreelaw in the individual sharing panels.

How on earth can I get this machine to have the correct hostname? Right now I am running a recursive grep on / to see if I can find the bogus hostname (sudo grep -rn "rogergreenlaw" /). Any other ideas?
QUOTE Thanks

MacsWork's Avatar
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,159
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
I think this is related to DHCP addressing believe it or not.

For HaHas, change your DHCP scope to something different and reboot the Mac.

If your scope is, change it to 192.168.101-150

You may want to power cycle the router too (or refresh DHCP services and cache if it's a server service).
QUOTE Thanks

Post Reply New Thread Subscribe

« Disk check for NTFS? | Printing webpages to pdf on mac »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Random applications crashing: most importantly, System Preferences dvnyc223 OS X - Operating System 6 05-07-2010 09:40 PM
Help FAAST! System preferences crash when opening background and screensaver panel!! jafoca OS X - Operating System 4 07-17-2008 05:05 PM
Can't open System Preferences in OS 10.4.10 mitsycam OS X - Operating System 0 10-27-2007 07:34 PM
Weird System Preferences Issue scsi_transfer OS X - Operating System 2 06-05-2007 03:00 PM
help-script to modify system preferences marnold37341 OS X - Operating System 0 02-07-2004 10:37 AM

All times are GMT -4. The time now is 12:31 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?