LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-11-2006, 12:35 PM   #1
TKD
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, 12:07 AM   #2
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
DNS > WINS

Samba can utilize WINS but Linux its self cannot I believe.
 
Old 02-05-2007, 10:17 AM   #3
dorkman
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, 08:14 AM   #4
swerdna
Member
 
Registered: Jun 2006
Location: Oz
Distribution: openSUSE 10.x
Posts: 80

Rep: Reputation: 16
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.
Swerdna

Last edited by swerdna; 02-06-2007 at 08:17 AM.
 
1 members found this post helpful.
  


Reply

Tags
networking



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 03:43 AM
DNS or WINS? nistelrooy Linux - Networking 1 12-26-2004 07:14 PM
Linus wins!! itsjustme General 16 04-23-2004 11:18 PM
WINS problem, I believe DMusicStud Linux - Networking 1 07-27-2003 04:15 PM
WINS support? glock19 Linux - General 6 05-15-2002 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:34 PM.

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