From owner-freebsd-questions Mon Feb 15 12:42:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02580 for freebsd-questions-outgoing; Mon, 15 Feb 1999 12:42:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02568 for ; Mon, 15 Feb 1999 12:42:06 -0800 (PST) (envelope-from mark.hannon@stockholm.mail.telia.com) Received: from d1o1.telia.com (root@d1o1.telia.com [195.67.240.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id VAA14397 for ; Mon, 15 Feb 1999 21:41:59 +0100 (CET) Received: from doorway.home.lan (t5o1p34.telia.com [195.67.241.34]) by d1o1.telia.com (8.8.8/8.8.5) with ESMTP id VAA26321 for ; Mon, 15 Feb 1999 21:41:57 +0100 (CET) Received: from stockholm.mail.telia.com (putte.home.lan [192.168.255.2]) by doorway.home.lan (8.9.2/8.8.7) with ESMTP id VAA04156; Mon, 15 Feb 1999 21:39:08 +0100 (CET) (envelope-from mark.hannon@stockholm.mail.telia.com) Message-ID: <36C885EB.79ADCB8D@stockholm.mail.telia.com> Date: Mon, 15 Feb 1999 21:39:07 +0100 From: Mark Hannon X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: ppp/chat no longer able to access /dev/tty from exec Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have previously used the following scripts to dial into my employer. I am prompted for userid and a password (which is dynamically created for me by a little credit card security number generator). I haven't logged onto work for some months, and now, when I try to use my recently upgraded 3.0 box to do it the chat script doesn't work. The !/etc/ppp/prompt_password no longer attaches to the ppp terminal but connects to some other file descriptors. Is there any way to get the old behaviour back? (I had a brief look at the code but got quickly overwhelmed...) Here are the relevant portions: >From ppp.conf: set login "TIMEOUT 5 Username:-\\r-Username: !/etc/ppp/prompt_passwd word: !/etc/ppp/prompt_passwd ~" doorway:~> more /etc/ppp/prompt_passwd #!/bin/sh echo -n "($*) " >&2 read x echo $x exit 0 Thanks, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message