Solved

ping <hostname>

Posted on 1998-12-16
7
536 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
7 Comments
 
LVL 6

Expert Comment

by:sgenther
Comment Utility
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
Comment Utility
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
Comment Utility
korvan, you are not quite right! LMHOSTS contains NetBios Machine names. sgenther is right, it is the HOSTS file you must edit...
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Expert Comment

by:mkthakur
Comment Utility
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
Comment Utility
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
Comment Utility
Blackman....And you wonder why I like to post as answer first???
:)
0
 
LVL 7

Expert Comment

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

Featured Post

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Join & Write a Comment

For a variety of reasons, it sometimes makes sense to reboot a Windows-based computer on a regular, perhaps daily basis. This "cures" a lot of ills by resetting processes, flushing caches, refreshing memory, and reestablish network connections. In a…
This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now