From owner-freebsd-questions Thu Apr 30 18:39:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29964 for freebsd-questions-outgoing; Thu, 30 Apr 1998 18:39:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29954 for ; Thu, 30 Apr 1998 18:39:10 -0700 (PDT) (envelope-from jwlo@ms11.hinet.net) Received: from ms11.hinet.net (dialup202.cyut.edu.tw [163.17.3.202] (may be forged)) by ms11.hinet.net (8.8.8/8.8.8) with ESMTP id JAA15092; Fri, 1 May 1998 09:41:28 +0800 (CST) Message-ID: <354926C4.EF7E3B53@ms11.hinet.net> Date: Fri, 01 May 1998 09:35:00 +0800 From: Doug Lo X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Brian Somers CC: freebsd-questions@FreeBSD.ORG Subject: Re: Weird ppp problem. References: <199805010052.BAA29166@awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Somers wrote: > [.....] > > isp: > > set openmode active > > set phone 3325318 > > set login "name: xxxxx:password:xxxxx:No : 2" > > set ifaddr 10.1.1.1/0 10.2.2.2/0 > > dial > > > > The ppp.linkup is: > > isp: > > delete ALL > > add 0 0 HISADDR > > > > The ppp.log file is: > > [ snip ] > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP: ACFCOMP[2] > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP: PROTOCOMP[2] > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP: ACCMAP[6] 0x00000000 > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP: MRU[4] 1500 > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP: MAGICNUM[6] 0x681f8874 > > Apr 29 21:20:12 Jupiter ppp[218]: tun0: LCP: State change Req-Sent --> Stopped > > Apr 29 21:20:12 Jupiter ppp[218]: tun0: LCP: LcpLayerFinish > [.....] > > Looks like you've got your chat script wrong - I assume that you were > sending lots of REQs before this with no response. Enable ``chat'' > logging to see what's going on there - are you sure you want > > name: xxxxx:password:xxxxx:No > : 2 > > when you connect ? > Hmm, I'm not sure. The following example is I run ppp to connect Internet by manual: Working in interactive mode Using interface: tun0 ppp ON Jupiter> term Working in interactive mode Entering terminal mode. Type `~?' for help. atdt3325318 CONNECT 28800/ARQ/V34/LAPM/V42BIS Annex Command Line Interpreter * Copyright (C) 1988, 1995 Xylogics, Inc. Checking authorization, Please wait... Annex username: xxxxxx Annex password: Permission granted 1. SLIP 2. PPP 3. connect to any ip-address 4. LOGOUT Enter No : 2 Switching to PPP. ppp ON Jupiter> Packet mode. PPP ON Jupiter> add 0 0 HISADDR Am I wrong about setting ppp? Regards, Doug. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message