hostname problem
Fri, 2007-03-02 06:24
In a small LAN with 2 computers [one computer runs Windows and the other runs GNU/Linux (Red Hat Enterprise Linux 4)], I have set the IP address to 192.168.0.1 and 192.168.0.2, netmasks for both are 255.255.255.0. The hostname of the Windows machine is set to "main", workgroup is "lzbx". Currently I have the following result under the GNU/Linux machine:
[root@client etc]# hostname
client.lzbx
However, in the Windows machine I just can't connect to the GNU/Linux machine using the hostname "lzbx". Using "192.168.0.2" address will connect correctly, though.
Not sure how can I get it connect correctly using the hostname "client".
Thanks in advance










The problem here might be that Windows doesn't know where to resolve the name.
If you have Samba running this might help alot because then Windows can use NetBIOS to resolve the name.
Another possibility would be the use of a DNS or just editing the hosts-file.