Terminal shows iPhone instead of MacBook Pro

I'm relatively new to Mac, but otherwise computer literate.  Have had occasion to go into Terminal to try to execute a couple of commands, but... everytime I open Terminal, it shows iPhone as the computer name instead of my MacBook Pro.  I haven't connected an iPhone to this MacBook in months (and in fact I no longer even own that iPhone).  How did this get changed, and more importantly, how can I change it back to the proper path?

The 'bash' shell does a reverse DNS lookup on your IP address, and then displays that as your computer name.  If no external DNS server responds, then the Mac will use the name in System Preferences -> Sharing
So there is a good chance your home router is your local DNS server, and it has associated your IP address with your iPhone, and is returning that name when 'bash' ask what name is associated with your IP address.
You can ignore this if you want.  It is harmless.
You can try beating up your home router for being stupid.
You can create a 'bash' initialization file and specify your own prompt
nano ~/.bash_profile
PS1="$(networksetup -getcomputername):\W \u\$ "
which will always return your System Preferences -> Sharing computer name
Message was edited by: BobHarris

Similar Messages

  • HT1338 i lost my iphone and my macbook pro does not show the icloud in system pref. What do i do? how do i download icloud?

    I lost my iphone and my macbook pro does not show the icloud in system pref. how do i get icloud on my mac?

    iCloud is only available in Lion, 10.7. You will have to upgrade to Lion in order to get into iCloud. If you transfered a .mac or .me address to iCloud through mobile me, or you have another device iCloud enabled, then you can log into the iCloud.com website.

  • My iphone wont turn on, the screen is just barely lit and has a greyish appearance; plus when i plug in my iphone to my macbook pro it doesnt show up in my itunes

    my iphone wont turn on. the screen is just barely lit and has a greyish appearance; plus when i plug in my iphone to my macbook pro it doesnt show up in my itunes. what do i do?

    http://support.apple.com/kb/ht1808

  • Bluetooth from iPhone 3GS to MacBook Pro not working?

    I am having (seemingly) bluetooth connection issues with "some" devices to my MacBook Pro.  I note:
    * Mouse pairs fine
    * iPhone 3GS does not remain connected (focus of this forum question)
    Error - after pairing my iPhone 3GS to my MBP I get an error:
    The Bluetooth Network is Unavailable
    There was an error connecting your device.  Make sure the device is turned on and in range.
    Notes:
    * MacBook Pro details:
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro6,2
      Processor Name:          Intel Core i7
      System Version:          Mac OS X 10.7.3 (11D50b)
    Background: Ultimately interested in teethering my iPhone 3G data connection to my MacBook Pro, but for the moment the bluetooth connection won't even remain in place.

    nothing in these articles helped unfortunately - some more clarification:
    tethering via USB from iPhone 3G to MacBook Pro => WORKS
    tethering via Bluetooth => does NOT work, with bluetooth connectioning not staying up
    During pairing process:
    devices "see each other"
    pairing appears to work, then you see that the connection drops out directly afterwards (almost immediately)
    on iPhone message = "Connection Unsuccessful - XXX's MacBook Pro is not supported"
    on MacBook - it's just the connection in Bluetooth options shows up as not connected
    in /var/log/system I see some bluetooth related lines:
    Apr 18 19:33:14 Gregs-MacBook-Pro bnepd[18950]: [IOBluetoothDevice instantiateChannel] BluetoothHCIAuthenticationRequested failed (0x0006), so retry
    Apr 18 19:33:14 Gregs-MacBook-Pro sandboxd[18966] ([18950]): bnepd(18950) deny mach-lookup com.apple.blued
    Apr 18 19:33:14 Gregs-MacBook-Pro bnepd[18950]: [IOBluetoothDevice instantiateChannel] BluetoothHCIAuthenticationRequested failed (0x0006), so disconnect device
    Apr 18 19:33:53 Gregs-MacBook-Pro blued[22]: Removing Bluetooth configured device: 00-26-08-23-23-9d
    Any other ideas?  Is it a physical problem with my MBP?  but then again my bluetooth mouse stays connected ok.  And in terms of the iPhone well it tethers fine to the iPad via bluetooth....

  • Purchased a song from iTunes on my iPad but its not showing up on my MacBook Pro

    Purchased a song from iTunes on my iPad but its not showing up on my MacBook Pro? When I purchase on my Mac it always shows up. Checked. Can't download again from recent downloads and I tried to purchase again just to see and it wants to charge me.

    Hi OP
    Did this sort your problem? I have the same one too. Purchased tracks on my iPad not showing up on MBP or iPhone. Itunes wants to charge me for it againa dn again!
    Anyone?

  • Transferring Photos from iPhone 4 to MacBook Pro via Wi-fi or Bluetooth?

    Can it be possible to transfer photos from iPhone 4 to MacBook Pro via Wi-Fi, Bluetooth or apps from the app store?

    You may want to take a look at DropBox instead. Details here:
    https://www.dropbox.com/features
    2 GB of free storage, an app for the iPhone & a client for your Mac/PC.
    ~Lyssa

  • Can't pair iPhone 5s with Macbook Pro via Bluetooth

    I have an iPhone 5s and Macbook Pro with retina display (running on iOS 8.0.2 and Yosemite respectively). For some reason, my iPhone can never see my MBPr but the MBPr can see the iPhone. Pressing the "Pair" button on in the Bluetooth setting panel in OS X will trigger the pairing confirmation to show up on my iPhone. After confirming the pair request, the devices remain connected for no more than 2 seconds. Then they just disconnect. (The status is "Not connected" underneath my iPhone on the Devices list in OS X)
    This has been bugging me for a while, even before I upgraded to iOS 8 and Yosemite. I was hoping the upgrade will solve the issue but apparently not. My iPad  on the other hand has no problem in connecting and remaining connected to my MBPr. That's just baffling.
    Just some context: the reason why I wanted to connect my MBPr and my iPhone via Bluetooth is because I want to use my my iPhone as the hotspot. Yes, I can use the USB cable, but can't blame me for trying the wireless route (And no, connecting via wifi doesn't  work)
    Any help is appreciated!

    Hi ddfaulk,
    Thanks for using Apple Support Communities.  This article has some steps you can try if you're unable to pair your iPhone 5s to your MacBook Pro over Bluetooth:
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/ts2756
    Cheers,
    - Ari

  • Having trouble with syncing calendars between iPhone 5s, iPad, MacBook Pro after changing apple id

    I signed out of an old apple id on my iPhone 5s and signed in with a current apple id.  Backed up my iPhone to the cloud.  After this, I lost the calendar information on my MacBook Pro (Phone and MacBook Pro used to have calendars that were synced).  I also signed in to an iPad with this current apple id.  I have checked the apple id that I am signed into on all 3 devices (iPhone 5s, MacBook Pro, iPad 2) and it is the same on all 3.  The phone has my calendar info.  The MacBook Pro and the iPad are blank, but they do communicate because I can send a test appointment and it will show up on the MacBook Pro and the iPad but not the phone.
    Contacts were not affected.  I have the contacts on all three devices. 
    I have gone thru most of the troubleshooting on the apple website.
    Help!

    michellefromwheaton wrote:
    I just tried and it says that it's not available But I do not have another Apple ID. "This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID." The only thing I did that started this nightmare was go into Apple ID and click edit for email and enter the new one. That's it. 
    Because your old AppleID is used used an you alternate email.
    Remove it as your alternate email.

  • HT4557 Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!

    Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!
    The home sharing is now off and still has all the songs one there. Even rebooted the wifi modem, supporting hard drives and all computer involved in this catastrophe!! :( all computer are all updated and updated to the new iTunes.
    Please any help would be greatly appreciated and any more questions welcome. Thanks

    Basically anything not purchased from iTunes that is on my iPhone 6 will not sync over to my MacBook. I have tried to just manually back it up but only the purchased music will sync over to iTunes.

  • How do i sync my contacts from my iPhone with my macbook pro for messaging purposes?

    How do i sync my contacts from my iPhone with my macbook pro for messaging purposes?

    Hey dthompson2108, 
    Thanks for participating in the Apple Support Communities. 
    You can sync contacts between your iPhone and MacBook Pro using iCloud or iTunes.
    See this link for help with setting up iCloud on your computer and device(s):
    Apple - iCloud - Learn how to set up iCloud on all your devices.
    Instead of turning on iCloud on your iPhone and Mac, you can sync using iTunes as explained in this article: 
    Sync your iPhone, iPad, and iPod with iTunes using USB - Apple Support
    All the best,
    Jeremy 

  • How do I get US holidays to sync from my iPhone to my MacBook Pro over iCloud?

    How do I get US holidays to sync from my iPhone to my MacBook Pro using iCloud?

    You don't. Subscribed calendars do not sync.
    Just subscribe to the same US Holiday calendar in iCal on your Mac.
    Subscribed calendars also not show at iCloud.com.

  • Syncing emails across iPhone, iPad and macbook pro

    Can you sync emails across iphone, ipad and macbook pro, so if you delete from one it deletes on all?  If you write an email on one it shows up on all?  If you store something in a folder or flad something it shows up on all?
    Thanks

    Syncing mail is a function on the type of mail account, & requires an IMAP or Exchange account. Not possible with a POP3 account.

  • I cannot sync contacts between my iPhone 4s and MacBook Pro after I upgraded the Mac with the latest operating system software upgrade. Even the Mac Store couldn't help...

    I cannot sync contacts between my iPhone 4s and MacBook Pro after I upgraded the Mac with the latest operating system software upgrade. Even the Mac Store couldn't help...

    That is because that sync ability (for contacts and calendars) has been removed. Use iCloud instead.

  • How do I copy/cut photos from my iPhone 4S to macbook pro?

    I am unaware of copying photos from my iphone 4S to macbook pro? I don't see any options. Please help me.

    divyamadhu wrote:
    But, where can I see those photos as image file
    In iPhoto.
    I can only see them just like any other photos , it is just that it is in mac through iphoto.
    Yes. They are photos.
    How do you want to see them?

  • Synced iphone with my macbook pro, can find the voice memos, help!!

    i synced my iphone with my macbook pro, checked the voice memos option and after syncing was complete (it backed up iphone in the process), i didn't see any new playlist called voice memos on my itunes!! did i lose my voice memos? where did they go? i didn't delete anything from either the phone or the computer.TIA!! on the phone, i don't see the memos too!! anyone has any idea?

    iTunes automatically syncs voice memos to your iTunes library when you connect iPhone to your computer. Voice memos are synced to the Voice Memos playlist. iTunes creates the playlist if it doesn’t exist. When you sync voice memos to iTunes, they remain in the Voice Memos application until you delete them. If you delete a voice memo on iPhone, it isn’t deleted from the Voice Memos playlist in iTunes. However, if you delete a voice memo from iTunes, it is deleted from iPhone the next time you sync with iTunes.
    You can sync the iTunes Voice Memos playlist to the iPod application on iPhone using the Music pane in iTunes.
    To Sync the Voice Memos playlist to iPhone:
    1. Connect iPhone to your computer.
    2. In iTunes, select iPhone in the sidebar.
    3. Select the Music tab.
    4. Select the “Include voice memos” checkbox and click Apply.

Maybe you are looking for

  • Can I upgrade MacBook Pro hard disk drive next year?

    Hi there!  I'm new to the Apple Support Communities!  I am going to buy a new 13" MacBook Pro, 2.5GHz.  I am going to buy the base model, with a 500GB 5400 RPM hard disk drive.  Right now, I can't afford a 256GB solid-state drive, but I'll have enoug

  • Unable to import slides and save project

    Hello Captivators, I have a problem. I call it a big problem. I am unable to import any slides from one project to another. I have a project with 15 slides, some with audio. And I have a similar project with the same number of slides. I wanted to imp

  • Maintain settlement rules for order category 30(Maintenance order).

    Hi Gurus, Can we maintain two settlement rules for an order without distribution rule? Eample:-  In an order there are three  different costs i.e. material cost,external labour cost and internal labour cost.We want to settle the material cost and ext

  • Fodler in detailed navigation wont open

    Hey people! I having some problems with folder in detailed navigation. The problem is that the folder wont expand. I have tested it on several computers, and i am only experince this problem on one computer. That means that its not a issue inside the

  • Dynamic images using image field

    Does anyone know how to dynamically send a pdf file to the image field of an Adobe form?  I'm able to send tiff, jpg, and bmp files using an image field and graphic on the context, but I need to print a pdf file within an Adobe form.  Does the pdf fi