LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 07-11-2006, 01: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, 01: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, 11: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, 09:14 AM   #4
swerdna
Member
 
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.
Swerdna

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


Reply

Tags
networking


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


All times are GMT -5. The time now is 09:38 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration