LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-29-2004, 06:24 PM   #1
pete_clem
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake 10
Posts: 1

Rep: Reputation: 0
Samba 3.0.2a name resolution from shell


Hi,

This problem is annoying me now! I've read many many sites about how this should work, but i am just unable to get it going.

I would like to be able to resolve a host name to IP from the command line. That is, i type ping somemachine, and it resolves that name to and IP address. I have samba running very nicely, and it is my master browser. It has WINS server turned on and is preffered master browser etc, and trawling through the logs shows that i wins elections. I have XP machines throughout the rest of the house. If i use nmbstat, name resolution works fine for all workstations. If i run tcpdump port 137, then i see the name requests flowing etc. However, if i ping a machine by name from the command line, i just get unknown host errors (doing the same with an IP instead works fine)

I have played with nsswitch.conf and made sure wins and winbind are listed, i have made sure winbindd is running too. Also made sure winbind is in the hosts.conf file and that libnss_wins.so is in the right place. resolv.conf is set to my machine and to search my workgroup.

Where am i going wrong here. I could just use hosts files, but that, i think, is a bit lame, and i like the challenge of getting this to work. Please, any more hints tips etc are greatfully appreciated.

Many thanks,

Pete
 
  


Reply


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
How do I change screen resolution for Fedora core2's shell? babyboss Fedora 4 10-26-2004 06:32 PM
changing screen resolution for text (shell) console Repeater Linux - Newbie 13 08-30-2004 09:30 AM
shell resolution props666999 Slackware 1 08-05-2004 03:13 PM
Samba and Wins resolution Problem blubbfish Linux - Networking 0 02-20-2004 04:46 AM
Samba netbios name resolution problems Paul_assheton Linux - Networking 9 11-14-2001 02:46 PM


All times are GMT -5. The time now is 06:51 PM.

Main Menu
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