public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ecos with lwip and 2 interfaces
@ 2009-09-21 14:05 Mandeep Sandhu
  2009-09-22  7:28 ` Simon Kallweit
  0 siblings, 1 reply; 9+ messages in thread
From: Mandeep Sandhu @ 2009-09-21 14:05 UTC (permalink / raw)
  To: ecos-discuss

Hi All,

I've been running my application with Simon's recent port of lwIP
(1.3.1) with ecos with the linux synthetic target.

Things have been running fine with the app only using 1 net i/f, i.e
et0. et0 maps to my linux tap device.

synth_device ethernet {
   eth0 ethertap tap0
}

Now I need to use a second interface. So 'et1' will map to the real
eth0 on my PC. For this I modified my tdf file as such:

synth_device ethernet {
   eth0 ethertap tap0
   eth1 real eth0
}

In the lwIP config, I've enabled "eth1".

However, in the app a call to cyg_lwip_sequential_init() only
initializes et0 and I don't see any init for et1. I've tried using
both, a static as well as DHCP IP addr for it. But that does not help.

Has anybody used to 2 interfaces with the recent port of lwIP? Is
there anything else that I need to do, either in configuration or in
my app?

Thanks,
-mandeep

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

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

end of thread, other threads:[~2009-09-23 13:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 14:05 [ECOS] ecos with lwip and 2 interfaces Mandeep Sandhu
2009-09-22  7:28 ` Simon Kallweit
2009-09-23 11:12   ` Mandeep Sandhu
2009-09-23 12:48     ` Simon Kallweit
2009-09-23 13:04       ` Mandeep Sandhu
2009-09-23 13:10         ` Simon Kallweit
2009-09-23 13:21           ` Mandeep Sandhu
2009-09-23 13:29             ` Simon Kallweit
2009-09-23 13:50               ` Mandeep Sandhu

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