lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] TFTP client on lwip , tapif_input halting


From: Durgaprasad Chivukula
Subject: [lwip-users] TFTP client on lwip , tapif_input halting
Date: Fri, 23 Sep 2005 17:07:04 +0200

Hi Friends ,
 
  I wrote a TFTP client on lwip , to get and put files from/to remote server , and still struggling to make it happen. I am working on linux , with tapif interface and linux bridge to connect to other host.I did this using  linux bridge utilities as explained in one of the threads , "TCP remote connection using tapif " by Andreas and Jean Louis . Everything seems to be fine , its getting connected to the remote host , which is also a linux system running the tftp server from the linux operating system (not from lwip ) . I am monitoring all the output using ethereal . When I try to get some file from the remote server  its sending a arp request to verify the server and when it gets the answer , its start sending the IP packet  after sending the IP packet s several times  ,
the tapif_input stands still  with out a kind of any other response ....
 
  When I observed the ethereal output , the read/write request is sent successfully and the server is responding to it , shows it has sent 512 bytes of data , which is refered to as a block in TFTP , but as I said tapif_input stands still and it is not able to get/put file 100 % successfully
All the packet headers are formed successfully , when I saw the ethereal output ( TFTP/UDP/IP /ethernet ) , but I do not know , there is not any progress in  the paif_input function .... Did  any body of you faced this kind of peculiar problem ... If so please let me know
Andreas , Jean Louis .. please have a look on this , if you guys had face this problem and guide to get through this problem ....any other pointers would be really helpful .... Help!!!!
 
I am also giving the sample below...
 
I used tapif and a linux bridge , exactly as explained by Jean and Andreas in their messages
 
tftp > connect 192.168.0.10
tftp> get "file-name"
tapif_input:ARP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input :ARP packet  ( this happens only 1 or twice in the middle )
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
tapif_input:IP packet
 
 thats it  after 10-15 seconds it stands still and the file I am trying to get from the  server is  also not so big , its only 1.5 K but its taking such a long time to get/put files , what might be the problem ..??? Please guide me
 
 
Thanks and Regards
Durga Prasad Chivukula
 
 
 
 
 
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]