her209
No Lifer
Hello
I have 2 computers networked, one installed with RH7.2 and the other with XP.
The dilemma is that they are both using my router (RT314) to get their IP addresses. So whenever I want to use XDM/KDM/GDM to log into RH, I have to make sure that the /etc/hosts file is up to date otherwise the session will just hang. Using the hostnames, I can ping the linux box from the XP box but not vice versa. I can however do it with IP addresses both ways.
My question is, is there anyway to dynamically update the /etc/hosts file on bootup of the linux box so that hostname-to-ipaddress is possible? I don't want to have static IP address for my boxes.
Thanks in advance!
I have 2 computers networked, one installed with RH7.2 and the other with XP.
The dilemma is that they are both using my router (RT314) to get their IP addresses. So whenever I want to use XDM/KDM/GDM to log into RH, I have to make sure that the /etc/hosts file is up to date otherwise the session will just hang. Using the hostnames, I can ping the linux box from the XP box but not vice versa. I can however do it with IP addresses both ways.
My question is, is there anyway to dynamically update the /etc/hosts file on bootup of the linux box so that hostname-to-ipaddress is possible? I don't want to have static IP address for my boxes.
Thanks in advance!