CHAP authentication

I’m trying to setup a PC running QNX RTP 6.1 with CHAP authentication over a
ppp connection. I can establish a ppp connection to another 6.1 machine
without the CHAP authentication but when I add +chap to the pppd on the
server I get the following error messages:
pppd: The remote system (pppclient) is required to authenticate itself
pppd: but I couldn’t find any suitable secret (password) for it to use to do
so.
pppd: (None of the available passwords would let it use an IP address.)

This error is the only thing that appears on both the display and in the
syslog and then pppd exits. I receive almost the same error messages, with
the exception of the last one, if I don’t have a chap-secrets file at all.

I start pppd with no command line options but here is the contents of my
/etc/ppp/options file:
debug
name pppserver
remotename pppclient
/dev/ser2
115200
130.0.0.1
+chap
passive

Here is the contents of my /etc/ppp/chap-secrets file:
pppclient pppserver secret1

I have the same chap-secrets file on both the server and client. On the
client I am not starting the +chap option, figured it would be easier to
have one working first. Since the client isn’t running the +chap and it’s
in passive mode it stays running but I don’t see any increase in received
bytes or packets if I do a cat /dev/socket/pppmgr.

Any ideas?

Jeff Weaver

Hi Jeff,

There is a bug that has been detected with the CHAP authentication over a ppp
connection and a fix is in the works and will be available in a future patch
for 6.1.

Regards
Brenda

Jeff Weaver <budgie333@hotmail.com> wrote:

I’m trying to setup a PC running QNX RTP 6.1 with CHAP authentication over a
ppp connection. I can establish a ppp connection to another 6.1 machine
without the CHAP authentication but when I add +chap to the pppd on the
server I get the following error messages:
pppd: The remote system (pppclient) is required to authenticate itself
pppd: but I couldn’t find any suitable secret (password) for it to use to do
so.
pppd: (None of the available passwords would let it use an IP address.)

This error is the only thing that appears on both the display and in the
syslog and then pppd exits. I receive almost the same error messages, with
the exception of the last one, if I don’t have a chap-secrets file at all.

I start pppd with no command line options but here is the contents of my
/etc/ppp/options file:
debug
name pppserver
remotename pppclient
/dev/ser2
115200
130.0.0.1
+chap
passive

Here is the contents of my /etc/ppp/chap-secrets file:
pppclient pppserver secret1

I have the same chap-secrets file on both the server and client. On the
client I am not starting the +chap option, figured it would be easier to
have one working first. Since the client isn’t running the +chap and it’s
in passive mode it stays running but I don’t see any increase in received
bytes or packets if I do a cat /dev/socket/pppmgr.

Any ideas?

Jeff Weaver