Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: can see network computers by IP addr, but not by name

  1. #1
    Join Date
    Jun 2009
    Beans
    12

    Question Fixed: can see network computers by IP addr, but not by name

    I have three computers:
    dede-desktop at 192.168.1.2 wired
    mike-laptop at 192.168.1.3 wireless
    moum-server at 192.168.1.4 wired

    From any machine, I can ping 192.168.1.2 and 192.168.1.4 by ipaddress. But if I ping by name (dede-desktop or moum-server), I get nothing (unknown host).

    I can't ping 192.168.1.3 by either name of ipaddress.

    My router sees the ipaddresses and machine names properly paired, so I have no idea what's going on.

    Can anyone help?

    Thanks,
    Mike
    Last edited by doublempi; August 3rd, 2009 at 01:08 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    UK
    Beans
    57
    Distro
    Kubuntu Karmic Koala (testing)

    Re: can see network computers by IP addr, but not by name

    What is the contents of /etc/resolv.conf?

  3. #3
    Join Date
    Jun 2009
    Beans
    12

    Re: can see network computers by IP addr, but not by name

    resolve.conf

    # Generated by NetworkManager
    nameserver 192.168.1.1

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

    Re: can see network computers by IP addr, but not by name

    Something must tie DHCP and DNS together. Although the router has all the information, it may not be configured (or able) to serve that info via DNS. DNSMasq is supposed to be able to do that. You could build the information into the /etc/hosts file on each computer... but it would only be accurate until DHCP handed a machine a different address.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    Jun 2009
    Beans
    12

    Re: Fixed: can see network computers by IP addr, but not by name

    I added
    192.168.1.2 dede-desktop
    to my etc/hosts file, and now I can see her computer by both ip and name. This strikes me more as a workaround than a fix, however. It must be a DNS problem, but I don't know enough (yet) about networking to properly fix it.

    Ideas are still welcome.

    Thanks for everyone's help.
    Mike

  6. #6
    Join Date
    Aug 2005
    Beans
    201

    Re: can see network computers by IP addr, but not by name

    You should be able to permanently assign an ip address to the client machines in your router - it's called fixed mapping under DHCP server in mine.
    HTH

  7. #7
    Join Date
    Jun 2009
    Beans
    12

    Re: can see network computers by IP addr, but not by name

    Thanks. I've mapped the addresses in my router. But I still can't see my wireless laptop. My laptop can see all the other computers, but they can't see my laptop.

    Any ideas?

    Mike

  8. #8
    Join Date
    Jun 2006
    Location
    Oxford, UK
    Beans
    52
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: can see network computers by IP addr, but not by name

    Try the following instead:

    • dede-desktop.local
    • mike-laptop.local
    • moum-server.local


    It's worked out-of-the-box with all the modern routers I've used.

    HTH.
    Find out more about Linux and what's wrong with Windows and Mac OS X.
    - Gustavo Narea.

  9. #9
    Join Date
    Jun 2009
    Beans
    12

    Re: can see network computers by IP addr, but not by name

    [quote=Gustavo Narea;7725851]Try the following instead:

    • dede-desktop.local
    • mike-laptop.local
    • moum-server.local


    It's worked out-of-the-box with all the modern routers I've used.

    Thanks, Gustavo.

    Does this get entered in the router, or the hosts file, or where?

    Mike

  10. #10
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: can see network computers by IP addr, but not by name

    Is this where the winbind utility would be appropriate?

Page 1 of 2 12 LastLast

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
  •