This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Second ethernet port?



Colin Ford <colin.ford@pipinghotnetworks.com> writes:
> has anyone managed to get two ethernet ports working
> at the same time under eCos? 

All the time.
 
> I keep getting:
> 
> SIOCIFADDR 2: File exists
> Network initialization failed for eth1

Where from?  What reports that I mean?
 
> they both report there DHCP setting correctly and it
> does not matter which way around the ports are 
> initilised eth1 always fails with the above error?

If they are both initializing using DHCP correctly, what else is it doing
that's going wrong?

Aha!  Are you connecting them both on the same network segment?  DHCP might
well be setting up a route for eth1 which contradicts a route (to the same
network segment) that's already set for eth0.  That's a guess about
something that can "already exist [EEXIST]" during network bootup.

Send us (the list) the whole printout that lists the DHCP bootup so I can
have a look at what the DHCP initialization would be doing with it?

	- Huge


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]