From owner-freebsd-questions Wed Sep 24 09:44:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA09554 for questions-outgoing; Wed, 24 Sep 1997 09:44:31 -0700 (PDT) Received: from asuras.svd.avanticorp.com (nat-20.avanticorp.com [207.220.204.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA09549 for ; Wed, 24 Sep 1997 09:44:28 -0700 (PDT) Received: from avant127.svd.avanticorp.com (avant127.svd.avanticorp.com [172.16.0.32]) by asuras.svd.avanticorp.com (8.8.7/8.8.5) with SMTP id JAA13072; Wed, 24 Sep 1997 09:38:43 -0700 (PDT) Received: by avant127.svd.avanticorp.com (SMI-8.6/SMI-SVR4) id JAA27237; Wed, 24 Sep 1997 09:43:49 -0700 Date: Wed, 24 Sep 1997 09:43:49 -0700 From: ccp@avanticorp.com (Ching-Ping Chou) Message-Id: <199709241643.JAA27237@avant127.svd.avanticorp.com> To: brian@awfulhak.org Subject: Re: ppp dial ok, login ok, but disconnected after 36 seconds with IBM Net? Cc: ccp@avanticorp.com, freebsd-questions@FreeBSD.ORG, jwlo@ms11.hinet.net X-Sun-Charset: US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brian, Thanks. I also found I have to do: set openmode active Finally I can connect to IBM Net. Ching-Ping ----- Begin Included Message ----- >From brian@awfulhak.org Mon Sep 22 23:27 PDT 1997 To: ccp@avanticorp.com (Ching-Ping Chou) cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp dial ok, login ok, but disconnected after 36 seconds with IBM Net? Date: Tue, 23 Sep 1997 07:29:50 +0100 From: Brian Somers > Hi, > > I am using FreeBSD.2.1.0-RELEASE with ppp.0.94 to connect to IBM Net. They > indicate I should use PAP instead of scripts. After connecting, I got "dial ok" > and "login ok". But the machine name in the prompt never change to upper case. > And it automatically disconnects after 36 seconds. During this time, I try > "show route" and didn't see any extra route was added. Are there some one who > has experience on using ppp with PAP and like to share his experience with me? > Thanks a lot. > > PS. I used to connect to school and Pacific Bell and both work fine without > PAP. > > Ching-Ping Chou > > > #my ppp.conf > > default: > set device /dev/cuaa2 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATM0 OK-AT-OK \\dATDT\\T > TIMEOUT 45 CONNECT" > ibm: > set phone 9647001 > set authname "username" > set authkey "password" > set timeout 1800 > enable PAP ^^^^^^^^^^ You're asking your ISP to authenticate themselves ! Remove this line and things may work better. > accept PAP > disable CHAP lqr > deny CHAP lqr > dial > > -- Brian , , ----- End Included Message -----