From owner-freebsd-questions Wed Jul 8 18:48:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA02617 for freebsd-questions-outgoing; Wed, 8 Jul 1998 18:48:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from greymalkin.com (greymalkin.com [204.214.119.240]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA02611 for ; Wed, 8 Jul 1998 18:48:42 -0700 (PDT) (envelope-from rgduvall@greymalkin.com) Received: from billing.greymalkin.com (win95) [204.214.110.29] by greymalkin.com with smtp (Exim 1.82 #1) id 0yu5pA-0001Bu-00; Wed, 8 Jul 1998 18:48:41 -0700 Message-ID: <000101bdaadb$7420ac60$0195a8c0@win95.greymalkin.com> From: "Richard G. Duvall" To: Subject: rgppp ppp direct dialup Date: Wed, 8 Jul 1998 18:46:53 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When I try to run ppp in direct mode, or use it as a user shell (this is assuming that the user is member of group network), I get an error message: You may not use ppp in this mode with this label. I am trying to make this config do static IP. Here is my ppp.conf file: default: set debug phase lcp chat set timeout 0 rgppp: set ifaddr 204.214.110.223 204.214.119.254 255.255.255.0 enable proxy Here is my ppp.linkup file: rgppp: add 204.214.119.0 netmask 255.255.255.0 HISADDR When user rgppp logs in, his shell is: /etc/ppp/ppp-rgppp Here is the ppp-rgppp script: #!/bin/sh IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'` CALLEDAS="$IDENT" TTY=`tty` if [ x$IDENT = xdialup ]; then IDENT=`basename $TTY` fi echo "PPP for $CALLEDAS on $TTY" echo "Starting PPP for $IDENT" exec /usr/sbin/ppp -direct -alias $IDENT After I telnet to greymalkin.com, login as rgppp, I get this: login: rgppp Password: Last login: Wed Jul 8 18:34:58 from harborside Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 2.2.6-RELEASE (GREYMALKIN) #0: Sat May 30 10:51:10 PDT 1998 PPP for rgppp on /dev/ttyp2 Starting PPP for rgppp You may not use ppp in this mode with this label Connection closed by foreign host. What am I doing wrong? Sincerely, Richard G. Duvall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message