[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ping <hostname>

Posted on 1998-12-16
7
Medium Priority
?
556 Views
Last Modified: 2013-12-28
I want to ping my unix server by hostname.  I can ping the IP address, but it doesn't recognize the hostname.  IS THERE A HOSTS FILE, FOR $DEITY'S SAKE!!!!

I try to install DNS, really I do, but it doesn't see the domain server.

Help.

Thanks much,

Michael M Murphree
0
Comment
Question by:SAGEM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 6

Expert Comment

by:sgenther
ID: 1796086
Add the unix server to the hosts file...its in the c:\winnt\system32\drivers\etc directory
0
 

Accepted Solution

by:
korvan earned 300 total points
ID: 1796087
The file is c:\winnt\system32\drivers\etc\lmhosts (the file itself is called lmhosts)

After updating, you need to run nbtstat -R (note the capital 'R').  This will purge and reload the NBT Remote Cache Name Table with the contents of the lmhosts file.
0
 
LVL 7

Expert Comment

by:BlackMan
ID: 1796088
korvan, you are not quite right! LMHOSTS contains NetBios Machine names. sgenther is right, it is the HOSTS file you must edit...
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Expert Comment

by:mkthakur
ID: 1796089
Add the line for unix server's host name  to the hosts( c:\winnt\system32\drivers\etc\hosts)  file
e.g.
10.284.211.212  unixserver
0
 
LVL 6

Expert Comment

by:sgenther
ID: 1796090
Gee mkthakur...Do I hear an echo? Also as Blackman stated the LMhosts file is for LAN Manager servers,thus LM. Hosts is the one you want.
0
 
LVL 6

Expert Comment

by:sgenther
ID: 1796091
Blackman....And you wonder why I like to post as answer first???
:)
0
 
LVL 7

Expert Comment

by:BlackMan
ID: 1796092
Yes, and SAGEM is not even a "First-timer"!!
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question