From owner-freebsd-questions Fri Sep 20 00:32:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03316 for questions-outgoing; Fri, 20 Sep 1996 00:32:42 -0700 (PDT) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA03267 for ; Fri, 20 Sep 1996 00:32:36 -0700 (PDT) Received: from neuron (ppp2 [194.95.214.132]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id JAA00494; Fri, 20 Sep 1996 09:38:07 +0200 Message-ID: <32426362.6C25@degnet.baynet.de> Date: Fri, 20 Sep 1996 09:26:58 +0000 From: Darius Moos Reply-To: moos@degnet.baynet.de X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 To: Oliver Wilson CC: FreeBSD-questions Subject: Re: I have user ppp connected - But I can't telnet !!! References: <199609200250.WAA28793@Nimbus.CAM.ORG> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Since your ISP assigns dynamic IP-adr. you should change "set ifaddr 205.151.119.54/24 198.168.101.32" to "set ifaddr 0 0". Darius Moos. 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 > > My /etc/host.conf file > > bind > hosts > > My /etc/gateways file > > host 198.168.101.32 gateway 205.151.119.1 metric 0 passive > > ---Should metric be set to 1 ?? > > 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 > > 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 > > Extracts from the ppp.log file > > 09-15 19:01:21 [216] Using interface: tun0 > 09-15 19:01:21 [216] PPP Started. > 09-15 19:02:07 [216] *Connected! > 09-15 19:02:07 [216] LCP: state change Initial --> Closed > 09-15 19:02:07 [216] LCP: SendConfigReq > 09-15 19:02:07 [216] ACFCOMP > 09-15 19:02:07 [216] PROTOCOMP > 09-15 19:02:07 [216] ACCMAP [6] 00000000 > 09-15 19:02:07 [216] MRU [4] 1500 > 09-15 19:02:07 [216] MAGICNUM [6] c26e43a0 > .... > 09-15 19:02:14 [216] IPCP: SendConfigNak(Ack-Rcvd) > 09-15 19:02:14 [216] IPADDR[6] 198.168.101.32 > 09-15 19:02:15 [216] IPCP: Received Configure Request (24) state = > Ack-Rcvd (7) > 09-15 19:02:15 [216] IPADDR[6] 205.151.119.1 > 09-15 19:02:15 [216] COMPPROTO[6] 002d0f01 > > Results of command ifconfig -a > > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > sl0: flags=c010 mtu 552 > tun0: flags=8010 mtu 1500 > > What am I missing??? > > Oliver Wilson > > owilson@sirn.org -- email: moos@degnet.baynet.de