From owner-freebsd-questions Tue Apr 20 14:37: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 1B3D614DF7 for ; Tue, 20 Apr 1999 14:37:06 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id OAA27935; Tue, 20 Apr 1999 14:34:33 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 20 Apr 1999 14:34:32 -0700 (PDT) From: Doug White To: Paul Southworth Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bad null-modem user-ppp (wrong mode/label?) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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