hostname/IP on beacon?
I've noticed this on both the macs (OS 10.3.4) I've compiled the new
beacon on -- it's showing the hostname/IP pair that the computer was
initially configured with, not the one currently in use via dhcp. I
don't have a non-Mac to try the new beacon on (yet, I'll be
recompiling on a sun to replace my older version soon) so I don't
know if this is a mac problem or a general problem.
I tried hard-coding the IP instead of using DHCP, and it didn't make
any difference.
If I ask my mac what it thinks it's name is I get :
608 faranth> hostname
faranth.ci.uiuc.edu
610 faranth>
and ifconfig shows 192.17.25.224
which are correct, but the beacon startup notice and the web page show:
faranth.cso.uiuc.edu 130.126.113.223
there isn't old data in an /etc/hosts file, I checked for that.
this is the "0.9.58 RC1 - 2" software version, I didn't find the -3
on the web page.
I see where I can comment out the Net::Domain call and use a hostname call:
#my $host = hostname; # Use Sys::Hostname to get good hostname
my $host = Net::Domain::hostfqdn() || die "Unable to get fqdn: $!\n";
but when I tried switching the comments it complained that it
couldn't use "hostname" because strict was on.
I'm not that good a programmer to just know how to fix it, and I
don't have time to spend on this for very long, so I thought I'd see
if anyone else has ideas/answers.
thanks!
--
-debbie
Debbie Fligor, n9dn Network Engineer, CITES, Univ. of Il
email: fligor@uiuc.edu <http://www.uiuc.edu/ph/www/fligor>
"Every keystroke can be monitored. And the computers never forget."