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

ARM: Unable to use tftp over PPP

I successfuly configured Http_Demop and Telnet demo to work Over PPP using Keil RL_ARM 3.10. But i am unable to do so with tftp demo. I have a LPC2148 based Evaluation Board with no ETHERNET. can somebody help me!!!

The problem with TFTP demo is that i am unable to connect to my evaluation board windows dial-up. The same is possible with HTTP demo and Telnet demo.
Please help...

Parents
  • Following is the dump of my debug file.
    As soon as i type

    c:\windows>tftp -i 192.168.125.1 PUT a.txt a2.txt
    

    i get the udp error which is shown in the dump file.

    PPP: Initialize PPP interface
    PPP:  Initialize PPP-LCP
    PPP:  Initialize PPP-PAP
    PPP:  Initialize PPP-IPCP
    UDP: Initialize 3 Sockets
    TCP: Initialize 7 Sockets
    TFTP:Initialize 3 Sessions
    UDP: Searching for free UDP Socket...
    UDP: Free UDP Socket 0 allocated
    UDP: Socket 0, port 69 Opened
    PPP: Enabling listen mode...
    PPP:  Username: Keil, Password: test
    SPPP: *** Processing PPP frame ***
    PPP:  Frame len: 27 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  LCP Config Request received.
    PPP:  Rejecting Unsupported Config Options.
    PPP: Sending PPP frame...
    PPP:  Frame len: 13
    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: *** 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: 26
    PPP: Sending LCP Configuration request.
    PPP: Sending PPP frame...
    PPP:  Frame len: 30
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 28 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  LCP Config Acknowledge received.
    PPP:  Async Char MAP: 00,0A,00,00
    PPP:  Enabled PF Compression
    PPP:  Enabled ACF Compression
    PPP:  Magic Number: 345EB3F7
    PPP:  Enabled PAP Authentication Protocol
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 22 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  Unsupported LCP Code received.
    PPP ERR: Rejecting Not supported PPP Code.
    PPP: Sending PPP frame...
    PPP:  Frame len: 26
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 26 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  Unsupported LCP Code received.
    PPP ERR: Rejecting Not supported PPP Code.
    PPP: Sending PPP frame...
    PPP:  Frame len: 30
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 18 bytes
    PPP:  Protocol:  C023
    PPP: *** Processing PPP-PAP frame ***
    PPP:  PAP Authentication Request received.
    PPP:  Remote Client login success.
    PPP: Sending PPP frame...
    PPP:  Frame len: 18
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  80FD
    PPP ERR: Rejecting Unsupported PPP Protocol.
    PPP: Sending PPP frame...
    PPP:  Frame len: 20
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 44 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Request received.
    PPP: Sending PPP frame...
    PPP:  Frame len: 38
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Request received.
    PPP: Sending PPP frame...
    PPP:  Frame len: 14
    PPP: Sending IPCP IP Config Request.
    PPP: Sending PPP frame...
    PPP:  Frame len: 14
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Request received.
    PPP: Sending PPP frame...
    PPP:  Frame len: 14
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Acknowledge received.
    PPP:  IP address: 192.168.125.1
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 44 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 40 bytes
    IP :  Protocol:  02, Id: 0171
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 100 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 96 bytes
    IP :  Protocol:  11, Id: 0172
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 332 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 328 bytes
    IP :  Protocol:  11, Id: 0174
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 165 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 161 bytes
    IP :  Protocol:  11, Id: 0175
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 100 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 96 bytes
    IP :  Protocol:  11, Id: 0177
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 44 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 40 bytes
    IP :  Protocol:  02, Id: 0178
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 100 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 96 bytes
    IP :  Protocol:  11, Id: 0179
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    

Reply
  • Following is the dump of my debug file.
    As soon as i type

    c:\windows>tftp -i 192.168.125.1 PUT a.txt a2.txt
    

    i get the udp error which is shown in the dump file.

    PPP: Initialize PPP interface
    PPP:  Initialize PPP-LCP
    PPP:  Initialize PPP-PAP
    PPP:  Initialize PPP-IPCP
    UDP: Initialize 3 Sockets
    TCP: Initialize 7 Sockets
    TFTP:Initialize 3 Sessions
    UDP: Searching for free UDP Socket...
    UDP: Free UDP Socket 0 allocated
    UDP: Socket 0, port 69 Opened
    PPP: Enabling listen mode...
    PPP:  Username: Keil, Password: test
    SPPP: *** Processing PPP frame ***
    PPP:  Frame len: 27 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  LCP Config Request received.
    PPP:  Rejecting Unsupported Config Options.
    PPP: Sending PPP frame...
    PPP:  Frame len: 13
    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: *** 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: 26
    PPP: Sending LCP Configuration request.
    PPP: Sending PPP frame...
    PPP:  Frame len: 30
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 28 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  LCP Config Acknowledge received.
    PPP:  Async Char MAP: 00,0A,00,00
    PPP:  Enabled PF Compression
    PPP:  Enabled ACF Compression
    PPP:  Magic Number: 345EB3F7
    PPP:  Enabled PAP Authentication Protocol
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 22 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  Unsupported LCP Code received.
    PPP ERR: Rejecting Not supported PPP Code.
    PPP: Sending PPP frame...
    PPP:  Frame len: 26
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 26 bytes
    PPP:  Protocol:  C021
    PPP: *** Processing PPP-LCP frame ***
    PPP:  Unsupported LCP Code received.
    PPP ERR: Rejecting Not supported PPP Code.
    PPP: Sending PPP frame...
    PPP:  Frame len: 30
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 18 bytes
    PPP:  Protocol:  C023
    PPP: *** Processing PPP-PAP frame ***
    PPP:  PAP Authentication Request received.
    PPP:  Remote Client login success.
    PPP: Sending PPP frame...
    PPP:  Frame len: 18
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  80FD
    PPP ERR: Rejecting Unsupported PPP Protocol.
    PPP: Sending PPP frame...
    PPP:  Frame len: 20
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 44 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Request received.
    PPP: Sending PPP frame...
    PPP:  Frame len: 38
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Request received.
    PPP: Sending PPP frame...
    PPP:  Frame len: 14
    PPP: Sending IPCP IP Config Request.
    PPP: Sending PPP frame...
    PPP:  Frame len: 14
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Request received.
    PPP: Sending PPP frame...
    PPP:  Frame len: 14
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 14 bytes
    PPP:  Protocol:  8021
    PPP: *** Processing PPP-IPCP frame ***
    PPP:  IPCP Config Acknowledge received.
    PPP:  IP address: 192.168.125.1
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 44 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 40 bytes
    IP :  Protocol:  02, Id: 0171
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 100 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 96 bytes
    IP :  Protocol:  11, Id: 0172
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 332 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 328 bytes
    IP :  Protocol:  11, Id: 0174
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 165 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 161 bytes
    IP :  Protocol:  11, Id: 0175
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 100 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 96 bytes
    IP :  Protocol:  11, Id: 0177
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 44 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 40 bytes
    IP :  Protocol:  02, Id: 0178
    PPP: *** Processing PPP frame ***
    PPP:  Frame len: 100 bytes
    PPP:  Protocol:  0021
    IP : *** Processing IP frame ***
    IP :  Remote IP: 192.168.125.2
    IP :  Frame len: 96 bytes
    IP :  Protocol:  11, Id: 0179
    IP :  Frame valid, IP version 4 OK
    UDP: *** Processing UDP frame ***
    UDP ERR: No Socket for received UDP frame, dumping..
    

Children