On Wed, 26 Jan 2000, Paul Lussier wrote:
> Derek mentioned they might use CHAP or PAP, in which case I would need a 
> secrets file.  Never been there, never done that :)

  Like everything else, pppd secrets are easy, if you know what to do.  :)

  They are stored in /etc/ppp/chap-secrets and /etc/ppp/pap-secrets, for the
respective protocols.  They both have the same format, so what I do is make an
/etc/ppp/secrets file and symlink the other two to it, ensuring that if the
remote wants a secret, I'll share it with them.  As for the format, simply do:

YourUserName    *       YourPassword    *

  The first * is a wildcard for the server name, the second a wildcard for the
IP addresses.

  You may also have to find a way to pass your username to pppd when
connecting.  The option you need to pass is "user YourUserName"; how you do
that depends on your distribution.  For Red Hat Linux, you'll need to edit the
/etc/sysconfig/network-scripts/ifup-ppp script to include that option.

  Hope this helps!

--
Ben Scott
[EMAIL PROTECTED]



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to