Why does terminal \h add a dash-number

I have noticed that mavericks has started to add a dash and a number to local machine names. For example, in a terminal window with a $PS1 \h prompt, "mymachine" has become "mymachine-4"
Why is this?

There are several possible causes for this problem.
1. Two (or more) computers on the local network have the same Bonjour name, such as "X's-MacBook-Pro.local".
2. You have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. If applicable, disconnect the Ethernet cable or turn off Wi-Fi.
3. A Mac wakes from sleep due to network traffic. This is a bug in OS X that may only affect some models.
4. A device that gets its network address from the router wakes from sleep, and the address it was using before has been assigned to another device.
5. A third-party wireless router has incompatible settings or firmware. In that case, refer to the manufacturer or ISP for support. Restarting the router may help, temporarily.
6. See also this support article.
Rename the computer in the Sharing preference pane.

Similar Messages

  • Why does my usage add up to 9 but remaining is 18 on a 32 gb mini

    Why does my usage add up to 9 but remaining is 18 on a 32 gb mini

    You did not add in "Other".
    What is "Other"
    1. Cache for apps, browser, mail, Messages, Reading List
    2. Saved games
    3.Documents and data
    4. Notes
    5. Voice Memos
    You can backup and restore to reduce "other" but they will start building up over time.

  • Why does the i5 add a contact to my contacts list for every person I have ever emailed?  My 4 didn't.

    Why does the i5 add a contact to my contacts list for every person I have ever emailed using Outlook and Gmail?  The i4 didn't have this issue.

    Hi drewskiiiiiiiii,
    If you are having issues with your iPhone's Contacts application acting oddly, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    Force an app to close in iOS
    Next, I would try restarting and if needed resetting the iPhone -
    Restart or reset your iPhone, iPad, or iPod touch
    If the issue is still present, you may want to restore the iPhone as a new device -
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • Why does my 4s allways  shows the number instead of the name from mt address book like my 3gs did

    Why does my 4s show the phone number all the time when i receive a text or a call, instead of the name that is in my contacts ? Thanks Russ

    The only way to see the contact name is for the information coming from Caller ID to match what is entered in the contact exactly. If it does not, then it would not display the name. Check to make sure what you are seeing when the number comes across that it is matching what you have in contacts. This includes the prefix as well.

  • Why does "Date Created" sometimes show dashes instead of a date?

    My finder shows four dashes ("----") for the "date created" on a large percentage of my files. When I look at the properties of those files, there are "Created" dates on them. Some of the files are .PDF, some are .doc (I haven't checked for .xls or .txt files). Why does this happen, and what can I do to fix it so the "date created" is in the finder window?
    Thanks!

    Perhaps that information isn't in the file. It may have been lost through various copy events on machines that did not recognize the information or where the information was lost during transfers to and from Windows or Linus servers.

  • When creating keyframes on timeline, why does it sometimes add bezier handles and sometimes not?

    OK, so one of the key steps in my workflow is to do a pass of manual audio 'normalization'. Yeah, I keep getting the feeling that there might be automated tools that could do a better job, but I'm also listening for content.
    But what is driving me a little crazy right now is that sometimes, the ctrl-click adds a normal keyframe and other times, it adds a control handle for a bezier curve. This is especially frequent when doing speed ramps, but it's just so inconsistent that it drives me nuts.
    I am working on one timeline and halfway through the sequence, it comes to a clip where it ALWAYS adds bezier curves. And when I try to drag the keyframe down, it grabs the bezier handle instead, creating this bizarre S curve.
    I just don't know what I'm doing differently in that segment compared to other places. Hundreds, if not thousands of edits like this and I haven't come across a problem like this.
    Undo, and do it again causes the same thing.
    But one segment over, creating keyframes doesn't create any bezier handles.
    Production Premium CS6

    This is helpful as it explains why suddenly there are a few in a row that are bezier.
    But it doesn't explain what it is that I did to make them bezier in the first place. It just seems random. I'm just control-clicking on the timeline.
    When I get back in the office, I'll check on this a bit more carefully.

  • HT5437 Why does apple configurator add numbers to my apple tv names?

    I'm rolling out around 40-50 of the little black boxes across a school, and we've hit an interesting thing.  When we name the device in configurator, lets say
    SCH-TV-4.001
    where 4.001 is a building and room number, apple configurator is making the name add a seemingly random digit in brackets at the end of the name like
    SCH-TV-4.001 (2)
    This is only seen in our MDM and on an iOS/OSX device, when searching for an airplay device.
    Most odd.  Seems to start at 2, and if we rebuild, it makes 3 etc...
    Any clues?

    I understand that point. They are mostly bought from iTunes. But, I can watch on my laptop, iPad, iPhone on an airplane or wherever without an Internet connection. So why the hang up on my apple tv, should it not just be an extension of my laptop?

  • Why does List E .add take an E, but remove take an Object?

    The various add methods of the java.util.List<E> interface take an object or collection of type E, but remove(Object o) is generalized. Why is that? And how do non-E objects get into the list?

    Moreover, imagine doing something like this:
    list.remove(methodXyz(someArg));
    if methodXyz returns a reference of type"supertype
    of E", you'd have to add a cast first beforecalling
    remove; unnecessarily so.But a superclass of E cannot be added to a List<E>;So what? methodXyz can still return an instance of E, using a reference of type Object e.g.
    only an E or a Collection<? extends E> can. So (as
    long as I'm redesigning a fundamental interface :)
    maybe it wouldn't be a bad idea to require the
    downcast to be explicit.There is no problem whatsoever with not having Generics applied here, and in some cases it might be more convenient not to do it. So why do it then?
    that the interface's remove takes an Object. Since
    remove(Object o) is designated as optional, is there
    any reason that I should provide it?Maybe you need it one day...

  • Why does ps ask for a serial number when I've joined creative cloud

    I just joined creative cloud and downloaded PS.  Why is it asking me for a serial number or use it as a trial?   Shouldnt it recognize I've paid?
    Imac 27"  Mavericks OS
    Rob

    Adobe has a specific help topic on exactly this issue.
    http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html
    -Noel

  • Why does Terminal freeze whenever I try to access sudo pico?

    I'm trying to hide my Windows 7 partition from my desktop, but I don't want to have to unmount it every time I boot into OS X.
    I'm trying the /fstab method where I enter "sudo pico /etc/fstab/" into Terminal, and when I type that in, the password line shows but then Terminal completely freezes on me. I was able to log on once before and I want to go back and edit the line since it didn't work, but now it won't let me.
    Then, when I try to restart Terminal, I quit out of it and load it up, but all I get is a blank page when I should see my computer's name and such.

    aarliyu wrote:
    I enter "sudo pico /etc/fstab/" into Terminal, and when I type that in, the password line shows but then Terminal completely freezes on me.
    The command is wrong; </etc/fstab> is a file, </etc/fstab/> is a directory. Maybe that's the issue on your machine, though it doesn't cause a freeze on mine. (Btw, pico on my machine is actually an alias for nano. I don't recall doing that myself, so it must be an SL default.)
    It's not clear from your post if you've created an fstab file or not (I don't think SL has one by default); if you have, that may be the issue. Check with ls. If there is an </etc/fstab> (a file, not a directory), and
    $ sudo pico /etc/fstab
    still causes a freeze, try to see if you can open it with another text editor, eg, vi.

  • Why does iphoto not accept my phone number when filling out shipping info for buying cards??

    Im trying to generate some thank you cards in iphoto 11 and when paying for them, it wont accept my telephone number in the Primary number box, which is in the delivery contact bit in the shipping information box. The telephone number keeps going red and i cant get any further with ordering the thank you cards. I have been to Itunes to check my billing and payment information and im using the same telephone number so i cant see why it wnt do it?? Please help as these thank you cards are from my kids to grandparents and other family members and my wife is getting irate at me, because i havent done what should be a simple thing!!!!!
    Many thanks if you can help.

    Try going to the Apple store (store.apple.com) and re-entering it in your account there and be sure that one click ordering is turned on and try again
    Also I'v eseen reports that number of digits can cause this if you are in an area that uses a different number of digits - I believe that someone reported that they had to move one digit to another field to get it to work - you might search the fourms for that post
    LN

  • Why does my toolbar add ons keep disappearing?

    I keep adding add on buttons to my toolbar and then they will disappear and i have to add them again

    You can check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Why does terminal behave differently when logged in as different users?

    when I'm logged into my mba as my regular normal user, bash behaves normally;  but when I create a new user or use any user other than my default the behavior is different.  (might be bash or sh)
    Specifically, the tab autocomplete function works fine when I'm logged in as my regular user (tab-complete;  tab twice for all available selections/options).
    But on a newly-created user (also an admin) there is no tab complete, no 'tab twice, other options' etc. 
    Has anyone else seen this?
    I searched in this forum and found some instructions for creating an .inputrc file but I don't appear to have one on my default user so not sure why I would need this on the new user ?!?!?
    p.s. here are the instructions I found previously via a post on this forum:
    http://www.ernieflores.net/osx-page-4/how-to-enable-tab-completion-in-mac-os-x-t erminal/

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Why does terminal behave differently with respect to "Resume" feature?

    Terminal behaves a little funky when it comes to the new "Resume" feature in Lion.  Here's a few interesting notes:
    When restarting, Terminal prompts the user to close itself.  If you don't click close in time, the reboot process is halted.  This ***** because resume gets confused.  When you close Terminal and reboot, Resume only opens applications that were closed AFTER terminal was manually closed.  This is only a small subset of applications that were originally opened from the first reboot attempt.
    If you do manage to close terminal in time, it only comes up on Desktop 1 after resume.  This is fine if that's what you want, but I have terminal configured on "All Desktops".  To workaround the issue, I have to set terminal to "This Desktop", then "All Desktops" EVERY TIME I REBOOT.
    No other apple programs seem to do this.
    Where do I log a bug/feature request for this?
    Cheers!

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Why does Lab View add control elements to some driver VI's!

    Hi,
    I have downloaded a driver project that was developed with Lab View 2009sp1. Now I will this project use with LV2010.
    To do this I have the library installed in instr.lib. But when I opened some VI's I discovered that Lab View have added control elements.
    Why is it so and how can I stop this behaviour?
    Solved!
    Go to Solution.

    Surely that didnt just happen because you saved it in 2010. You downloaded a new set of drivers for 2010 from here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=AFAA2CBD85041C96E04400144F1EF8...
    The second driver has more features.
    Also, note that the two modes are different, in the second case you are specifying the current where as the first one is a constant current configuration for the load.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

Maybe you are looking for