From owner-freebsd-questions Sun Aug 17 11:03:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA12805 for questions-outgoing; Sun, 17 Aug 1997 11:03:40 -0700 (PDT) Received: from shasta.wstein.com (joes@shasta.wstein.com [207.173.11.132]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA12797 for ; Sun, 17 Aug 1997 11:03:35 -0700 (PDT) Received: (from joes@localhost) by shasta.wstein.com (8.8.7/8.8.6) id LAA13007 for freebsd-questions@freebsd.org; Sun, 17 Aug 1997 11:03:28 -0700 (PDT) From: Joseph Stein Message-Id: <199708171803.LAA13007@shasta.wstein.com> Subject: Starting 'getty' from /etc/rc To: freebsd-questions@freebsd.org Date: Sun, 17 Aug 1997 11:03:27 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Aside from breaking the UNIX paradigm, where init runs /etc/rc and then after a successful exit, starts the 'multiuser' mode by running getty (or more specifically, the program listed in /etc/ttys), what are the pro's/con's of starting getty explicitly from /etc/rc, for example from /etc/start_if.tun0? I have been unsuccessful hacking ppp to handle a dialback connection, but need my connection to be up automatically when the system resets (which only happens when I tell it to :). For more information, here's the "handshake" procedure: o I dial up my ISP with 'ppp' o Me/ISP handshake with PAP o ISP drops connection o ISP calls back o Networking starts (no further authentication) Currently, I have to wait till the system is up, then I use some form of ppp to do the initial authentication; when the remote calls back, it drops straight into 'ppp -direct', which works, but ... I want it to be more automatic, and start at the time /etc/start_if.tun0 is called. Any help, ideas, suggestions, or pointers to code to modify in src/usr/sbin/ppp? Joe joes@seaport.net