I am trying to get the sample program /PPP/PPP_ANSWER.C program to work. I could successfully use /SERIAL/EchoChr.C with HyperTerminal.
I am using a direct connection with w/o flow control and this is my modified ipconfig:
ifconfig( IF_PPP2,
IFS_PPP_INIT,
IFS_PPP_SPEED, 19200L,
IFS_IPADDR, aton(“192.168.1.5”),
IFS_PPP_ACCEPTIP, 0,
IFS_PPP_SETREMOTEIP, aton(“192.168.1.13”),
IFS_PPP_ACCEPTDNS, 0,
IFS_PPP_LOCALAUTH, “myname”, “mypwd”,
IFS_UP,
IFS_PPP_PASSIVE, 1,
IFS_END);
Here is the log from verbose output:
PPPLINK: baud rate 19200: setting divisor to 47
PPPLINK: bringing up serial PPP interface 0
PPPLINK: baud rate 19200: setting divisor to 47
PPPLINK: Opened PPP serial on iface 0 at 19200 baud
PPP: sending LCP config req i/f 0
PPPLINK: sendpacket totlen=28 i/f 0
…
PPP: sending LCP config req i/f 0
PPPLINK: sendpacket totlen=28 i/f 0
PPP: LCP too many retries i/f 0
And then it seems to wait in passive mode.
On my PC I start the login connection and it fails after a few seconds with:
Error 777: The connection attempt failed…
On my PC I am running Windows XP. I have created a dial-up connection using a COM port off a USB adapter, PPP extension and compression disabled. (This connection works fine connecting with a null modem cable to another PC).
Using DC 9.62, BL1800 serial port C.
What should I verify in my setup?
How can I get more information from the PPPLink LIB?
Thanks,
Guenther