LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-10-2007, 11:44 PM   #1
shogun90
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
Samba Name Resolution


Hi,

I have Samba set up, I can access shares between linux and vista. There are some problems I am encoutering with name resolution.

From Vista, I have to connect to the shares using IP address only, I also cannot ping the linux box.

From Linux I CAN connect to the vista shares by using the computername, but I cannot ping the computername.

Can anyone suggest what might be wrong and how to resolve this. Both machines are set up as WORKGROUP. Do I need to enable samba as WINS server? I have tried both.

If you need any more information let me know.
 
Old 06-11-2007, 01:01 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
Try your luck here,
Edit /etc/hosts
x.x.x.x(IP) domainname linux
x.x.x.x(IP) domainname Vista
/etc/init.d/network restart

In vista, do to the start=>run=>Drivers(enter)... edit hosts file..
x.x.x.x(IP) domainname linux
x.x.x.x(IP) domainname Vista
svae it.Now try.
Further i think , it seem yo be an firewall block on either or single side.
 
Old 06-11-2007, 10:07 AM   #3
jdogpc
Member
 
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Hi shogun90,

The last post will do the trick but you will have your ip's fixed.

nevertheless try the following.

Make sure you have in smb.conf the following lines:

netbios name = the_name_you_want_to_access_from_you_windows_machine

wins support = yes (activate this ONLY if you have no other windows server running this service)

on the windows side check th following:

in your nic configuration-> tcp/ip version 4-> advanced-> wins-> ENABLE NetBios over TCP/IP
 
  


Reply



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
Samba Name Resolution shogun90 Linux - Server 1 06-11-2007 08:28 AM
FC4 - samba name resolution issues badhex Linux - Networking 4 12-27-2005 11:55 PM
Samba 3.0.2a name resolution from shell pete_clem Linux - Networking 0 08-29-2004 06:24 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:44 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