[ECOS] how to assign an IP address ?

Gary Thomas gthomas@redhat.com
Fri Aug 17 06:53:00 GMT 2001


On 17-Aug-2001 Andrew Lunn wrote:
> On Fri, Aug 17, 2001 at 01:37:44PM +0000, Amit Bhor wrote:
>> hello everyone ,
>> 
>> i compiled the ecos code with networking support with the test_ping.c program ... but how do i
>> assign a IP address to the loopback interface ? ..I can see some bootp code but can i assign an
>> IP address statically ? ..if yes...how ? I am running the ecos 1.3.1 with the stable tcp/ip
> stack (not the current cvs code)...
> 
> First off, i suggest you use the anon cvs version. There have been
> lots of bug fixes to the stack which are only in CVS. 
> 
> The function init_all_network_interfaces() will assigned the IP
> address 127.0.0.1 to the loopback device. You don't need to do
> anything so long as you call this function.
> 

Additionally, I'm pretty sure that the loopback interface does not
even function in the older 1.3.1 codebase.

Use the CVS.



More information about the Ecos-discuss mailing list