port specific login.conf

Shun-Jee Liu (liu@hermes.com.tw)
Fri, 7 Feb 1997 22:59:45 +0800 (CST)


> Hello,
> is ist possible to have port specific entries in login.conf,
> or different login.conf files for each port?
> 
> The background:
> I want to call pppd via AutoPPP with different IP-addresses
> depending on the port the call comes from. Any other
> solutions are also welcome.
My solution is to configure /etc/ppp/options.PORT.
e.g.,
	/etc/ppp/options.ttyS0
	:10.0.100.0
	/etc/ppp/options.ttyS1
	:10.0.100.1

Shun-Jee Liu
Hermes-Epitek
Tel: 886-3-5790022 ext 418
Fax: 886-3-5798320