Solved

ping <hostname>

Posted on 1998-12-16
7
542 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 100 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Determining the an SCCM package name from the Package ID
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

738 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