From: Suman Nath (sknath@cs.cmu.edu)
Date: 02/02/03
All,
Some of you have complained that Protocol.getLocalIP() returns 127.0.0.1
as the local IP address, and so all the dynamic DNS entries have the
address 127.0.0.1. Ideally Protocol.getLocalIP() should return a
non-127.0.0.1 IP.
As a quick fix, use the following hack to get aroung with that.
1. use "hostname <name>" (i.e. "hostname sknLaptop") to set a name to your
machine,
2. add "<ip> <name>" (i.e. "1.2.3.4 sknLaptop", where 1.2.3.4 is the IP
address of the machine shown by the "/sbin/ifconfig" command) to your
/etc/hosts file
I will try to find a better solution.
- Suman
This archive was generated by hypermail 2.1.5 : 06/10/04 EDT