Subject: RE: Two servers --getting closer
From: Jonathan Newman (jnewman@mudpup.com)
Date: Fri Nov 03 2000 - 15:24:36 EST
The real problem is that multiple machines are reporting the same
signature. The signatures *by definition* must be unique.
> I don't know how to change what I get back from the hostid
> command. I'd be
> open to suggestions.
There is a C interface for it (sethostid), but looking at the man page
for gethostid, it looks like 4.4BSD dropped support for gethostid.
That explains the conditional code in status.c
Looking at the output from hostid on my machine and your machine, it
looks like gethostid is just remapping one of the ip addresses into a
32 bit quantity. Your id of 17f00 looks like a remapping of 127.0.0.1
(127 is 7f in hex).
Hmm. This seems like a bug in netatalk. We need a better source of a
"unique" ids for the machine. A mac-address from an ethernet card
might be a good source. (?)
Jon Newman
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:34 EST