aspose file tools*
The moose likes Mac OS and the fly likes Machine name is changed upon joining a network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Machine name is changed upon joining a network" Watch "Machine name is changed upon joining a network" New topic
Author

Machine name is changed upon joining a network

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hey,
My machine name is gitano-mac
This name appears when launching the terminal.
gitano-mac:~ john$
But when I'm joining our company WiFi network, the terminal shows my friends's machine name at the terminal !!

my-friend:~ matt$

Not enough? my friend's laptop isn't even connected to the network
Today is the first time this happened.
I'm using DHCP and even when I renew the DHCP, I got the same IP
What is going wrong?

MacBook Pro
SL 10.6.2
Access via airport
FireWall enabled
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I just had the same thing happen (got my first Mac over the weekend).

When I connected the network (with an ethernet cord, no wireless) the machine name took on the name of a consultant's machine who was in the office a couple weeks ago. I'm guessing he was the last person to have that DHCP assigned IP address.

I was able to change it by running the hostname command as root but it reverted to the same thing when I connected this morning.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Consider Paul's rocket mass heater.
 
subject: Machine name is changed upon joining a network