From owner-freebsd-questions Mon Sep 22 02:35:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA29077 for questions-outgoing; Mon, 22 Sep 1997 02:35:44 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA29068 for ; Mon, 22 Sep 1997 02:35:39 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id KAA08176; Mon, 22 Sep 1997 10:34:01 +0100 (BST) Message-Id: <199709220934.KAA08176@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Doug Lo cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP problems with pap. In-reply-to: Your message of "Mon, 22 Sep 1997 10:07:21 +0800." <3425D2D9.5FCE0E6C@ms11.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Sep 1997 10:34:01 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, folks, > > I got a problem with ppp which is using pap. I use dynamic IP address, > ISP supports PAP > authentication. I can't use ppp -auto xxxx, hope someone helps me, > thanks in advance. You must have a "set ifaddr" line if you want to use the -auto, -alias or -ddial modes. > The ppp.conf of mine is: > ========================================== > default: > set device /dev/cuaa1 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 > OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" > > provider: > set phone 4125678 > set login > set timeout 300 > deny lqr You may mean "disable lqr". "Deny lqr" denies negotiations from the peer, but still lets your side negotiate it. In the latest version of ppp, lqr is disabled by default. > accept pap > deny chap > set authname MyUsername > set authkey MyPassword > =========================================== > ppp.linkup is > > ====================== > provider: > delete ALL > add 0 0 HISADDR > ====================== > > ppp.secret is > ====================== > MyUsername MyPassword > ======================= This isn't required. The authname/authkey pair is sufficient to connect using pap or chap. ppp.secret is just for receiving dialins. > Best regards, > Doug. > > -- Brian , , Don't _EVER_ lose your sense of humour....