Results 1 to 2 of 2
  1. #1


    Member Since
    Mar 22, 2009
    Posts
    6
    System Preferences displays wrong hostname
    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?

  2. #2

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    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 192.168.1.50-100, 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).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. No Sharing Preferences in System Preferences 10.9.4 MBP
    By exile in forum OS X - Operating System
    Replies: 2
    Last Post: 09-22-2014, 11:22 PM
  2. System Preferences>Preferences Error
    By AndyBorzi in forum OS X - Operating System
    Replies: 10
    Last Post: 01-23-2012, 05:03 PM
  3. Wrong Photo Displays
    By Rawson819 in forum iPhone Hardware and Accessories
    Replies: 1
    Last Post: 12-06-2011, 12:53 AM
  4. Error when I try to go to Displays Preferences
    By andrewneil in forum OS X - Operating System
    Replies: 4
    Last Post: 08-05-2009, 10:17 PM
  5. System Preferences Icons in wrong place
    By jonah002 in forum OS X - Operating System
    Replies: 11
    Last Post: 03-04-2005, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •