From owner-freebsd-questions Thu Apr 30 18:45:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01045 for freebsd-questions-outgoing; Thu, 30 Apr 1998 18:45:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA01014 for ; Thu, 30 Apr 1998 18:45:47 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id CAA02408; Fri, 1 May 1998 02:45:39 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805010145.CAA02408@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Doug Lo cc: Brian Somers , freebsd-questions@FreeBSD.ORG Subject: Re: Weird ppp problem. In-reply-to: Your message of "Fri, 01 May 1998 09:35:00 +0800." <354926C4.EF7E3B53@ms11.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 May 1998 02:45:39 +0100 From: Brian Somers 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? Yep - you'll need: set login "\"\" \"\" name: myname word: mypassword \"Enter No :\" 2" > > Regards, > Doug. > -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message