[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ppp setup issues..



Gregory Guthrie writes:
> what is the relation of the /etc/ppp.options_out and
> /etc/ppp/options.ttyXX ?

/etc/ppp.options_out is used by the 'pon' command and by init.d.
/etc/ppp/options.ttyXX is read by pppd when it is called with ttyXX as an
argument.  It usually is not needed.

> I presume that one is to either just edit options_out, which is used
> directly by /etc/init.d/ppp for the startup pppd options,...

Yes.

> ...or, change init.d/ppp to instead use /etc/ppp/options.ttyXX (XX
> changed appropriately) and set the options there.

No.  You don't need to mess with /etc/ppp/options.ttyXX files unless you
run pppd on several different ports and want to use different options on
each.

> But, the /etc/ppp/options.ttyXX file(s) are in a more verbose format, with
> comments, multiple lines, etc.. which is not a valid format for use by pppd
> as used in init.d/ppp.

The format is quite valid for a pppd option file.  Pppd ignores newlines
and accepts comments (in files, not on the command line).  

> ? Is the options.ttyXX file just documentation, on how to create one line
> options_out like files?

No, it is an example of how to create a ttyXX file.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: