Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old November 9th, 2005   #1
javiwwweb
First Cup of Ubuntu
 
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

Quote:
hosts: files dns
to this:

Quote:
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 04:12 AM..
javiwwweb is offline   Reply With Quote
Old November 9th, 2005   #2
smack
Just Give Me the Beans!
 
smack's Avatar
 
Join Date: Jun 2005
Beans: 42
Re: HOWTO: Resolve Netbios hostname system-wide

That's real handy. Thanks a lot!
smack is offline   Reply With Quote
Old December 8th, 2005   #3
ashrack
Has an Ubuntu Drip
 
Join Date: Dec 2005
Beans: 759
Ubuntu 6.06
Re: HOWTO: Resolve Netbios hostname system-wide

Tanx man. Works great
__________________
Notebook Compaq Evo N610c
14" LCD, Pentium 4 mobile 1.8GHz * 1GB RAM * 80GB HDD * Radeon mobile 7500 32MB dedicated vRAM.
http://folding.extremeoverclocking.c...shrack&t=37766
ashrack is offline   Reply With Quote
Old December 9th, 2005   #4
prammy
5 Cups of Ubuntu
 
Join Date: Nov 2005
Beans: 20
Re: HOWTO: Resolve Netbios hostname system-wide

awesome tip
prammy is offline   Reply With Quote
Old December 9th, 2005   #5
ashrack
Has an Ubuntu Drip
 
Join Date: Dec 2005
Beans: 759
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?
__________________
Notebook Compaq Evo N610c
14" LCD, Pentium 4 mobile 1.8GHz * 1GB RAM * 80GB HDD * Radeon mobile 7500 32MB dedicated vRAM.
http://folding.extremeoverclocking.c...shrack&t=37766
ashrack is offline   Reply With Quote
Old December 9th, 2005   #6
One Quick Question
A Carafe of Ubuntu
 
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?
One Quick Question is offline   Reply With Quote
Old December 10th, 2005   #7
ashrack
Has an Ubuntu Drip
 
Join Date: Dec 2005
Beans: 759
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?
__________________
Notebook Compaq Evo N610c
14" LCD, Pentium 4 mobile 1.8GHz * 1GB RAM * 80GB HDD * Radeon mobile 7500 32MB dedicated vRAM.
http://folding.extremeoverclocking.c...shrack&t=37766
ashrack is offline   Reply With Quote
Old December 10th, 2005   #8
doclivingston
Has an Ubuntu Drip
 
Join Date: Mar 2005
Location: Australia
Beans: 446
The Feisty Fawn Testing
Send a message via AIM to doclivingston Send a message via MSN to doclivingston
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.
doclivingston is offline   Reply With Quote
Old December 12th, 2005   #9
zeusave
First Cup of Ubuntu
 
Join Date: Apr 2005
Beans: 4
Re: HOWTO: Resolve Netbios hostname system-wide

Thank you very much, very good post.
zeusave is offline   Reply With Quote
Old December 13th, 2005   #10
ashrack
Has an Ubuntu Drip
 
Join Date: Dec 2005
Beans: 759
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
__________________
Notebook Compaq Evo N610c
14" LCD, Pentium 4 mobile 1.8GHz * 1GB RAM * 80GB HDD * Radeon mobile 7500 32MB dedicated vRAM.
http://folding.extremeoverclocking.c...shrack&t=37766
ashrack is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:48 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry