From owner-freebsd-questions Thu Dec 26 17:45:20 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA23679 for questions-outgoing; Thu, 26 Dec 1996 17:45:20 -0800 (PST) Received: from nexgen.HiWAAY.net (max4-137.HiWAAY.net [208.147.146.137]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA23671 for ; Thu, 26 Dec 1996 17:45:17 -0800 (PST) Received: from nexgen.HiWAAY.net (localhost [127.0.0.1]) by nexgen.HiWAAY.net (8.7.6/8.7.3) with ESMTP id TAA05545 for ; Thu, 26 Dec 1996 19:45:05 -0600 (CST) Message-Id: <199612270145.TAA05545@nexgen.HiWAAY.net> X-Mailer: exmh version 1.6.9 8/22/96 To: questions@freebsd.org Subject: pppd and pap From: dkelly@HiWAAY.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Dec 1996 19:45:04 -0600 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm getting tired of manually dialing out with kermit, logging in, suspending kermit, and launching pppd. As a first stage in automating the process I thought I'd try automating the login process with pap. Does anyone have an example they could share? I think my problem is creating /etc/ppp/pap-secrets, I know the "secret", but have questions about how to indicate my login user name. Adding +pap and -chap to /etc/ppp/options produces a message pppd: peer authentication required but no authentication files accessible What permissions should the /etc/ppp/pap-secrets file have? Am guessing read-only for root is best. Normally I dial out as myself but the above error was as root. Possibly ought to use ppp rather than pppd but I got pppd working first. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.