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? 


[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 resolution. Please let me know what you files you might need to look at to troubleshoot the issue.
Thanks,
 Russ

-- 
gentoo-user@gentoo.org mailing list



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 the hosts file gets processed? My system is setup for DHCP and resolv.conf gets overwritten every time the system is booted.
Any ideas?
 RussFrom: Zac Medico [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Sun, 24 Jul 2005 18:20:37 -0700Russell Slater wrote: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 http://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 resolution. Please let me know what you files you might need to look at to troubleshoot the 
issue.Thanks,RussNormally localhost maps to 127.0.0.1 inside /etc/hosts (see the hosts(5) manpage).This file basically allows you to override the normal DNS resolution process for specific host names.Zac--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



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: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Mon, 25 Jul 2005 15:14:45 +1200  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 the hosts file gets processed? My system is setup for DHCP and resolv.conf gets overwritten every time the system is booted.Just check first that the lo interface is up? ifconfig will tell you.also 
tryping localhostping 127.0.0.1--Nick Rout--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



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: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Mon, 25 Jul 2005 15:38:12 +1200  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, RussI would try strace now to see if /etc/hosts is being opened:strace -e open ping localhost(if that generates too much lok at man strace, there is an option tosave to a file - redirection does not work IIRC.)--Nick Rout--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Name Resolution Problem

2005-07-24 Thread Russell Slater

No idea why the file wasn't there. I certainly didn't delete it becauseI never even knew it was there.
RussFrom: Zac Medico [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo: gentoo-user@lists.gentoo.orgSubject: Re: [gentoo-user] Name Resolution ProblemDate: Sun, 24 Jul 2005 21:29:09 -0700Do you know what may have removed that file?If you have gentoolkit installed then you can do "equery check glibc" to see if any other files are missing.ZacW.Kenworthy wrote:nsswitch.conf has a number of other entries in it which if missing maygive rise to similar weird problems like this.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 exist, so Icreated a nsswitch.conf file with the following line:hosts: files dnsNow everything works.Thank you, Russ--gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list