Hari wrote:

>On Wed, Jul 23, 2008 at 5:11 PM, Tomas Bodzar <[EMAIL PROTECTED]> wrote:
>> Eh,I missed something.Look at /etc/hosts and $hostname
>> Why is localhost.WORKGROUP localhost in /etc/hosts and
>> mercury.my.domain in $hostname
>
>I have long suspected that this is the problem. I am a novice at this
>and I have little understanding. I have gone through the man pages for
>/etc/hosts but I could not figure out what exactly I was doing wrong.
>
>What should /etc/hosts read as? And what should the $hostname be? The
>machine is to be named "mercury".
>
>> $sudo ifconfig fxp0 up
>fxp0: warning: SCB timed out (x3)
>fxp0: config command timeout
>
>Hari
>

My (not so) humble opinion.
/etc/hosts is the poor man's DNS -- what name to what IP
::1 localhost.foo.bar localhost
127.0.0.1 localhost.foo.bar localhost
::1 gw.foo.bar gw this-box
192.168.10.1    gw this-box gw.foo.bar
192.168.10.22  that-box

Actually the local box can have a lot of names, all for the same IP.

Looks like your hostname goes into /etc/myname

Reply via email to