From owner-freebsd-questions Sun Mar 8 14:37:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21229 for freebsd-questions-outgoing; Sun, 8 Mar 1998 14:37:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21018 for ; Sun, 8 Mar 1998 14:36:48 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id VAA03801; Sun, 8 Mar 1998 21:35:04 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803082135.VAA03801@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Jan Koum cc: questions@FreeBSD.ORG Subject: Re: stty and ppp questions In-reply-to: Your message of "Sat, 07 Mar 1998 23:53:23 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 08 Mar 1998 21:35:04 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, You may need to stty the ``initial state device'' - ttyid1 in this case. Also, connect to the device at the given speed and press return a few times to lock it to the correct speed. You also need to get the latest version of ppp from http://www.FreeBSD.org/~brian The version that came with 2.2.5 is known to have a problem exiting after the client has hung up :-( > Hi all, > > I am trying to setup a PPP server on one of the machines. It is > connected to the LAN with the ethernet and has ttyd1 as it's modem. (The > machine is 2.2.5-RELEASE) > First problem I am running into is that stty changes baud settings > for ttyd1 to 9600 every time I connect to it. Here is what /etc/ttys has: > # grep ttyd1 /etc/ttys > ttyd1 "/usr/libexec/getty std.57600" dialup on insecure > #ttyd1 "/usr/sbin/pppd -detach" unknown on insecure > # > Main question I have is how can I save stty settings forever so it > will never change back to 9600? > Another question is that after following man page for ijj-ppp on > how to setup incoming ppp connections (Method 1), I am running into > trouble where after ppp user quits, "ppp -direct" is still running and ppp > user still shows logged in. I guess if I make a label name that would time > out that could solve it, right? Thanks, > > -- Yan -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message