Terminal-IP address instead of computer name is showing
Hi, my computer is behaving strangely lately and I noticed that in terminal the host name is displayed like this:
c-XX-XXX-XX-XX-XXX:~ myusername%
with XX numbers corresponding to my actual IP address
When I looked in my 1 month old backup, it is displayed correctly there with an actual drive name.
In addition, the current shell is tsch, despite the fact that I am running OSX10.4.11 where it is supposed to be bash as far as I understand.
Is displaying IP address in terminal instead of computer name normal? If not, how to reset this?
Any help would be much appreciated.
BDAqua,
My report:
1. Moved preferences.plist from /Library/Preferences/SystemConfiguration/preferences.plist into trash.
2. rebooted.
3. Computer now shows [localhost] in terminal as a host name-success. However, now Internet does not work.
4. Went to System preferences>Network>Built-in-Ethernet. There was a blank page (all settings gone).
5. No matter. Inputed comcast.net in Search domains field (Comcast is my provider). Clicked on Apply now. All settings came back, internet works.
6. Now Terminal again shows my IP as a host name, but at least I know that this change came from Comcast.
Unexpected benefit: Apparently this procedure got rid of annoying "Your settings are being modified by another application" bug-Good to know, thanks.
Conclusion: For some reason Comcast sees fit to modify Terminal settings.
Big thanks for making the problem clearer.
Similar Messages
-
Without NetInfo Manager I have to use IP address instead of computer name
Great. [/sarcasm] Removing NetInfo Manager from Leopard has just made my life a lot harder. Back with 10.4 I simply used NetInfo Manager (after a little research) to add what were basically HOSTS file entries for all the computers in our extended private network that I need to remote control.
I would use a software VPN to connect to the private network side of my client's office:
* Cisco VPNClient (software VPN) Version 4.9.01
...and then use remote control to connect to the servers I need to work with:
* Microsoft Remote Desktop Connection for Mac - Version 1.0.3
Given that the software VPN disables other communications like... DNS lookups... then you're forced to manually enter the lookups yourself into the HOSTS file. Given that OS X 10.4 had NetInfo Manager then that wasn't necessarily a problem. Over time, I entered all the machines I had to talk to.
After my upgrade last night to OS X 10.5 I now find that it's removed those entries, removed my access to the HOSTS file and even changed completely the mechanism behind-the-scenes. The help system suggests reading up on Open Directory administration.
I've tried a variety of work-arounds and none work, given the software VPN restrictions as combined with Apple's complete removal of what I originally put into my HOSTS file.
*So now I have to memorize all the IP addresses of all the private machines I routinely connect to.* This is stupid and frankly ridiculous from a company that's supposed to have a simple interface for its users. If I am to enter these values again manually I need to now become a UNIX geek somehow to figure out how to manipulate some entry system. I now run the risk of accidentally rebooting the wrong server if I use the wrong IP address.I eventually found the wiki page on NetInfo Manager... which had a bibliographical reference to a page that yields the following how-to:
Finder - Applications - Utilities - Terminal:
To add a HOSTS file entry (effectively) for the host name "www1" to the IP address "10.1.1.1":
sudo dscl localhost -create /Local/Default/Hosts/www1 IPAddress 10.1.1.1
To delete it again:
sudo dscl localhost -delete /Local/Default/Hosts/www1
You'll need the root password when prompted. -
IMessage displays my email address instead of contact name on other peoples iPhone
iMessage displays my email address instead of contact name on other peoples iPhone and everything I try does not fix it!!
Please help!!!!!!!whether your number or email address is desplayed depends on how you have Caller ID set.
Settings -> Messages ->Receive At ->Caller ID (chose what you want displayed) -
when i send a text/imessage why does the person receiving it see my email address instead of my name??
iMessage requires both parties be using iOS 5. The iPhone 3 can not be upgraded to iOS 5, thus messages would be sent as an SMS (Text message)
Stedman -
Anyone is applying the Logical Disk Extension Management Pack By David Allen?
I have the issue whereby the Computer name will showed as "#Error" on the managed computer which is in
Workgroup environment.
Refer to this screenshot --> https://skydrive.live.com/?cid=75e44d0edffe5025#cid=75E44D0EDFFE5025&id=75E44D0EDFFE5025%21942.
Is anyone know the way to fix this?
Thanks!
regards, Han Seen.The solution I used is to edit the management pack: the report displays the computer name only for computers that contains suffix in its name. if in SCOM the computer name is hostname.domain.net, only hostname will be shown as computer name.
you can change it by editing the management pack:
replace line number 2230 instead of
<Value>=Left(Fields!Computer.Value,(instr(Fields!Computer.Value,".")-1))</Value>
replace it with
<Value>=Fields!Computer.Value</Value>
now it will show you the full computer name under computer name area, and workgroup computer will be shown as well. -
Forcing IP address instead of host name in IOR
Hi Folks,
I am using BEA Weblogic Enterprise 5.1 for CORBA development in C++.
I am generating IOR using ORB's object_to_string() method, and we send IORs to
our clients. By default, the host name will be included in the IOR.
I would like to force IP address of the machine instead of host name. (Because
you know, this will cause to update DNS servers or /etc/hosts file, and we dont
want to get into that complications). If we provide the IP address in IOR, then
clients can access our CORBA server without worrying about host name mangling.
Could you help me out how to implement this in BEA WLE 5.1 using C++. In ORBIX
3.0.1, there is an ORB command to achieve this. ( CORBA::ORB::useHostNameInIOR(FALSE)
). Anybody is aware of the similar functionality in WLE ?
Thanks in advance.
ParanIn the UBBCONFIG file change the ISL -n switch to have the IP address of the host rather
than the host name. Another choice would be to use the the -H switch on the ISL, although
for what you want this would not be the preferred choice.
-Craig -
Computer name being show as "localhost" when trying to bind to directory
I am trying to bind my computer (OS 10.4.11) to my server (10.4.11) but each time I go to bind it the computer name is shown as "localhost" rather than the computer's real name. The computer's name is shown as r2.local in the Sharing pane of System Prefs, also confirmed by the output of hostname. I am also getting this in my system log during bootup:
May 5 12:33:52 localhost usbmuxd[66]: usbmuxd-176 built for iTunesNineDot on Sep 24 2009 at 16:11:04, running 32 bit
*May 5 12:33:53 localhost mDNSResponder: Couldn't read user-specified Computer Name; using default “Macintosh-000000000000” instead*
*May 5 12:33:53 localhost mDNSResponder: Couldn't read user-specified local hostname; using default “Macintosh-000000000000.local” instead*
May 5 12:33:54 localhost kernel[0]: BCM5701Enet: Ethernet address 00:14:51:64:5e:36
May 5 12:33:54 localhost kernel[0]: BCM5701Enet: Ethernet address 00:14:51:64:5e:37
May 5 12:33:54 localhost mDNSResponder: Adding browse domain local.
May 5 12:33:56 localhost kernel[0]: NVDA,Display-A: vram [90020000:10000000]
May 5 12:33:56 localhost kernel[0]: NVDA,Display-B: vram [00000000:01000000]
May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: exited abnormally: Bus error
May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: 9 more failures without living at least 60 seconds will cause job removal
May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: exited abnormally: Bus error
May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: respawning too quickly! throttling
May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: 8 more failures without living at least 60 seconds will cause job removal
May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: will restart in 10 seconds
May 5 12:34:03 localhost lookupd[97]: lookupd (version 369.8) starting - Wed May 5 12:34:03 2010
May 5 12:34:05 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
*May 5 12:34:05 r2 configd[68]: setting hostname to "r2.local"*
May 5 12:34:07 r2 loginwindow[99]: Login Window Started Security Agent
May 5 12:34:08 r2 kernel[0]: AppleBCM5701Ethernet - en0 link active, 1000-Mbit, full duplex, flow control disabled
May 5 12:34:08 r2 configd[68]: AppleTalk startup
May 5 12:34:10 r2 configd[68]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
May 5 12:34:10 r2 configd[68]: posting notification com.apple.system.config.network_change
May 5 12:34:10 r2 lookupd[110]: lookupd (version 369.8) starting - Wed May 5 12:34:10 2010
May 5 12:34:15 r2 configd[68]: target=enable-network: disabled
*May 5 12:34:16 r2 mDNSResponder: HostnameCallback: Error -65557 for registration of r2. IP 192.168.1.122*
May 5 12:34:16 r2 configd[68]: AppleTalk startup complete
Thoughts?I think Directory Utility is in 10.5+, it's called Directory Access in previous versions (at least in 10.4). I have an OD running on the Mac server that I am trying to bind to, the AD/windows server is just for the PCs.
I did find this though about the mDNSresponder error I'm getting:
(from http://lists.apple.com/archives/bonjour-dev/2005/Aug/msg00020.html)
-65557 means NAT Traversal error. You need to be using a router that
supports NAT-PMP or UPnP if you want to register your hostname
successfully using DNS Update.
I enabled UPnP on my router/firewall but it did not help. -
I bought a new iMac core duo early this year and migrated all my data from my ibook to it. Not a problem, and i reinstalled Tiger on my ibook for the new owner when i sold it. I've just noticed that my old ibook computer name crops up now again even though my iMac now has a different name. How is this possible?
I'm sharing my files with a Sony Vaio (forgive me i own a laptop too), and when i connect to me network, it shows my path as ''my old ibook computername'(my ip address)'(my name:). Why does it not show my current computer name?
If anyone has any ideas and a solution i would be greatly appreciated.
Cheers
iMac Intel 20inch 2Ghz 2GB Ram Mac OS X (10.4.7) Running Airport Express, file sharing with Sony Vaio Win XPWhich machine shows your old computer name, the mac or the sony?
If the sony, try opening a dos window and enter
ipconfig /flushdns
I think the equivalent function on the Mac can be found in Network Utility -
Hi There
My apple account was in my partners name , I have now changed it to my name .
The problem is my icloud email still shows up his name at the beginning of my email address. eg Jo Blogg ( [email protected] ) .
When I open up Icloud in browser it shows in the top right my correct name , but when I go into Account settings on Mac in the Mail it shows up my
partners name as the Full Name associated with the account . It doesn't give you the option of changing that name though.
I hope I have explained this properly and someone can help ?
Cheers
LizzeeeHey There I didn't need to change it as it shows my correct name in my icloud account. The problem is on my Mac where it still shows my Full name as my partners name.
For eg. if I send an email from "Mail" on mac and I use my icloud account then the name that shows up is my partners name when the email is received. If I send an email from the Icloud Mail box that I log into on my browser then the name that shows up when the email is received is my name which is correct.
When I go into preferences in "Mail" on my Mac to change my name, the name is ghosted out and doesn't allow me to change it ! ? It is here that it still show my partners name ? -
Why do some of my text messages get received "from" my email address instead of contact name?
WHen I send text messages, sometimes my email address appears in the receipients message box instead of my contact name. This also results in multiple people sometimes receiving the message (those set up under my apple id)...any ideas? I'm thinking it has to do with the SMS messaging setup.
Its because you are sending them as iMessages and not SMS.
If you want to turn iMessage off, go to settings, messages and turn it off. -
Sender's address instead of sender name in email messages list
Hello
please tell me how to set up my blackberry posche design 9981 so that each item of email messages list contained such fields: date, sender's address, theme message,
my problem is that instead of sender's address displays nickname/login of senderIf the user IS in your BlackBerry Address Book, the Address Book name you've entered will display.
noparams wrote:
theme message,
I don't know what you mean there.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Customer used IP address instead of domain name
A customer of mine used the IP address in his XML feed instead of the domain name. I recently moved servers not knowing that he had done this and the old server is gone. How can I help him fix this? I have already gone into his xml and changed every one of the IP addresses to reflect the NEW address, but I am not certain that this will help.
Thanks.That's a good start. Problem is that when he submitted his podcast he probably used the IP address there as well. iTunes is probably still looking at the IP address URL. Changing the URL that iTunes has on file for a podcast is tricky. There are only two ways to do it. Either by using a 301 redirect on the old server which will point iTunes in the direction of the new server and feed or by using the <itunes:new-feed-url> tag in the OLD XML file on the old server to point it in the correct direction. By either method, iTunes needs to be able to access the old location in order to update it to the new one. If the IP address and server no longer exist and can't be recreated the only other solution, removing and re-submitting the feed may be the only option.
Erik -
Mac Mail displays full email addresses instead of contact name
I use the Mail application on my MacBook for managing multiple email accounts and use the Contacts application to manage my address book (self explanatory).
For example: I have saved PayPal's email address ([email protected]) into my address book as "PayPay" because of the high number of emails I receive from them. In Mail, each email I have received is displaying the full email address of the sender, rather than their address book name (whether it be a company or friend/relative) and this is making it to spot senders while scrolling.
Is there a setting where if the email address is in the Contacts app, the name of that particular contact appears rather than the full address?whether your number or email address is desplayed depends on how you have Caller ID set.
Settings -> Messages ->Receive At ->Caller ID (chose what you want displayed) -
Why is my computer name in terminal different to my real computer name?
In the terminal it says the name of my old, non-existent iPod Touch, not my MacBook Air name. Why is this?!
Macbook Pro Terminal Query: Apple Support Communities
-
Need site url instead of computer name in link sent by email using sharepoint designer workflow
Hello,
We are sending email to view item of a document library using below syntax : [%Current Item:Created By%] on
[%Current
Item:Modified%].
When trying to click from inbox , it is displaying link :
http://servername/sites/site1/doclib/abc.xml where as site name has been given as
http://test.com
So we need to display as http://test.com/sites/doclib/abc.xml.
So if we migrate this site to another server with same name, so wont make any issue about workflow.
Please guide.
Thanking in advance.
Regards,
Jayashrithe built-in emails from SharePoint (alerts, etc) build the URL using the Default Zone in the webapp's AAMs... sounds like you just need to update the AAMs to the DNS names that you *want* to use.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs
Maybe you are looking for
-
Set cursor in a specific view of transaction MM01/MM02
Hi, We have to check a condition in the user-exit EXIT_SAPLMGMU_001, for transaction MM01/MM02, and if the condition fails the client wants to set the cursor in a specific field from a specific view. Is it possible? I tried to use the sentence SET CU
-
My mac won't open PDFs anymore from email or websites and I've tried everything to my knowledge to correct this. There's website I that I want to utilize that requires the lastest verision of JAVA and my OS 10.5.8 is too old to do a download of the l
-
Error when reinstalling mountain lion
i erased my MBAs ssd partition from the disk utility and then went to "reinstall ios" but i got this error msg: "a server with the specified hostname couldnt be found". what should i do??
-
Can you send my dashboard or corpoarte dashboard to the bo inbox?
we a running bo 3.1 and have installed the performance management product. the users would like to send dashboards to other users. we never even tested that, so now when you click on a dashboard the send to button is not active. i have been checki
-
Help with Running Averages and Graphs on Ipad3
I am new to Mac, slowly learning but quickly falling in love with it. I need to keep track of our basketball teams free throw percentages for 5 team and for each kid. The coaches are asking for, made shots, missed shots, total attempts and their perc