Hosts file entires

Ray Parrish crp at cmc.net
Thu Nov 27 21:24:32 UTC 2008


Rashkae wrote:
> Ray Parrish wrote:
>   
>> Hello,
>>
>> I downloaded the hosts file available from the MIcrosoft MVP site, and 
>> had problems with localhost. I asked on this list, and was told to add 
>> two localhost lines to the hosts file. This solved the problem but I was 
>> just looking at the hosts file, and I think I may have one line 
>> incorrect. See the following -
>>
>> 127.0.0.1  localhost ray--desktop
>> 127.0.1.1  ray-desktop
>>
>> My question is, is there supposed to be two dashes in that first line, 
>> or did I blow that part of it?
>>
>>
>>     
>
> You blew it.  No need to panic though, just check what your host name
> is: cat /etc/hostname
>
> Then fix whichever of the above lines is wrong.
>
>
>   
OK, but I just opened Terminal and looked at what it said in there at 
the prompt.

Later, Ray Parrish

-- 
http://www.rayslinks.com/ Web index of human reviewed links.
<http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
Trouble shooting and Fixing Windows
http://www.writingsoftheschizophrenic.com My poetry in web pages





More information about the ubuntu-users mailing list