Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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


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 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,



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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 AM.

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