I had something similar when I used Vector at BioAust. I had the benefit of a small number of machines and being the site IT expert, so I was able to set my machine as the master resolution device. There should be something in the various SMB documentations that'll show you how to set that, and after I changed that, I was generally able to VNC by hostname.
Good luck - not being able to do this sort of thing generally erodes a company's confidence in linux-based solutions.
do you have any guide for that?
I found this in the internet.......will it work for VL?http://www.poromenos.org/node/53
(this is not a question as i already have the solution)
i wanted to post this because i have been searching the last three days for this problem in many forums and found many people having similar problems but never got the right answer.
the situation in short
- i have set up samba correctly and my windows pcs and linux pcs can see each other in the windows (netbios) network
- shared files are reachable and readable from every pc
- every pc can ping each other using the ip address (ping 192.168.0.100)
- from windows pcs: ping netbios names is working (ping lepton2 will ping the ip behind the name lepton2)
- PROBLEM! from linux pcs: ping netbios names will result in "unknown host lepton2"
the most common answer to this problem is: hardcode the host names in the hosts file. sure, this will work, but not if the network is using dhcp.
after three days of searching and trying i have finally found thishttp://us1.samba.org/samba/docs/man/...html#id2586120
(well okay finding the link is not so hard, but finding the right information there...)
the part of interest would be
"...and the "wins" parameter needs to be added to the "hosts:" line in the /etc/nsswitch.conf file"
grab you favorite editor
edit your /etc/nsswitch.conf file
search for the line starting with hosts (my line was like this "hosts: files dns")
add "wins" to the line ("hosts: files dns wins")
now ping netbios name should also work from the linux pcs
well i hope this post will help others searching for the same problem
some useful info http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/integrate-ms-networks.html#id2586120