Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 07-11-2006, 01:35 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Enabling WINS lookup

Hi all,

I'm running 10.1 as a client on a pretty old NT server domain which runs WINS rather than DNS to resolve hostnames.
I've been messing around all day and can't for the life of me work out how to get suse to resolve hostnames using a WINS server.
I've cracked it for samba. I.e. i can see network shares using 'smb://hostname/share'. However, if try from the terminal:
tkd@TKDSUSE:~> ping tt100269

I get..

ping: unknown host tt100269

Doing the same using an IP or a hostname which is definitely in DNS is fine too.

Can anyone help?
Old 07-12-2006, 01:07 AM   #2
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30

Samba can utilize WINS but Linux its self cannot I believe.
Old 02-05-2007, 11:17 AM   #3
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Samba uses NetBIOS lookup, there is a utility in linux that allows you to use this

nmblookup tt100269

will give you an ip address and you can ping the ip address.
Old 02-06-2007, 09:14 AM   #4
Registered: Jun 2006
Location: Oz
Distribution: openSUSE 10.x
Posts: 80

Rep: Reputation: 15
Go into the file nsswitch.conf located at /etc/nsswitch.conf. Find the Line "hosts: files dns". It's missing wins so make it like this "hosts: files dns wins". Then you can ping by NetBIOS name.

Last edited by swerdna; 02-06-2007 at 09:17 AM.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
DNS or WINS? nistelrooy Linux - Networking 1 12-26-2004 08:14 PM
Linus wins!! itsjustme General 16 04-24-2004 12:18 AM
WINS problem, I believe DMusicStud Linux - Networking 1 07-27-2003 05:15 PM
WINS support? glock19 Linux - General 6 05-15-2002 07:23 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration