Subject: Re: bin/4168: Request for init to handle pppd
To: None <current-users@NetBSD.ORG>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 09/28/1997 06:02:23
Matthias Scheler <tron@lyssa.owl.de> typed:
:In article <19970927060918.8357.qmail@primenet.com.au>,
: mason@primenet.com.au writes:
:>>Synopsis: init can't handle pppd without changes
:Why has it got to? Use a script! I've got this in line in my "/etc/ttys":
:tty00 "/etc/ppp/jehova" unknown on secure
:And the script looks like this:
:#!/bin/sh
:exec /usr/sbin/pppd $* 57600 194.123.65.89:194.121.202.132 defaultroute mtu 576 netmask 255.255.255.255 -bsdcomp connect $0.chat
Someone said that pppd now can handle other tty placements so it probably isn't
needed. Since I have it running on a production machine I haven't tried it
yet. Also, I don't really want a dozen different scripts to handle modems.
I use /etc/ppp/options & /etc/ppp/options.tty* to handle settings of
individual ports.
--
Geoff Wing [mason@primenet.com.au] Phone : +61-3-9818 2977
Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9768 2909
Web: <URL:http://www.primenet.com.au/> Mobile : 0412 162 441
[ Boulderdash: <URL:http://ciips.ee.uwa.edu.au/~williams/bd/> ]