[gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater
I am relatively new to Gentoo and I am having a problem resolving localhost. I always get "unknown host localhost" I can connect to any other site such as www.yahoo.com but nothing else works. I have gone through the Gentoo Handbook several times and googled the issue but could not find a

Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater
The /etc/hosts file has the only the following entry in it: 127.0.0.1 localhost I cannot get the system to reconize anything that I place in /etc/hosts. For some reason it does not appear that the /etc/hosts file is being processed. Is there a config file somewhere that specifies whether or not

Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater
lo is up, verified with ifconfig. I can ping 127.0.0.1, however pinging localhost results in "ping: unknown host localhost". I get the same result with anything else that I add to the hosts file. Thanks, RussFrom: Nick Rout [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo:

Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater
Thanks Nick! strace showed that /etc/hosts was not being opened, but it showed that nsswitch.conf was being opened but did not exist, so I created a nsswitch.conf file with the following line: hosts: files dns Now everything works. Thank you, RussFrom: Nick Rout [EMAIL PROTECTED]Reply-To:

Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater
.You might like toextract it from sys-libs/glibc (the owner on my system) and replace itwith the full file.BillKOn Sun, 2005-07-24 at 23:59 -0400, Russell Slater wrote:Thanks Nick! strace showed that /etc/hosts was not being opened, butit showed that nsswitch.conf was being opened but did not

Re: [gentoo-user] dual-linuxdistro-boot kernel question

2005-08-16 Thread Russell Slater
Couldn't you place both kernels in /boot with different names and leverage grub to load the approriate one?