Kunal H. Parikh wrote:
> I'm trying to connect to the net using the following command.
>
> pppd connect ' chat -v "" ATDT0,4404444 CONNECT "" sername" kaypee
> assword: pass "" ppp' /dev/cua0 38400 debug
> crtscts modem defaultroute
>
> The pppd log shows me this error:
>
> Dec 14 09:50:20 kp pppd[352]: peer authentication required but no
> suitable secret(s) found
> Dec 14 09:50:20 kp pppd[352]: for authenticating any peer to us (kp.com)
>
> Kindly comment!
Several comments here:
1) I'd advise using the pppd "call" parameter to specify a file
containing all the necessary parameters for any particular connection.
That way, you can put comments in, and it's much easier to change to
call different ISPs, use a different access number/authorization system
etc.
2) Don't use /dev/cua0 - use /dev/ttyS0. It won't matter initially, but
cua devices shouldn't really be used. It's to do with the way they are
locked to prevent say, mgetty and pppd getting confused over who's
accessing the device.
3) You probably have the "auth", "+pap" or "+chap" parameters specified
in your ppp options file. These tell ppp that the remote host has to
authenticate itself to you, and a) you haven't told it what your ISP's
password should be, and b) your ISP won't play anyway. *You* have to
authenticate yourself to the ISP, not the other way round, which is what
you are apparently asking for.
Have fun...
Nick
--
Nick Phillips ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]