Skip to main content
Clean up explanation of image. Don't use "Edit:" - we have revision control, we don't need "Edit:" markers.
Source Link

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from what google gives memy public IP address.

Edit: What I mean by what google I looked up my public IP lookupaddress using Google, like this:

enter image description here

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from what google gives me.

Edit: What I mean by what google IP lookup:

enter image description here

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from my public IP address. I looked up my public IP address using Google, like this:

enter image description here

added 130 characters in body
Source Link
sodiumnitrate
  • 807
  • 5
  • 15
  • 22

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

Edit: It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from what google gives me.

Edit: What I mean by what google IP lookup:

enter image description here

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

Edit: It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from what google gives me.

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from what google gives me.

Edit: What I mean by what google IP lookup:

enter image description here

Source Link
sodiumnitrate
  • 807
  • 5
  • 15
  • 22

hostname returns another device's name

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:

Last login: Fri May  1 15:52:42 on ttys000
SomeonesiPhone:~ irem$

SomeonesiPhone:~ irem$ hostname
SomeonesiPhone.wireless.duke.local

What's going on and how can I fix this?

Edit: It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from what google gives me.