Date: Tue, 20 Apr 1999 14:34:32 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Paul Southworth <pauls@etext.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bad null-modem user-ppp (wrong mode/label?) Message-ID: <Pine.BSF.4.03.9904201433530.1514-100000@resnet.uoregon.edu> In-Reply-To: <Pine.ETEX.4.02.9904201434300.17112-100000@locust.etext.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Apr 1999, Paul Southworth wrote:
>
> I know I have to be doing something really dumb, since I've had this
> working with a modem before, now failing with null-modem cable. Anyhow,
> a dope-slap and an answer would be appreciated.
>
> Two FreeBSD 3.0-RELEASE machines, with a working null-modem cable between
> them. Both machines have tunnels in the kernel and tun[0123] devices
> created.
>
> Invoking ppp on the server host, when ppp is already running on the
> client, always terminates thusly:
>
> "You may not use ppp in this mode with this label"
>
> I have not specified any allowed modes, which means all modes should
> be OK with all labels, right? Example session and client logs appended
> at bottom. Nothing gets logged on the server side. Client 'tun0' goes
> into the UP state when ppp runs, but nothing else interesting happens.
>
> On server host:
>
> * /etc/ttys entry -
> ttyd1 "/usr/libexec/getty std.115200" vt100 on
>
> * /etc/passwd entry -
> ppp:*:1002:69:PPP User:/home/ppp:/usr/local/bin/ppplogin
>
> * /usr/local/bin/ppplogin -
> #! /bin/sh
> exec /usr/sbin/ppp -dedicated direct-server
^^^^^^^^^^^^^ It doesn't like this
Try changing the profile to one without a dash.
Doug White
Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite | www.freebsd.org
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?Pine.BSF.4.03.9904201433530.1514-100000>
