I have a network problem with my hosts file :-(
Steven W. Orr
steveo at syslang.net
Sun Dec 12 18:20:01 EST 2004
On Saturday, Dec 11th 2004 at 22:25 -0500, quoth Dan Jenkins:
=>> -----Original Message-----
=>> From: Steven W. Orr <steveo at syslang.net>
=>> To: Greater New Hampshire Linux User Group <discuss at gnhlug.org>
=>> Sent: Sat Dec 11 16:56:21 2004
=>> Subject: I have a network problem with my hosts file :-(
=>>
=>> Here's the deal.
=>>
=>> 533 ls -l /etc/hosts
=>> -rw-r--r-- 2 root root 264 Mar 7 2004 /etc/hosts
=>> 534 >
=>>
=>> Here are the relevant entries from the file:
=>>
=>> 535 cat /etc/hosts
=>> # Do not remove the following line, or various programs
=>> # that require network functionality will fail.
=>> 127.0.0.1 localhost.localdomain localhost
=>> 192.168.0.4 saturn syslang.net
=>> 192.168.0.2 uranus
=>> 192.168.0.3 linus
=>>
=>> The problem is that I don't seem to be able to access anything in my hosts
=>> file by name. I can ping 127.0.0.1 but I can't ping localhost.
=>
=>check /etc/host.conf
=>
=>It should say:
=> order hosts,bind
It does.
=>
=>BTW, dig would reference a DNS server, not a hosts file, AFAIK.
This is interesting. I did not know this.
Epilogue:
I don't know why, but now it all works again. Obviously a sign from the
multiverse telling me I need to move to the next plane of existence.
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
More information about the gnhlug-discuss
mailing list