Q: tty Parameter in login.config

Karl Feichtinger (feichtinger@iccc.se)
Mon, 28 Apr 1997 18:15:51 +0200


Hi,

How can I accomplish the following feature: I invoke a pppd via the
AutoPPP feature. This pppd needs a parameter which is dependent on the
current tty interface, e.g. if the incoming call is on ttyS0, the pppd
shall be invoked via
"pppd file options.ttyS0.incoming" etc. 
(The standard pppd options file is no solution in this case, since I
invoke pppd's with different parameters on the same tty and pppd's with
different parameters for different incoming tty's).

Is it possible to provide a parameter in login.config, much like the \L
option in the login prompt, e.g. 
	
 /AutoPPP/ -  ppp  /usr/sbin/pppd file
/etc/ppp/options.\L.incoming


I use: mgetty 1.0.0, Linux 2.0.9
  pppd 2.2.0f (the inherent 


Thanks for any help.
--Karl Feichtinger
.