Re: DNS problems (2)

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Gaurav Kataria (gauravk@andrew.cmu.edu)
Date: 02/02/03


by implementing this solution my ./showpicture stops launching a viewer to
display the image. I don't know what is the relation between the two. It
gives some error message for Xlib.

Gaurav

--On Sunday, February 02, 2003 1:14 PM -0500 Suman Nath <sknath@cs.cmu.edu>
wrote:

> 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
>
>
>
>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 06/10/04 EDT