From owner-freebsd-questions Sun Apr 26 07:36:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04795 for freebsd-questions-outgoing; Sun, 26 Apr 1998 07:33:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.2.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04384 for ; Sun, 26 Apr 1998 07:28:14 -0700 (PDT) (envelope-from J.G.E.Backus@tue.nl) Received: from asterix.urc.tue.nl [131.155.5.10] by kweetal.tue.nl (8.8.8) id QAA14549 (ESMTP). Sun, 26 Apr 1998 16:28:10 +0200 (MET DST) Received: from jbackus@localhost by asterix.urc.tue.nl (8.8.8) id QAA03408. Sun, 26 Apr 1998 16:28:11 +0200 (MDT) Message-ID: <19980426162811.A3103@asterix.urc.tue.nl> Date: Sun, 26 Apr 1998 16:28:11 +0200 From: Jos Backus To: Jason Nordwick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: -current PPP question Mail-Followup-To: Jason Nordwick , freebsd-questions@FreeBSD.ORG References: <19980427012729.A392@mp-c.com> <19980426070638.6541.qmail@xcf.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.1 In-Reply-To: <19980426070638.6541.qmail@xcf.berkeley.edu>; from Jason Nordwick on Sun, Apr 26, 1998 at 07:06:38AM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Jason, On Sun, Apr 26, 1998 at 07:06:38AM -0000, Jason Nordwick wrote: > I do it from 3.0-980222-SNAP, so I think so. I cvsupped and made the world on Saturday, so I should be up to date. > If nobody answers I'll try to create the error. Thanks, I appreciate that. Another funny thing I'm seeing: if I replace the script invocation !/usr/local/sbin/isdn-auth with \"!/usr/sbin/ppp -direct tue-isdn-auth\" and do ``ppp tue-isdn'' followed by a manual ``dial'', I see this: pr 27 00:45:50 jos ppp[587]: tun0: Phase: Using interface: tun0 Apr 27 00:45:50 jos ppp[587]: tun0: Phase: PPP Started. Apr 27 00:45:53 jos ppp[587]: tun0: Phase: Connected! Apr 27 00:45:53 jos ppp[587]: tun0: Chat: Expecting: Apr 27 00:45:53 jos ppp[587]: tun0: Chat: Sending: ATZE0Q0^M Apr 27 00:45:53 jos ppp[587]: tun0: Chat: Expecting: OK-ATZE0Q0-OK Apr 27 00:45:53 jos ppp[587]: tun0: Chat: Wait for (5): OK Apr 27 00:45:53 jos ppp[587]: tun0: Connect: ^M Apr 27 00:45:53 jos ppp[587]: tun0: Connect: OK Apr 27 00:45:55 jos ppp[587]: tun0: Phase: Phone: 0402960155 Apr 27 00:45:55 jos ppp[587]: tun0: Chat: Sending: ATDI0402960155^M Apr 27 00:45:55 jos ppp[587]: tun0: Chat: Expecting: CONNECT Apr 27 00:45:55 jos ppp[587]: tun0: Chat: Wait for (40): CONNECT Apr 27 00:45:55 jos ppp[587]: tun0: Connect: ^M Apr 27 00:45:57 jos ppp[587]: tun0: Connect: ^M Apr 27 00:45:57 jos ppp[587]: tun0: Connect: CONNECT Apr 27 00:45:57 jos ppp[587]: tun0: Chat: Expecting: Apr 27 00:45:57 jos ppp[587]: tun0: Chat: Exec: /usr/sbin/ppp -direct tue-isdn-auth Apr 27 00:45:57 jos ppp[588]: Phase: Listening at port 3000. Apr 27 00:45:57 jos ppp[588]: tun1: Phase: Using interface: tun1 Apr 27 00:45:57 jos ppp[588]: tun1: Phase: Listening at port 3001. Apr 27 00:45:57 jos ppp[587]: tun0: Chat: Sending: Apr 27 00:45:57 jos ppp[587]: tun0: Chat: Expecting: CONNECT Apr 27 00:45:57 jos ppp[587]: tun0: Chat: Wait for (60): CONNECT Apr 27 00:45:57 jos ppp[587]: tun0: Connect: 115200/PPP 64000/NONE^M Apr 27 00:45:57 jos ppp[588]: tun1: Phase: PPP Started. Apr 27 00:45:57 jos ppp[588]: tun1: Phase: Connected! Apr 27 00:45:57 jos ppp[588]: tun1: Phase: Packet mode enabled Apr 27 00:45:57 jos ppp[588]: tun1: LCP: State change Initial --> Closed Apr 27 00:45:57 jos ppp[588]: tun1: LCP: State change Closed --> Stopped Apr 27 00:45:58 jos ppp[588]: tun1: LCP: LcpSendConfigReq Apr 27 00:45:58 jos ppp[588]: tun1: LCP: ACFCOMP[2] Apr 27 00:45:58 jos ppp[588]: tun1: LCP: PROTOCOMP[2] Apr 27 00:45:58 jos ppp[588]: tun1: LCP: ACCMAP[6] 0x00000000 Apr 27 00:45:58 jos ppp[588]: tun1: LCP: MRU[4] 1500 Apr 27 00:45:58 jos ppp[588]: tun1: LCP: MAGICNUM[6] 0x7332a794 Apr 27 00:45:58 jos ppp[588]: tun1: LCP: State change Stopped --> Req-Sent Apr 27 00:46:01 jos ppp[588]: tun1: LCP: LcpSendConfigReq Apr 27 00:46:01 jos ppp[588]: tun1: LCP: ACFCOMP[2] Apr 27 00:46:01 jos ppp[588]: tun1: LCP: PROTOCOMP[2] Apr 27 00:46:01 jos ppp[588]: tun1: LCP: ACCMAP[6] 0x00000000 Apr 27 00:46:01 jos ppp[588]: tun1: LCP: MRU[4] 1500 Apr 27 00:46:01 jos ppp[588]: tun1: LCP: MAGICNUM[6] 0x7332a794 Apr 27 00:46:04 jos ppp[588]: tun1: LCP: LcpSendConfigReq Apr 27 00:46:04 jos ppp[588]: tun1: LCP: ACFCOMP[2] Apr 27 00:46:04 jos ppp[588]: tun1: LCP: PROTOCOMP[2] Apr 27 00:46:04 jos ppp[588]: tun1: LCP: ACCMAP[6] 0x00000000 Apr 27 00:46:04 jos ppp[588]: tun1: LCP: MRU[4] 1500 Apr 27 00:46:04 jos ppp[588]: tun1: LCP: MAGICNUM[6] 0x7332a794 Apr 27 00:46:07 jos ppp[588]: tun1: LCP: LcpSendConfigReq Apr 27 00:46:07 jos ppp[588]: tun1: LCP: ACFCOMP[2] Apr 27 00:46:07 jos ppp[588]: tun1: LCP: PROTOCOMP[2] Apr 27 00:46:07 jos ppp[588]: tun1: LCP: ACCMAP[6] 0x00000000 Apr 27 00:46:07 jos ppp[588]: tun1: LCP: MRU[4] 1500 Apr 27 00:46:07 jos ppp[588]: tun1: LCP: MAGICNUM[6] 0x7332a794 Apr 27 00:46:10 jos ppp[588]: tun1: LCP: LcpSendConfigReq Apr 27 00:46:10 jos ppp[588]: tun1: LCP: ACFCOMP[2] Apr 27 00:46:10 jos ppp[588]: tun1: LCP: PROTOCOMP[2] Apr 27 00:46:10 jos ppp[588]: tun1: LCP: ACCMAP[6] 0x00000000 Apr 27 00:46:10 jos ppp[588]: tun1: LCP: MRU[4] 1500 Apr 27 00:46:10 jos ppp[588]: tun1: LCP: MAGICNUM[6] 0x7332a794 Apr 27 00:46:13 jos ppp[588]: tun1: LCP: State change Req-Sent --> Stopped Apr 27 00:46:13 jos ppp[588]: tun1: LCP: LcpLayerFinish Apr 27 00:46:14 jos ppp[587]: tun0: Connect: ~^?}#@!}$}!} }(}'}"}(}"xD~^?}#@!}$} "} }(}'}"}(}"^Vl~^?}#@!}$}#} }(}'}"}(}"Cs~^?}#@!}$}$} }(}'}"}(}"[4~^?}#@!}$}%} } (}'}"}(}"^N+~^M Apr 27 00:46:14 jos ppp[587]: tun0: Connect: NO CARRIER^M Apr 27 00:46:14 jos ppp[588]: tun1: Phase: Modem: Connect time: 17 secs: 0 octets in, 261 octets out Apr 27 00:46:14 jos ppp[588]: tun1: Phase: total 15 bytes/sec Apr 27 00:46:14 jos ppp[588]: tun1: Phase: NewPhase: Dead Apr 27 00:46:15 jos ppp[588]: tun1: Phase: PPP Terminated (dead). Here's where I have to Ctrl-C the ppp process: Apr 27 00:46:38 jos ppp[587]: tun0: Phase: DoChat: Caught signal 2, abort connect My gut feeling tells me some file descriptor magic is going wrong here. Thanks again for your help! Cheers, -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ jbackus@urc.tue.nl _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message