From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Weilong Li Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] network test problem on ipaq Date: Mon, 02 Jul 2001 12:14:00 -0000 Message-id: <3B40C808.FFE87164@redhat.com> References: <20010702190223.28396.qmail@web14308.mail.yahoo.com> X-SW-Source: 2001-07/msg00027.html Weilong Li wrote: > > I also tried running tcp_echo before, after > tcp_echo is running, I cannot ping ipaq, > so tcp_source and tcp_sink will always > return "no route to host" error message. > The ip address of ipaq I'm talking about > is assigned by running a dhcp server on linux host, > then upon redboot boots, it will detect the > socket communication ethernet card, and then > assign the ip address. So in this sense, > I think the ip address is redboot's ip address. > I don't know how the ip address of ecos is assigned, > can you elaborate on this ? The eCos network stack does not use redboot's ip address ( you can't have two different network stacks processing the same data). The eCos stack's IP address is set according to the CDL data, either also from BOOTP/DHCP, or statically. Try setting it statically as that's safest. Look for the component CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS and the options within it. Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine Come to the Red Hat TechWorld open source conference in Brussels! Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/