This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PPP setup

I'm attempting to get PPP working. I have a socketmodem connected to an LPC2468 on uart 1. have the serial driver working.

Do I need to include Std_Modem.c in my project?

Where do I make changes to support my particular modem?

I'm not finding this obvious.

Dave

Parents
  • I tried turning off "use default gateway on remote network:, and that fixed the problem in my last post. I still find it very odd that the stack would send packets to an interface that is down.

    Now I have Another Problem.

    I suspect that the PPP stack does not handle back-to-back flags (0x7e) properly. I was getting nothing but these messages:

    PPP ERR: Frame too short

    To test the theory, I tried stripping out every second 0x7e at the serial driver level, and the stack started working! Not well, but well enough to FTP a small file successfully.

    If this is valid, it's a pretty serious bug. It's allowable to use a shared flag between PPP frames, but it certainly is not required!

    Dave

Reply
  • I tried turning off "use default gateway on remote network:, and that fixed the problem in my last post. I still find it very odd that the stack would send packets to an interface that is down.

    Now I have Another Problem.

    I suspect that the PPP stack does not handle back-to-back flags (0x7e) properly. I was getting nothing but these messages:

    PPP ERR: Frame too short

    To test the theory, I tried stripping out every second 0x7e at the serial driver level, and the stack started working! Not well, but well enough to FTP a small file successfully.

    If this is valid, it's a pretty serious bug. It's allowable to use a shared flag between PPP frames, but it certainly is not required!

    Dave

Children