Subject: Re: PPP again
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: John F. Woods <jfw@funhouse.com>
List: current-users
Date: 05/28/1996 15:43:04
> If I say
> 'pppd /dev/ttym1 38400' on ttyp1, pppd will try to read the config from
> /etc/ppp/options.ttyp1, which doesn't exist.
> I guess this is not a problem for people who run only one PPP because
> you can then put all the options in /etc/ppp/options - but if you want
> to run multiple PPP links, you need to use /etc/ppp/options.ttyname

I think you should be able to achieve nearly what you want with

	pppd /dev/ttym1 file /etc/ppp/options.ttym1

It still has to be used with care; it will first read
/etc/ppp/options, then /etc/ppp/options.whatever-tty-name-is-current,
then the user's .ppprc, and finally the arguments (including your file
command), but at least you can hide the options from ps this way.  You
may want to put "device /dev/null" into /etc/ppp/options so that you
can then predict which /etc/ppp/options.xxx file it will read next.