From owner-freebsd-questions Wed Dec 17 02:46:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA29817 for questions-outgoing; Wed, 17 Dec 1997 02:46:44 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from smtp1.wanadoo.fr (smtp.wanadoo.fr [193.252.19.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA29812 for ; Wed, 17 Dec 1997 02:46:38 -0800 (PST) (envelope-from j.saito@wanadoo.fr) Received: from tamaya.wanadoo.fr (tamaya.wanadoo.fr [193.252.19.31]) by smtp1.wanadoo.fr (8.7.5/[France Telecom Interactive]) with ESMTP id LAA10354 ; Wed, 17 Dec 1997 11:46:42 +0100 (MET) Received: from tls4-114.abo.wanadoo.fr [193.252.155.114] by tamaya.wanadoo.fr for Paris Wed, 17 Dec 1997 11:48:04 +0100 (MET) Date: Wed, 17 Dec 1997 11:45:54 +0000 ( ) From: Junichi Saito X-Sender: junichi@linux Reply-To: Junichi Saito To: "Matthew D. Fuller" cc: jonc@pinnacle.co.nz, rgireyev@yahoo.com, freebsd-questions@FreeBSD.ORG Subject: Re: How do I determine "hostname" ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Yes, you are right. I didn't correctly set up "/etc/ppp/ppp.linkup" file. The entries are already there in "/etc/resolv.conf". PPP works fine now. Thanks for all you who answered my question. junichi On Tue, 16 Dec 1997, Matthew D. Fuller wrote: > On Tue, 16 Dec 1997 j.saito@wanadoo.fr wrote: > > > # netstat -nr > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs Use Netif Expire > > 127.0.0.1 127.0.0.1 UH 1 26 lo0 > > 195.6.71.4 193.252.160.71 UH 0 0 tun0 > Well, here's part of your problem. You need 195.6.71.4 to be a default > route; there's no default route out of your box. Here's what you need to > put in your /etc/ppp/ppp.linkup file: > MYADDR: > add 0 0 HISADDR > That'll add the other end of your ppp link automatically as the default > route. > > > # ping 195.6.71.4 > > PING 195.6.71.4 (195.6.71.4): 56 data bytes > > 64 bytes from 195.6.71.4: icmp_seq=0 ttl=255 time=315.404 ms > > 64 bytes from 195.6.71.4: icmp_seq=1 ttl=255 time=273.907 ms > > > > # ping ftp.freebsd.org > > ping: cannot resolve ftp.freebsd.org: Host name lookup failure > As someone else suggested, also make sure that /etc/resolv.con lists your > ISP's nameserver