On Thursday 08 December 2005 20:10, x1 wrote: > --just curious, what do you get when running this command: > > root# hostname --fqdn This is before the modifications that Eric so kindly gave that I will try next. :-) root@nicaragua:/home/kevin # hostname --fqdn nicaragua.fylz.com costarica:/home/kevin# hostname --fqdn costarica.fylz.com Looks kosher, no? > Thx > > On 12/8/05, Eric Hodel <drbrain / segment7.net> wrote: > > On Dec 8, 2005, at 7:51 AM, Kevin Brown wrote: > > > On Wednesday 07 December 2005 18:13, Eric Hodel wrote: > > >> [...] > > >> Your ping host names and druby URI host names do not match. Try ping > > >> with the full host name. > > > > > > == Server == > > > kevin@costarica:~$ ruby -rsocket -e 'p Socket.gethostname' > > > "costarica.fylz.com" > > > > > > kevin@costarica:~$ ruby -rsocket -e 'p > > > Socket.gethostbyname("costarica.fylz.com")' > > > ["costarica.fylz.com", ["localhost.localdomain", "localhost", > > > "costarica", > > > "costarica"], 2, "\177\000\000\001", "\300\250\002i"] > > > > > > kevin@costarica:~$ ruby -rsocket -e 'p Socket.gethostbyaddr("\300 > > > \250\002i")' > > > ["costarica.fylz.com", ["costarica"], 2, "\300\250\002i"] > > > > > > kevin@costarica:~$ ruby -rsocket -e 'p > > > Socket.gethostbyname("nicaragua.fylz.com")' > > > ["nicaragua.fylz.com", ["nicaragua"], 2, "\300\250\002f"] > > > > > > kevin@costarica:~$ ruby -rsocket -e 'p Socket.gethostbyaddr("\300 > > > \250\002f")' > > > ["nicaragua.fylz.com", ["nicaragua"], 2, "\300\250\002f"] > > > > > > == Client == > > > kevin@nicaragua:~$ ruby -rsocket -e 'p Socket.gethostname' > > > "nicaragua.fylz.com" > > > > > > kevin@nicaragua:~$ ruby -rsocket -e 'p > > > Socket.gethostbyname("nicaragua.fylz.com")' > > > ["nicaragua.fylz.com", ["localhost.localdomain", "localhost", > > > "nicaragua", > > > "nicaragua"], 2, "\177\000\000\001", "\300\250\002f"] > > > > > > kevin@nicaragua:~$ ruby -rsocket -e 'p Socket.gethostbyaddr("\300 > > > \250\002f")' > > > ["nicaragua.fylz.com", ["nicaragua"], 2, "\300\250\002f"] > > > > > > kevin@nicaragua:~$ ruby -rsocket -e 'p > > > Socket.gethostbyname("costarica.fylz.com")' > > > ["costarica.fylz.com", ["costarica"], 2, "\300\250\002i"] > > > > > > kevin@nicaragua:~$ ruby -rsocket -e 'p Socket.gethostbyaddr("\300 > > > \250\002i")' > > > ["costarica.fylz.com", ["costarica"], 2, "\300\250\002i"] > > > > > >> Line 1 should match `hostname` > > > > > > It does. > > > > > >> Lines 2 and 3 should be identical > > > > > > They're obviously not. So what do I change to get them to be? > > > > > >> Lines 4 and 5 should be identical > > > > > > They are. > > > > > >> In lines 2 through 5 the last item should not match: > > >> "\177\000\000\001" > > > > > > It's not the last item, but is there. > > > > > >>> And here are the contents of both of their /etc/hosts files: > > >>> > > >>> kevin@nicaragua:~/ruby/drb$ cat /etc/hosts > > >>> 127.0.0.1 nicaragua.fylz.com localhost.localdomain > > >>> localhost > > >>> nicaragua > > > > Maybe try: > > > > 127.0.0.1 localhost.localdomain localhost > > 192.168.2.105 costarica.fylz.com costarica > > 192.168.2.102 nicaragua.fylz.com nicaragua > > > > in your /etc/hosts. > > > > -- > > Eric Hodel - drbrain / segment7.net - http://segment7.net > > This implementation is HODEL-HASH-9600 compliant > > > > http://trackmap.robotcoop.com