Bug 445 - Network setup
Status:
RESOLVED FIXED
Component:
GUI
Version:
unspecified
Hardware:
All All
Importance:
P2 enhancement
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Jan 4 2005 06:33:18 UTC
by:
Romain Chantereau
Modified:
Apr 24 2005 05:36:42 UTC
WhoWhenWhatRemovedAdded
Rob CaelersApr 24 2005 05:36:42 UTCstatusNEWRESOLVED
resolutionFIXED
Description
Romain Chantereau  Jan 4 2005 06:33:19 UTC
Hi !

I am using Workrave on more than one computer and I have a little problem due to
hostname address guessing.

Under GNU/Linux in example, the hostname is taken as the hostame to use (no
problem to this :-)).

But often, the local hostname address is set to the loopback; or worse, the
hostname address can change.

When Workrave get the address by host, it use the standard call I think, and the
given address is very often the /etc/hosts address.

The only way is to update the /etc/hosts file every time, this is not very good.
First because we need SU right, or more complicated set up a laptop-net like
software...

It will be more easier to be able to set the hostname, or the host address
directly in the Workrave network setup dialog box.

What do you think about it ?
Comment 1
Romain Chantereau  Jan 4 2005 06:35:04 UTC
> Under GNU/Linux in example, the hostname is taken as the hostame to use (no
problem to this :-)).

For a better understanding, the first hostname refers to the "hostname" software
that set or get the computer host name, and the second hostname refers to host name.
Comment 2
Rob Caelers  Apr 24 2005 05:35:58 UTC
I prefer not to introduce yet-another-configuration-option. Workrave now tries a
little harder to find a local IP address that is not the loopback device. First
the local hostname is tried. If this is the loopback device, Workrave itterates
over all up network interfaces and selects the first suitable one.