[2215] in linux-net channel archive
Re: PPP routing
daemon@ATHENA.MIT.EDU (Al Longyear)
Fri Mar 22 14:57:06 1996
To: ATPlack@scj.com
Date: Fri, 22 Mar 1996 11:26:21 -0800 (PST)
From: "Al Longyear" <longyear@netcom.com>
Cc: jong@ssc.com, linux-net@vger.rutgers.edu, linux-ppp@vger.rutgers.edu
In-Reply-To: <"MSMAIL PC */PRMD=SCJMAIL/ADMD=MCI/C=US/"@MHS> from "ATPlack@scj.com" at Mar 22, 96 11:12:40 am
ATPlack@scj.com wrote:
> Last night, I had THE brainstorm. I knew that Shiva supported CHAP and PAP.
Shiva also has their own proprietary authentication protocol. It is
commonly called 'SPAP' (or Shiva PAP).
The pppd process does not support this protocol.
If your site has SPAP enabled then you need to ensure that you don't
have all of the others disabled or Linux pppd wont connect.
> Could it be that I did not need to login to the terminal mode to gain
> access? That by enabling one of the two above, I would gain access to the
> system directly. I would have my own IP address at last.
>
> I create the pap-secrets and chap-secrets file in the /etc/ppp directory in
> hopes that I could used them. However, when I used the auth switch on pppd,
> it gave me the error that the authentication files could not be located. I
> still have not resolved this problem.
Don't use 'auth'. This simply forces the authentication mode 'on'
without specifying the keys to the authentication. Without the keys,
the system will attempt to find them by using the IP addresses in the
command line. This is not a suitable method for your use. Use either
the 'user' (for PAP) or 'name' and 'remotename' (for PAP or CHAP) options.
The values of the 'user', 'name', and 'remotename' are the keys to the
/etc/ppp/pap-secrets and /etc/ppp/chap-secrets files. They define
which record(s) is/are to be used.
> I did find in the man pages a switch called +ua. +ua takes a file which
> contains the user and password for PAP authentication. I fired up pppd with
> the new chat script that did not login to the Shiva box as a terminal, just
> dialed and connected. Bam, I was in. I set up my route and saw the Mecca.
> The Internet in all it's gory (not a mistype mind you).
You should use the /etc/ppp/pap-secrets file. Look in the current
PPP-HOWTO for an explanation of their formats and example use.
> My concern comes that the man pages indicated that this switch was outdated.
> Problem to be resolve. Why is it not finding the secrets files? I tried
> permissions and everything else I could think of (even the current directory
> trick) but no dice.
It did find the files. It just could not find the proper records in the
files for the names that you used.
--
Al Longyear longyear@netcom.com longyear@sii.com
Finger longyear@netcom.com for PGP public key.