Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 1999 00:59:49 -0800 (PST)
From:      Billy Thompson <billy@idiom.com>
To:        questions@freebsd.org
Subject:   pppd problem/question
Message-ID:  <Pine.BSF.3.96.990308005705.1244A-100000@idiom.com>

next in thread | raw e-mail | index | archive | help
I am currently experiencing a problem trying to use pppd.  If anyone has
any
ideas I would like to hear them.  I think it's a routing issue with the
loop-back lo0, but if it is I don't know how to resolve it, or even be
sure
that's what the problem is.

User-ppp I can use just fine. I su to root, type ppp then term.  dial up
and log in and it says 
  PPP session from (xxx.xxx.xxx.xxx) to yyy.yyy.yyy.yyy beginning....
  Phase: deflink: PPP packet detected, coming up
  Phase: deflink: ready -> lcp
  Phase: deflink: lcp -> open
  Phase: bundle: Network       
and I'm online

With pppd: I'm using kppp(KDE's frontend).  I enter all the correct
information.  modem=/dev/cuaa1, flow=CRTSCTS, static-ip=xxx.xxx.xxx.xxx
usbnet-mask=255.255.255.0, DNS=zzz.zzz.zzz.zzz, gateway=yyy.yyy.yyy.yyy.

Login script in action:
  ATZJ
  OK
  ATM1L1J
  OK
  ATDT9400026

  CONNECT 31200/ARQ/V34/LAPM/V42BIS
  Idiom Consulting
  Authorized use only
  For information, log in as 'guest' (no password)
  Welcome!


  login: Billy
  Password: 
It enters the correct password and says done.

ifconfig -a:
  lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
  tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
  ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
          inet 209.157.76.73 --> 209.157.64.97 netmask 0xffffff00
  lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
          inet 127.0.0.1 netmask 0xff000000

The ppp.log:
  Mar  8 00:43:41 slipstream ppp[16780]: Phase: bundle: Terminate 
  Mar  8 00:43:41 slipstream ppp[16780]: Phase: deflink: open -> lcp 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase: deflink: Disconnected! 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase: deflink: Connect time: 3353
secs: 6415161 octets in, 224035 octets out 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase:  total 1980 bytes/sec,
peak 11322 bytes/sec on Mon Mar  8 00:43:55 1999 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase: deflink: lcp -> closed 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase: bundle: Dead 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase: deflink: Carrier lost 
  Mar  8 00:43:55 slipstream ppp[16780]: Phase: PPP Terminated (normal). 

When I use user-ppp:
  ppp ON slipstream> term
  Phase: bundle: Establish
  Phase: deflink: closed -> opening
  Phase: deflink: Connected!
  deflink: Entering terminal mode on /dev/cuaa1
  Type `~?' for help
  Phase: deflink: opening -> ready
  ath
  OK
  atd xxxxxxx
  CONNECT 31200/ARQ/V34/LAPM/V42BIS
  Idiom Consulting
  Authorized use only
  For information, log in as 'guest' (no password)
  Welcome!


  login: mylogin
  Password:
  PPP session from (xxx.xxx.xxx.xxx) to yyy.yyy.yyy.yyy beginning....
  Phase: deflink: PPP packet detected, coming up
  Phase: deflink: ready -> lcp
  Phase: deflink: lcp -> open
  Phase: bundle: Network 
At which point I'm logged on and ppp is working properly.

  
-billy




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990308005705.1244A-100000>