Results 1 to 7 of 7

Thread: [SOLVED] Resolving LAN host names

  1. #1
    Join Date
    Nov 2006
    Beans
    26

    [SOLVED] Resolving LAN host names

    Hi guys, I'm running into a bit of a problem with Xubuntu 8.04. I can't seem to be able to resolve the host names for my other machines on the network. I have no problem resolving external hosts (like ubuntuforums.org), or pinging the local machines directly by IP address, but resolving by name doesn't work:

    foosoft@tsundere:~$ ping wintermute
    ping: unknown host wintermute
    foosoft@tsundere:~$ ping wintermute.local
    ping: unknown host wintermute.local

    Any ideas what could be up? I know it's not a hardware problem because this works when I'm in Windows.

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Resolving LAN host names

    What's in your /etc/resolv.conf file?
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Nov 2006
    Beans
    26

    Re: Resolving LAN host names

    Here we go:

    ### BEGIN INFO
    #
    # Modified_by: NetworkManager
    # Process: /usr/bin/NetworkManager
    # Process_id: 5213
    #
    ### END INFO

    search hsd1.wa.comcast.net.


    nameserver 192.168.0.1

    192.168.0.1 being the IP of my router, Comcast being my ISP of course

  4. #4
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Resolving LAN host names

    The .local sparked a memory - see if this link helps - very first item looks like your problem.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    Nov 2006
    Beans
    26

    Re: Resolving LAN host names

    That's not it unfortunately, nothing apparent wrong with my hosts file.

  6. #6
    Join Date
    Nov 2006
    Beans
    26

    Re: Resolving LAN host names

    I found a solution that allows me to ping the Windows comps! I installed the packages samba, smbfs, smbclient, winbind and edited /etc/nsswitch.conf to include "wins" under the "hosts:" line. I can resolve all my LAN comps now

  7. #7
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: [SOLVED] Resolving LAN host names

    Glad you found it... I keep forgetting about installing smbfs. I sometimes remember the winbind package, but then forget about editing /etc/nsswitch.conf.
    A little knowledge is, indeed, a dangerous thing.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Bookmarks

Posting Permissions

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