I am using RL-ARM TCPnet in an attempt to set up a PPP connection to Windows XP. Sometimes it all works well; i can connect to my device and i can normally exchange tcp packets. Other times, ppp links does not go up; in these cases, it seems like PC sends LCP packets also after PAP authentication has been achieved: library refuses those packets. Windows says "Logging on", and after a while gives up. I have observed that if i setup my modem at 38400 baud (baudrate between my modem and my cpu), ppp often works well, only sometimes fails; but if i setup my modem at 9600 baud (the same baudrate that modems handkshake between them), ppp does never work (the modem goes normally on-line).
Thanks in advance to everyone can give me any suggest.
Here is the log i have obtained with debug library:
PPP: Initialize PPP interface
PPP: Initialize PPP-LCP
PPP: Initialize PPP-PAP
PPP: Initialize PPP-IPCP
PPP: Enabling listen mode...
PPP: Username: tw, Password: teamware
PPP: *** Processing PPP frame ***
PPP: Frame len: 24 bytes
PPP: Protocol: C021
PPP: *** Processing PPP-LCP frame ***
PPP: LCP Config Request received.
PPP: Sending PPP frame...
PPP: Frame len: 16
PPP: Frame len: 26
PPP: Sending LCP Configuration request.
PPP: Frame len: 30
PPP: Frame len: 28 bytes
PPP: LCP Config Acknowledge received.
PPP: Async Char MAP: 00,0A,00,00
PPP: Enabled PF Compression
PPP: Enabled ACF Compression
PPP: Magic Number: 406FEC4F
PPP: Enabled PAP Authentication Protocol
PPP: Frame len: 20 bytes
PPP: Protocol: C023
PPP: *** Processing PPP-PAP frame ***
PPP: PAP Authentication Request received.
PPP: Remote Client login success.
PPP: Frame len: 20
PPP: LCP up, ignoring Config request.