From owner-freebsd-questions Sat Jul 25 19:13:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27113 for freebsd-questions-outgoing; Sat, 25 Jul 1998 19:13:20 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from junior.apk.net (stuart@junior.apk.net [207.54.158.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27096 for ; Sat, 25 Jul 1998 19:13:18 -0700 (PDT) (envelope-from stuart@junior.apk.net) Received: from localhost by junior.apk.net (8.9.1/8.9.1) with SMTP id WAA18875; Sat, 25 Jul 1998 22:12:48 -0400 (EDT) Date: Sat, 25 Jul 1998 22:12:48 -0400 (EDT) From: Stuart Krivis To: Evan Thomas cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question In-Reply-To: <01bdb82e$4f393ec0$5617b3d1@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 25 Jul 1998, Evan Thomas wrote: > I have been trying to configure PPP. I got it to connect to my ISP > (Earthlink), but ftp, telnet, ping, etc , all give me the message "unknown > host" with everything but localhost. > > my netstat -rn gives: > > dest Gateway flags Refs Use Netif Expire > 127.0.0.1 127.0.01 UH o 16 lo0 Here's mine: su-2.01$ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 207.54.160.2 UGSc 6 1 tun0 127.0.0.1 127.0.0.1 UH 1 97 lo0 207.54.160.2 207.54.181.98 UH 7 0 tun0 It would seem that you don't have a defaultroute set. Or, earthlink is doing something wrong. :-) Do you have this set in ppp.linkup? MYADDR: delete ALL add 0 0 HISADDR How about your ppp.conf? bash-2.01# cat ppp.conf default: set log Phase Chat Connect lcp ipcp ccp command set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" ISP: set phone "1234567" #Separate multiple phone numbers with a | set login set timeout 0 #Change to 0 if no timeout desired deny lqr set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 set authname xxx set authkey xxxx What version of FreeBSD are you using? There was evidently a bug in the user ppp included with the release. (The ppp in 2.2.7 works well.) -- Stuart Krivis stuart@krivis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message