<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tom H wrote:
<blockquote
cite="mid:h2v6d4219cc1004121050pafa98250ob5df8de125d4407c@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Apr 12, 2010 at 1:35 PM, Luis Paulo <a class="moz-txt-link-rfc2396E" href="mailto:luis.barbas@gmail.com"><luis.barbas@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Na. I was expecting red.Workgroup
Well, other file that matters on this subject is
/etc/resolv.conf
See if they differs, if you wish.
</pre>
</blockquote>
<pre wrap=""><!---->
I don't think so.
The only files that matter are
/etc/hostname
and
/etc/hosts
As I said in an earlier email, red must be behaving differently
because red.Workgroup is an alias of localhost and has an address of
127.0.0.1.
I have never understood the Debian/Ubuntu setup where hosts is
127.0.0.1 localhost
127.0.1.1 hostname
and I usually change mine to
127.0.0.1 hostname [hostname.domain] localhost
</pre>
</blockquote>
I have always had luck doing it the very simple way:<br>
carl@cjfh3:~$ cat /etc/hostname<br>
cjfh3<br>
carl@cjfh3:~$ cat /etc/hosts<br>
127.0.0.1 localhost<br>
127.0.1.1 cjfh3<br>
<br>
Regards<br>
Carl<br>
</body>
</html>