can't ping XP machine using it's netbios name
Hi
I can't ping my XP box using its netbios name, neither i can nmblooup it. I'm trying to smbmount XP box share, but it only works when i use its IP address and not its nebios name. Like this: smbmount //192.168.1.34/sharename ..... and it won't work if i use "smbmount //hostname /sharename ... Can anyone explain why? |
have you put the IP and hostname in the hosts file?
|
do u have samba working??
regards |
Samba is working, but i did not put the ip and the hostname into the hosts file.
That's probably why it is not working. I will try this and let you know. |
no i do not think u need that
i hope u ahve the workgroup same of that windows then in add this to ur /etc/resolv.conf search <workgroup> regards |
I've tried /etc/hosts and /etc/resolv.conf, but that didn't seem to help.
Then, i found /etc/samba/lmhosts, added ip address and netbios name and that seems to have solved the problem. Thanks |
i do not ue that file but i have the same workgroup in samba as that in windows and this line at /etc/resolv.conf helps me
search <myhostname> search <workgroup> well its good i got to know about another option that u mentioned regards |
Today I've changed all machines on my LAN to static addresses, not running DHCP server on the router any more. After this I could not mount the shared folder at the XP machine on my linux box. It said that I specified a wrong share name or something. I solved this by entering the IP address and the Host name of the XP machine that has a shared folder, into my resolv.conf. The thing is though, with DHCP i had to put IP and Hostname into the /etc/samba/lmhosts and NOT into /etc/hosts or /etc/resolv.conf. Without the DHCP server (static addressing), it is /etc/resolv.conf and NOT /etc/samba/lmhosts or /etc/hosts.
|
and /etc/hosts
|
All times are GMT -5. The time now is 09:14 AM. |