Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Hostname is screwed up in Sys. prefs and Terminal. Need help.

Hostname is screwed up in Sys. prefs and Terminal. Need help.
Thread Tools
Mac Elite
Join Date: Feb 2001
Location: Canaduh
Status: Offline
Reply With Quote
Apr 17, 2004, 03:04 AM
 
Something has been messing up settings on my computer. Normally, when I opened a new Terminal shell, my IP address was displayed before the prompt. And in the Sharing pane in System Prefs, my IP address would be displayed when I turned on one of the sharing services, such as FTP.

However, now when I open a Terminal shell or turn on FTP, my MAC address is displayed, instead. For example, when I enable FTP access, OS X informs me that "Other people can access your FTP server at ftp://s0106000384ffdd2.vc.rogerscable.net/".

What the hell happened to change this? The only thing I did was uninstall Xcode. Is there a XML pref file or a host file that stores this setting? If so, can I delete or edit it?
     
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 17, 2004, 08:32 AM
 
The only thing that happened is that your ISP added a domain name for your IP address. There's not much you can do about it since your address is dynamic.

Wade
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
Apr 17, 2004, 08:52 AM
 
You can still give other people your IP address if you prefer. The IP address and the domain name both represent the same thing and are interchangable.

Chris
     
Spliff  (op)
Mac Elite
Join Date: Feb 2001
Location: Canaduh
Status: Offline
Reply With Quote
Apr 17, 2004, 03:02 PM
 
Originally posted by wadesworld:
The only thing that happened is that your ISP added a domain name for your IP address. There's not much you can do about it since your address is dynamic.

Wade
No, the domain name was always in my Sharing pane and my IP was always in my Terminal shell. What has changed is that in the Sharing pane, my MAC address has been added in front of the domain name. And in a Terminal shell, the IP address has been replaced by my MAC address.

This occurred when I uninstalled the Develper's Tools.
     
tRr
Dedicated MacNNer
Join Date: Aug 2002
Location: Toronto
Status: Offline
Reply With Quote
Apr 17, 2004, 03:15 PM
 
Rogers has done this in my area for along time now, I bet they just changed your area to do the same.

I believe you can have the terminal display anything you want by following this guide:

http://www.osxfaq.com/tips/dokushoka/index.ws
     
Spliff  (op)
Mac Elite
Join Date: Feb 2001
Location: Canaduh
Status: Offline
Reply With Quote
Apr 17, 2004, 03:28 PM
 
Originally posted by tRr:
Rogers has done this in my area for along time now, I bet they just changed your area to do the same.
I've never considered that my ISP could've changed something on their end. I'll give them a call to see if they did. Thanks.
     
tRr
Dedicated MacNNer
Join Date: Aug 2002
Location: Toronto
Status: Offline
Reply With Quote
Apr 17, 2004, 04:03 PM
 
Originally posted by Spliff:
I've never considered that my ISP could've changed something on their end. I'll give them a call to see if they did. Thanks.
No problem, I remember being confused by it when it happened to me... I'm behind a router now so I'm shielded
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Montréal, QC
Status: Offline
Reply With Quote
Apr 18, 2004, 09:56 PM
 
Something like this happened to me and drove me nuts. I am on a mixed network (the only thing that makes this network mixed is my PowerBook, actually). All Active Directory, ISA and all that crap. I finally got authenticated, and every time I was, my hostname ended up having an extra hostname (two hostnames in one) of a nearby Windows machine. For example, I'd open up Terminal and see:

Welcome to Darwin!
-another name-
-my machine's name-username$

This also led to extra pages being printed on Windows network printers, further testing my sanity.
I edited the hostconfig file, and changed the HOSTNAME: -AUTOMATIC- to HOSTNAME: -my machine's name-, rebooted, and was cured.
     
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 19, 2004, 12:57 PM
 
Originally posted by Musti:
Something like this happened to me and drove me nuts. I am on a mixed network (the only thing that makes this network mixed is my PowerBook, actually). All Active Directory, ISA and all that crap. I finally got authenticated, and every time I was, my hostname ended up having an extra hostname (two hostnames in one) of a nearby Windows machine. For example, I'd open up Terminal and see:
Good, glad I am not the only one seeing this "issue". It doesn't always happen when I connect, but does cause some randon problems. For example, X-Chat Aqua would never connect and always gave an obscure USER: Not enough parameters error. I watched the process from the terminal to see what it was doing, and because of the two hostnames, a linebreak was being added to the USER command.

My hix has been to toss a "sudo hostname dragonbook" into my script that sets my network location automaticially.

Never saw this issue under 10.2 on the same network.
<This space under renovation>
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 09:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2