Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 1998 16:28:11 +0200
From:      Jos Backus <J.G.E.Backus@urc.tue.nl>
To:        Jason Nordwick <nordwick@scam.XCF.Berkeley.EDU>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: -current PPP question
Message-ID:  <19980426162811.A3103@asterix.urc.tue.nl>
In-Reply-To: <19980426070638.6541.qmail@xcf.berkeley.edu>; from Jason Nordwick on Sun, Apr 26, 1998 at 07:06:38AM -0000
References:  <19980427012729.A392@mp-c.com> <19980426070638.6541.qmail@xcf.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
	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



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