Results 1 to 5 of 5

Thread: ping only with ip, dns lan problem?

  1. #1
    Join Date
    Jan 2009
    Beans
    4

    ping only with ip, dns lan problem?

    hi folks,

    i feel like i am missing something very simple. i have been googleing this problem a lot.

    i have a notebook with ubuntu 8.10 in a lan with a router as dns server. i want to connect to a winxp computer named "server" through it's name, not ip. since the router uses dhcp and i am in a company, i cannot switch to fixed ips.

    these are the temporary adresses
    laptop: 192.168.1.33
    router: 192.168.1.1
    server: 192.168.1.34

    i can ping 192.168.1.34 successfully, but ping server fails. internet works fine though.

    what can i do to access server through it's name, not ip?
    thanx!

  2. #2
    Join Date
    Jan 2009
    Beans
    4

    Re: ping only with ip, dns lan problem?

    has noone any idea?!

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

    Re: ping only with ip, dns lan problem?

    /etc/resolv/conf shows the notebook is using the router for DNS?
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  4. #4
    Join Date
    Jan 2009
    Beans
    4

    Re: ping only with ip, dns lan problem?

    thanx iowan,
    the problem was solved by adding wins in the etc/nsswitch.conf:
    http://www.sigmundvoid.com/2007/08/n...es-and-ubuntu/

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

    Re: ping only with ip, dns lan problem?

    Glad you got it solved. I'll bookmark your link - that problem pops up frequently.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Tags for this Thread

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
  •