[ECOS] ping problem

Madhava Reddy S madhava.s@globaledgesoft.com
Tue Jan 31 12:52:00 GMT 2006


Hi Andrew,

Sorry for the second mail. Our mail server blocks mails for groups, so I 
have sent one more and asked sysadmin to forward it.

In the "Basic network framework" of configuration tool
INET Support
TFTP(RFC - 1350) Support
Use full DHCP instead of BOOTP
the above three are checked
In "initialization option for 'eth0' "
I have checked "address Setups for eth0" and filled in following values:
    IP Address for 'eth0'                        192.168.0.10
    Network mask address for 'eth0'       255.255.255.0
    Broadcast address for 'eth0'                0.0.0.0
    gateway/router IP address for 'eth0'    0.0.0.0
    Server IP address for 'eth0'            192.168.0.100

init_all_network_interfaces() returns the following
[cyg_net_init] Done
Start client server test    /* start of my application */
BOOTP[eth0] op : REPLY
    htype      : ethernet
    hlen        : 6
    hops       : 0
    xid          : 0x0
    secs        : 0
    flags        : 0x0
    hw_addr  : 00:50:ba:d8:fc:fc
    client IP    : 192.168.0.10
    my IP       :  192.168.0.10
    server IP   : 192.168.0.100
    gateway IP: 0.0.0.0
    options:
        subnet mask : 255.255.255.0
        IP broadcast : 0.0.0.0
        gateway        : 0.0.0.0

Initialization of network interfaces done    /* Application specific */
socket created
bind successful
Trying to accept...

If  I run client from Linux PC( IP is 192.168.0.100)  it says
connect: No route to Host
Broken Pipe.

Regards,
Madhava S



----- Original Message ----- 
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Madhava Reddy S" <madhava.s@globaledgesoft.com>
Cc: <ecos-discuss@sourceware.org>
Sent: Tuesday, January 31, 2006 1:06 PM
Subject: Re: [ECOS] ping problem


> On Tue, Jan 31, 2006 at 09:23:06AM +0530, Madhava Reddy S wrote:
>> Hi All,
>>
>> I am working on i386 target.
>> I have a problem.
>>
>> I have compiled eCos with Redboot and booted the target.
>> I was able to do telnet also.
>>
>> I have created a new project with "net" option enabled and wrote a sample
>> client server application downloaded the exe to target using serial port.
>>
>> When i run the server on target and client on Linux PC clent says broken
>> pipe.Server is failing at accept.
>> I tried to ping to target.
>> After downloading exe to target I am not able to ping to target so it 
>> fails
>> at accept.
>>
>> Is this the correct way to test or do i need to enable any option in my
>> configuration.
>
> Please don't post the same message twice in quick sucession. It will
> not help you get answers.
>
> How do you configure the IP addresses? What output do you get from
> init_all_network_interfaces()?
>
>        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
> 

-------------- next part --------------
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message.Global Edge Software Ltd has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Global Edge Software Ltd reserves the right to monitor and review the content of all messages sent to or from this e-mail address

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


More information about the Ecos-discuss mailing list