From owner-freebsd-questions Thu Sep 19 23:05:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA13843 for questions-outgoing; Thu, 19 Sep 1996 23:05:33 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts12-line11.uoregon.edu [128.223.150.143]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA13807 for ; Thu, 19 Sep 1996 23:05:28 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id XAA00913; Thu, 19 Sep 1996 23:05:51 -0700 (PDT) Date: Thu, 19 Sep 1996 23:05:50 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Oliver Wilson cc: FreeBSD-Questions Subject: Re: I have user ppp connected - But I can't telnet !!! In-Reply-To: <199609200250.WAA28793@Nimbus.CAM.ORG> 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 Thu, 19 Sep 1996, Oliver Wilson wrote: > I have configured user ppp, and can connect to my ISP (I manually start > ppp from one of the virtual consoles). As instructed by ppp's man page, > I have attempted to telnet to my ISP from another virtual console, but > telnet cannot find a route to my ISP. I have included below some of my > system files : > My /etc/hosts file > > 127.0.0.1 localhost.sirn.org localhost > 205.151.119.1 siren.sirn.org siren > 198.168.101.32 HIP.CAM.ORG cam OK so far. > My /etc/host.conf file > > bind > hosts I'd reverse these so that host lookups don't take forever when you're not online and you want to lookup 'localhost'. > My /etc/gateways file > > host 198.168.101.32 gateway 205.151.119.1 metric 0 passive > > ---Should metric be set to 1 ?? I don't even have a gateways file. Are you gatewaying a LAN through? > Part of my ppp.conf > > set login "TIMEOUT 10 login:-\\r-login:" > set timeout 120 > set openmode active > set ifaddr 205.151.119.54/24 198.168.101.32 > > Note: My ISP uses dynamic IP addressing to determine my IP address Your IFADDR statement is asking your ISP for specific addresses. Is that what you want? > My ppp.linkup > > # If we are invoked with an argument ``iij-demand'', then > # delete existing route entry and add peer as default gateway. > # > iij-demand: > delete ALL > add 0 0 HISADDR > # > # Otherwise, simply add peer as default gateway. > # > MYADDR: > add 0 0 198.168.101.32 I guess. Try doing 'add 0 0 HISADDR' after you connect in ppp>. You may need the default route. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major