From owner-freebsd-questions Sun May 4 23:15:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA06461 for questions-outgoing; Sun, 4 May 1997 23:15:00 -0700 (PDT) Received: from gravy.kishka.net (root@chestnut2-34.slip.netaxs.com [207.8.210.164]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA06440 for ; Sun, 4 May 1997 23:14:54 -0700 (PDT) Received: from localhost (root@localhost) by gravy.kishka.net (8.8.5/8.8.4) with SMTP id CAA00285; Mon, 5 May 1997 02:14:46 -0400 (EDT) Date: Mon, 5 May 1997 02:14:45 -0400 (EDT) From: Bryan Liesner X-Sender: root@localhost To: Daniel Keller cc: freebsd-questions@freebsd.org Subject: Re: Problems connecting to the internet In-Reply-To: <199705050513.WAA25630@psln1.psln.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 4 May 1997, Daniel Keller wrote: > Now my new problem: I have all my files set up as is described in the > handbook. I can tell ppp to dial, it dials and connects and logs in fine. > Then I switch to another terminal and try ping. If I try "ping localhost" I > get: > > Ping: send to: Permission denied > Ping: wrote localhost 64 chars, ret=-1 > When you say all files, did you set up resolv.conf, host.conf, and hosts? If not, check these files out - resolv.conf should have at least one line with: nameserver XXX.XXX.XXX.XXX <- your isp's nameserver address hosts should have (minimally): 127.0.0.1 localhost <- there should be a sample in your /etc host.conf (which I believe is already set up in /etc): hosts bind ____ | _ \ | |_) |_ __ _ _ __ _ _ __ | _ <| '__| | | |/ _` | '_ \ ====================== | |_) | | | |_| | (_| | | | | = Powered by FreeBSD = |____/|_| \__, |\__,_|_| |_| ====================== __/ | |___/