Gentoo Archives: gentoo-user

From: Nick Rout <nick@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Name Resolution Problem
Date: Mon, 25 Jul 2005 03:43:42
Message-Id: 20050725153635.2E3A.NICK@rout.co.nz
In Reply to: Re: [gentoo-user] Name Resolution Problem by Russell Slater
1 > 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.
2 > Thanks,
3 > Russ
4
5 I would try strace now to see if /etc/hosts is being opened:
6
7 strace -e open ping localhost
8
9 (if that generates too much lok at man strace, there is an option to
10 save to a file - redirection does not work IIRC.)
11 --
12 Nick Rout
13
14 --
15 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Name Resolution Problem Russell Slater <russellds@×××××××.com>