Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 09:26:58 +0000
From:      Darius Moos <moos@degnet.baynet.de>
To:        Oliver Wilson <owilson@CAM.ORG>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: I have user ppp connected - But I can't telnet !!!
Message-ID:  <32426362.6C25@degnet.baynet.de>
References:  <199609200250.WAA28793@Nimbus.CAM.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>                inet 127.0.0.1 netmask 0xff000000
>         sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
>         tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> 
> What am I missing???
> 
> Oliver Wilson
> 
> owilson@sirn.org

-- 


email: moos@degnet.baynet.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32426362.6C25>