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

Thread: HOWTO: Resolve Netbios hostname system-wide

Hybrid View

  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
    Apr 2005
    Beans
    4

    Re: HOWTO: Resolve Netbios hostname system-wide

    Thank you very much, very good post.

  8. #8
    Join Date
    Sep 2005
    Beans
    21

    Re: HOWTO: Resolve Netbios hostname system-wide

    Quote Originally Posted by javiwwweb
    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



    to this:



    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!

    You sir are my personal hero. This problem was driving me NUTS! Worked perfectly!

    Travis

  9. #9
    Join Date
    Feb 2005
    Location
    Cincinnati, OH, USA
    Beans
    145
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Resolve Netbios hostname system-wide

    i agree, given that samba sharing is part of the official gnome directory sharing tool now, there's no reason this setup is not the default with ubuntu.

    think of how easy it makes networking a new user's ubuntu install with their existing windows network?

    Thank you again sir, you are a genius.
    "If the real Jesus Christ were to stand up today
    He'd be gunned down cold by the CIA"

    - Armageddon Days are Here Again - The The

  10. #10
    Join Date
    Jan 2006
    Beans
    4

    Re: HOWTO: Resolve Netbios hostname system-wide

    Thanks so much for this tip! It should absolutely be in the guide, or added to this wiki: http://easylinux.info/wiki/Ubuntu

Page 1 of 6 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
  •