LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] linux and wins

[ILUG] linux and wins

McAuley, Tim T.McAuley at emuse.ie
Tue Jul 10 22:58:16 IST 2001


Simple (not) question.

How can I get linux to do wins address lookups?

I see I can set samba up as a wins client, but this doesn't seem to work.
What I want to be able to do is "ping <machine name>" and receive a
response; the machines names being retrived from a wins server.

So far, the only way I know of doing this is recompiling nsswitch, and end
up with the libnss_wins.so library being available for use. Then all one has
to do is add "wins" to the "hosts: " line in /etc/nsswitch.conf. I'd perfer
not to do this... for various reasons.

Anyone have a nicer way of doing it? All I want really is not to have to
hard code the IP address of the linux machine anywhere on itself. At the
moment I find I have to have an entry for itself in /etc/hosts for samba to
start, otherwise samba reports:
Get_Hostbyname: Unknown host blah.domainname.com

Thanks,

Tim
 
Tim McAuley
eMuse Technologies
Tel: +353-1-6717317




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell