public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] how to assign an IP address  ?
@ 2001-08-17  6:37 Amit Bhor
  2001-08-17  6:42 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Amit Bhor @ 2001-08-17  6:37 UTC (permalink / raw)
  To: ecos-discuss

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)...

thanx in advance ....

Amit




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] how to assign an IP address  ?
  2001-08-17  6:37 [ECOS] how to assign an IP address ? Amit Bhor
@ 2001-08-17  6:42 ` Andrew Lunn
  2001-08-17  6:53   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2001-08-17  6:42 UTC (permalink / raw)
  To: Amit Bhor; +Cc: ecos-discuss

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.

        Andrw

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] how to assign an IP address  ?
  2001-08-17  6:42 ` Andrew Lunn
@ 2001-08-17  6:53   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2001-08-17  6:53 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss, Amit Bhor

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-17  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-17  6:37 [ECOS] how to assign an IP address ? Amit Bhor
2001-08-17  6:42 ` Andrew Lunn
2001-08-17  6:53   ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).