Page 1 of 9 123 ... LastLast
Results 1 to 10 of 83

Thread: HOWTO: Resolve Netbios hostname system-wide

  1. #1
    Join Date
    Mar 2005
    Beans
    1

    Lightbulb

    Let me start with a little background info. I manage a computer lab with 85 workstations. I ocassionally use either RDP or VNC to do some maintenance. I have no problem doing this from windows, but I wanted my lonely Ubuntu workstation to be able to do the same thing. After about a week of research I am finally able to ping my windows workstations via their Netbios names. Woohoo!!

    All you have to do is:

    edit /etc/nsswitch.conf

    change the line that says

    hosts: files dns
    to this:

    hosts: files wins dns
    (order does matter)

    finally, you need to install winbind

    Code:
    sudo apt-get install winbind
    that's all that it took for me.

    now ping <hostname> works great. And I can finally use the built-in terminal server client with hostnames instead of IP addresses.


    I hope this brief guide can be of help! Thank you all for always providing such great support in these forums!
    Last edited by dmizer; November 6th, 2008 at 10:12 AM.

  2. #2
    Join Date
    Jun 2005
    Beans
    42

    Re: HOWTO: Resolve Netbios hostname system-wide

    That's real handy. Thanks a lot!

  3. #3
    Join Date
    Dec 2005
    Beans
    764
    Distro
    Ubuntu 6.06

    Re: HOWTO: Resolve Netbios hostname system-wide

    Tanx man. Works great
    Kubuntu 15.10
    Intel Core i5, 8GB RAM, Amd Radeon 7870XT@fglrx
    http://folding.extremeoverclocking.c...shrack&t=37766

  4. #4
    Join Date
    Nov 2005
    Beans
    15

    Re: HOWTO: Resolve Netbios hostname system-wide

    awesome tip

  5. #5
    Join Date
    Dec 2005
    Beans
    764
    Distro
    Ubuntu 6.06

    Re: HOWTO: Resolve Netbios hostname system-wide

    This tip should be added to the guide. At help.ubuntu.com
    Anyway to make this happen?
    Kubuntu 15.10
    Intel Core i5, 8GB RAM, Amd Radeon 7870XT@fglrx
    http://folding.extremeoverclocking.c...shrack&t=37766

  6. #6
    Join Date
    Jul 2005
    Beans
    90

    Re: HOWTO: Resolve Netbios hostname system-wide

    Arg. I've been so confused about this for a while. Why isn't that wins bit on there by default?

  7. #7
    Join Date
    Dec 2005
    Beans
    764
    Distro
    Ubuntu 6.06

    Re: HOWTO: Resolve Netbios hostname system-wide

    Quote Originally Posted by One Quick Question
    Arg. I've been so confused about this for a while. Why isn't that wins bit on there by default?
    I am wondering the same thing?
    Kubuntu 15.10
    Intel Core i5, 8GB RAM, Amd Radeon 7870XT@fglrx
    http://folding.extremeoverclocking.c...shrack&t=37766

  8. #8
    Join Date
    Mar 2005
    Location
    Australia
    Beans
    418
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: Resolve Netbios hostname system-wide

    Quote Originally Posted by One Quick Question
    Arg. I've been so confused about this for a while. Why isn't that wins bit on there by default?
    Probably because winbind isn't installed by default (it's in Universe), the same reason why mdns lookup using Avahi isn't enabled by default.

  9. #9
    Join Date
    Apr 2005
    Beans
    4

    Re: HOWTO: Resolve Netbios hostname system-wide

    Thank you very much, very good post.

  10. #10
    Join Date
    Dec 2005
    Beans
    764
    Distro
    Ubuntu 6.06

    Re: HOWTO: Resolve Netbios hostname system-wide

    Quote Originally Posted by doclivingston
    Probably because winbind isn't installed by default (it's in Universe), the same reason why mdns lookup using Avahi isn't enabled by default.
    But at least this should be in the guide
    Kubuntu 15.10
    Intel Core i5, 8GB RAM, Amd Radeon 7870XT@fglrx
    http://folding.extremeoverclocking.c...shrack&t=37766

Page 1 of 9 123 ... 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
  •