This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Networking Trouble


On Wed, Feb 09, 2005 at 12:34:14PM -0800, Dave Johnson wrote:
> I am running an application built using the 'Net' template with the
> ftp-client added.  I want to connect to the server to download a file
> and then put it back.  The target is running RedBoot and I have been
> uploading the application for test via GDB.
> 
> The problem is that while the Redboot IP remains pingable, I am not
> even seeing a log entry in my FTP server from the application -- I
> think the application networking may not be functioning.
> 
> I have configured the Redboot for 192.168.200.10, the application for
> 192.168.200.11, and the server 192.168.200.1.  There is no gateway or
> DNS services on the server;  I just want to use IP to transfer files.  
> 
> When I run the program, I see that "FTP Connect failed: Invalid
> argument" and "FAIL:<ftp_get returned -3>".
> 
> Is there anything I need to do to activate ip other than  
> init_all_network_interfaces()?

No, there should not be anything else to do.

Can you ping the application? It should respond to 192.168.200.11.
Have you run tcpdump to look at the packets on the network? Does the
application send any packets at all?2

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]