LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   can't ping XP machine using it's netbios name (https://www.linuxquestions.org/questions/fedora-35/cant-ping-xp-machine-using-its-netbios-name-316363/)

hubabuba 04-23-2005 09:04 AM

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?

just_dan 04-23-2005 11:18 AM

have you put the IP and hostname in the hosts file?

masand 04-23-2005 11:20 AM

do u have samba working??

regards

hubabuba 04-23-2005 12:43 PM

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.

masand 04-23-2005 01:00 PM

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

hubabuba 04-23-2005 05:51 PM

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

masand 04-23-2005 10:12 PM

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

hubabuba 04-30-2005 11:13 AM

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.

hubabuba 04-30-2005 01:38 PM

and /etc/hosts


All times are GMT -5. The time now is 09:14 AM.