On Wednesday 25 June 2008 09:14:42 am Mirco Piccin wrote: > Hi all. > I have 2 new running Debian Etch :-) server into an (old) Windows > environment. > Servers work like a charm, but i am not able to ping them by hostname. > They are configured with a static ip address and have samba installed and > working. > > Any tips? > > Thanks! > Regards > M Mirco, Yes, two ideas: run a DNS server, or (simpler) edit the /etc/hosts file on the two servers and make sure the host name is there as well as the hosts file on the clients. For example, my hosts file has this entry in it: 127.0.0.1 localhost 192.168.200.15 dam-main.damtek.org dam-main krb.damtek.org krb ldap.damtek.org ldap (<<-- all on one line) So I can (from this host) ping dam-main.damtek.org, ping dam-main, ping krb.damtek.org, and ping krb all all will resolve to 192.168.200.15 If you put those entries into another hosts hosts file, then you can ping this host from that box by the above hosts names. This is a very simple (and the original way) way to tell your boxes who is at what address and is workable for a small network. If you change on thing, you have to edit all the hosts files for all the boxes to know about the change. Windows also has a host file. Edit that as well. HTH -- Damon L. Chesser email@example.com http://www.linkedin.com/in/dchesser
Description: This is a digitally signed message part.