[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

Linux PPP (LCP) FAILS

i have tried to connect to my ISP thru PPP and the chat program.. i get and error about LCP then it fails...

# /var/adm/messages
Feb 12 21:21:11 vOiD chat[392]: Checking authorization, Please wait...^M
Feb 12 21:21:11 vOiD chat[392]: Annex username: -- got it
Feb 12 21:21:11 vOiD chat[392]: send (MY LOGIN^M)
Feb 12 21:21:11 vOiD chat[392]: expect (word:)
Feb 12 21:21:11 vOiD chat[392]:  MY LOGIN^M
Feb 12 21:21:11 vOiD chat[392]: Annex password: -- got it
Feb 12 21:21:11 vOiD chat[392]: send (MY_PASSWORD^M)
Feb 12 21:21:11 vOiD pppd[391]: Connected...
Feb 12 21:21:12 vOiD kernel: ppp: channel ppp0 mtu = 1500, mru = 1500
Feb 12 21:21:12 vOiD kernel: ppp: channel ppp0 open
Feb 12 21:21:12 vOiD pppd[391]: set kernel debugging level to 0
Feb 12 21:21:12 vOiD pppd[391]: Using interface ppp0
Feb 12 21:21:12 vOiD pppd[391]: Connect: ppp0 <--> /dev/modem
Feb 12 21:21:12 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:12 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:15 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:15 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:18 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:18 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:21 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:21 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:24 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:24 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:27 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:27 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:30 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:30 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:33 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:33 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:36 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:36 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:39 vOiD pppd[391]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:21:39 vOiD pppd[391]: LCP: sending Configure-Request, id 1
Feb 12 21:21:42 vOiD kernel: ppp_ioctl: set debug level 2, netpacket 0
Feb 12 21:21:42 vOiD pppd[391]: Connection terminated.
Feb 12 21:21:42 vOiD pppd[391]: set kernel debugging level to 2
Feb 12 21:21:42 vOiD kernel: ppp: channel ppp0 going down for IP packets!
Feb 12 21:21:42 vOiD kernel: ppp: channel ppp0 closing.
Feb 12 21:21:42 vOiD pppd[391]: Exit.
Feb 12 21:33:57 vOiD pppd[426]: pppd 2.1.2 started by XXXXX, uid 0
Feb 12 21:33:57 vOiD pppd[426]: Connecting with </usr/sbin/chat -v "" ATZ OK ATDT*70,3912257 CONNECT ^M sername: stephen word: ncaas**>
Feb 12 21:33:58 vOiD chat[427]: send (ATZ^M)
Feb 12 21:33:58 vOiD chat[427]: expect (OK)
Feb 12 21:33:58 vOiD chat[427]: ATZ^M^M
Feb 12 21:33:58 vOiD chat[427]: OK -- got it
Feb 12 21:33:58 vOiD chat[427]: send (ATDT*70,3912257^M)
Feb 12 21:33:58 vOiD chat[427]: expect (CONNECT)
Feb 12 21:33:58 vOiD chat[427]: ^M
Feb 12 21:34:17 vOiD chat[427]: ATDT*70,MY ISP PHONE#^M^M
Feb 12 21:34:17 vOiD chat[427]: CONNECT -- got it
Feb 12 21:34:17 vOiD chat[427]: send (^M^M)
Feb 12 21:34:18 vOiD chat[427]: expect (sername:)
Feb 12 21:34:18 vOiD chat[427]:  24000/ARQ/V34/LAPM/V42BIS^M
Feb 12 21:34:19 vOiD chat[427]: ^M
Feb 12 21:34:19 vOiD chat[427]: ^M
Feb 12 21:34:19 vOiD chat[427]: Annex Command Line Interpreter   *   Copyright (C) 1988, 1995 Xylogics, Inc.^M
Feb 12 21:34:19 vOiD chat[427]: ^M
Feb 12 21:34:19 vOiD chat[427]: Checking authorization, Please wait...^M
Feb 12 21:34:19 vOiD chat[427]: Annex username: -- got it
Feb 12 21:34:19 vOiD chat[427]: send (MY _LOGIN^M)
Feb 12 21:34:19 vOiD chat[427]: expect (word:)
Feb 12 21:34:19 vOiD chat[427]:  MY LOGIN^M
Feb 12 21:34:19 vOiD chat[427]: Annex password: -- got it
Feb 12 21:34:19 vOiD chat[427]: send (MY_PASSWORD^M)
Feb 12 21:34:19 vOiD pppd[426]: Connected...
Feb 12 21:34:20 vOiD kernel: ppp: channel ppp0 mtu = 1500, mru = 1500
Feb 12 21:34:20 vOiD kernel: ppp: channel ppp0 open
Feb 12 21:34:20 vOiD pppd[426]: set kernel debugging level to 0
Feb 12 21:34:20 vOiD pppd[426]: Using interface ppp0
Feb 12 21:34:20 vOiD pppd[426]: Connect: ppp0 <--> /dev/modem
Feb 12 21:34:20 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:20 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:23 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:23 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:26 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:26 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:29 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:29 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:32 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:32 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:35 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:35 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:38 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:38 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:41 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:41 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:44 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:44 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:47 vOiD pppd[426]: fsm_sdata(LCP): Sent code 1, id 1.
Feb 12 21:34:47 vOiD pppd[426]: LCP: sending Configure-Request, id 1
Feb 12 21:34:49 vOiD pppd[426]: Interrupt received: terminating link
Feb 12 21:34:49 vOiD pppd[426]: fsm_sdata(LCP): Sent code 5, id 2.
Feb 12 21:34:50 vOiD pppd[426]: Interrupt received: terminating link
Feb 12 21:34:52 vOiD pppd[426]: fsm_sdata(LCP): Sent code 5, id 3.
Feb 12 21:34:55 vOiD kernel: ppp_ioctl: set debug level 2, netpacket 0
Feb 12 21:34:55 vOiD pppd[426]: Connection terminated.
Feb 12 21:34:55 vOiD pppd[426]: set kernel debugging level to 2
Feb 12 21:34:55 vOiD kernel: ppp: channel ppp0 going down for IP packets!
Feb 12 21:34:55 vOiD kernel: ppp: channel ppp0 closing.
Feb 12 21:34:55 vOiD pppd[426]: Exit.

What am i doing wrong.. i am connecting thru modem and i thought i had edited all the files i needed to.. obviously NOT! ...
please help me if you can : )
0
root022697
Asked:
root022697
1 Solution
 
rayc021897Commented:
You are logging into an ANNEX. Is the annex config for ppp direct from login?  or do you need to login and start a ppp session.  It appears that you are not getting ppp packets from the the ANNEX.

Ray

rayc@indy.net

0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now