LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Name Resolution (https://www.linuxquestions.org/questions/linux-networking-3/samba-name-resolution-560766/)

shogun90 06-10-2007 11:44 PM

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.

ZAMO 06-11-2007 01:01 AM

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.

jdogpc 06-11-2007 10:07 AM

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


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