Date: Wed, 8 Jul 1998 18:46:53 -0700 From: "Richard G. Duvall" <rgduvall@greymalkin.com> To: <freebsd-questions@FreeBSD.ORG> Subject: rgppp ppp direct dialup Message-ID: <000101bdaadb$7420ac60$0195a8c0@win95.greymalkin.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101bdaadb$7420ac60$0195a8c0>
