Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 12, 2012, 12:05 PM   #1
dancks
macrumors member
 
Join Date: Nov 2009
prompt changes when I'm connected to internet?

I first noticed it yesterday. It only happens at school. I'll just show the before after pics.

online:

Click image for larger version

Name:	Screen shot 2012-12-12 at 3.57.42 AM.png
Views:	9
Size:	82.8 KB
ID:	383088

offline:

Click image for larger version

Name:	Screen shot 2012-12-12 at 3.58.09 AM.png
Views:	10
Size:	64.1 KB
ID:	383089

From what I can tell thats the only thing that changes. Any ideas? Was I hacked by a pc????
dancks is offline   0 Reply With Quote
Old Dec 12, 2012, 04:38 PM   #2
rthpjm
macrumors newbie
 
Join Date: Jan 2011
Location: U.K.
DNS and DHCP

It's to do with the way your mac figures out what it's called when it starts up ( it may do this when it detects a network change too ).

What you're seeing is your hostname. Your Mac determines it's hostname from what you set in the Preferences : Sharing panel. This is what you see when you are not connected to anything (offline in your pictures), and you'll also see this if there is no DNS server running on the network.

Now when you connect to the school network, your school will have a DNS server. In this case your Mac will ask the DNS server for the name that is associated with your assigned IP address. In your case the DNS server returns the name 'Christopher-pc' and that's what your terminal prompt (and hostname) gets set to.

You have not been hacked. It's nothing to worry about.

Having the school DNS server actually reflect the correct name of your machine is a whole different discussion. You'd need to talk to your school IT team about DHCP/DNS dynamic name updates. The MacOS will do this but it can seem like smoke and mirrors, and I bet your school network is based on Microsoft products. I personally like Microsoft server's DNS and DHCP implementations, but I find Microsoft-focused IT techs can't get their heads around MacOSX. YMMV.

----------

Try putting your machine name in the System Preferences : Network : Advanced : DHCP Client ID field.

If you are lucky, your Mac will tell the school DHCP server its name, and then the school DHCP server will update the school DNS server. Magic

Last edited by rthpjm; Dec 14, 2012 at 08:17 AM. Reason: Correction to say Sharing panel, and spelling
rthpjm is offline   0 Reply With Quote
Old Dec 12, 2012, 04:45 PM   #3
blueroom
macrumors 603
 
blueroom's Avatar
 
Join Date: Feb 2009
Location: Toronto, Canada
Quote:
Originally Posted by rthpjm View Post
Try putting your machine name in the System Preferences : Network : Advanced : DHCP Client ID field.
That's a handy tip, thanks!
__________________
My iOS devices are not jailbroken.
Bill
My Blog
blueroom is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone: Apps think they are not connected to internet wordsworth03 Jailbreaks and iOS Hacks 0 Apr 3, 2014 10:28 AM
Connected to wifi but no internet risk235 OS X Mavericks (10.9) 2 Nov 28, 2013 10:56 AM
Internet Connected to Apple TV but not connected to XBMC Gator24765 Apple TV and Home Theater 1 Feb 28, 2013 11:03 PM
Ethernet Connected But No Internet WhyDoUCare Mac Applications and Mac App Store 0 Jan 3, 2013 05:34 PM
Network settings says ethernet connected is connected but no internet ri-qui Mac Basics and Help 2 Sep 21, 2012 09:30 AM

Forum Jump

All times are GMT -5. The time now is 02:38 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC