Results 1 to 4 of 4

Thread: PING

  1. #1
    New Lounger
    Join Date
    May 2001
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PING

    I use a DSL modem through a LAN card. The card/modem work fine for connecting to the Internet. However, when I PING Localhost (on either my Win XP Pro, or my Win2k Pro systems) it times out. This means the system does not recognize my NIC, but my connectivity is fine. I'm confused. What am I missing?

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: PING

    Are you using a LMHOSTS file?
    It is usually referred to on the WINS tab in your TCP/IP settings and can be found in your ...system32driversetc folder.

    I believe if you do not have localhost included, typing
    ping localhost
    will not resolve, but typing
    ping 127.0.0.1
    will.

    There will be a file called lmhosts.sam which is a SAMple (example) file, your real one needs no extension.

    Typically it will look like this:<pre># Copyright 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost</pre>


  3. #3
    New Lounger
    Join Date
    May 2001
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: PING

    Thanks for the help Lief. The only part I missed was the extension for the LMHOSTS file. I found the SAM file, and created a new one using NotePad. What extension should I use?

  4. #4
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: PING

    Doesn't need one - just lmhosts will do.

    Attached is screenshot of where you define it in W2K
    Attached Images Attached Images
    • File Type: gif x.gif (9.9 KB, 0 views)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •