Laurie, See a copy, definitely. Many thanks!!! :) I have been digging through eCos files attempting to get an understanding of how things are working with the network, but it's kinda like walking through an unfamiliar house with only a flashlight to show you the way. I have not been able to see the entire picture yet.
I was originally looking at the DHCP code and saw during a renewal it was shutting down the interface just before calling net_init() again. Still having lots to do, I would rather use a solution that has worked for someone else. BTW, grepping through the eCos packages I could not find StackInit, IP_SetIP, or IP_SetMask. Is there another package I need to install or are these your functions? Thanks, Joe Porthouse Toptech Systems, Inc. Longwood, FL 32750 -----Original Message----- From: Laurie Gellatly [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 6:01 PM To: [EMAIL PROTECTED]; ecos-discuss@ecos.sourceware.org Subject: RE: [ECOS] Dynamic IP/DHCP/Routing the 'right way' Hi Joe, Taking Andrew's suggestion I rolled my own. Would you like to see a copy? ...Laurie:{) -----Original Message----- From: Joe Porthouse [mailto:[EMAIL PROTECTED] Sent: Saturday, 29 July 2006 7:30 AM To: ecos-discuss@ecos.sourceware.org; 'Laurie Gellatly' Subject: RE: [ECOS] Dynamic IP/DHCP/Routing the 'right way' Laurie, Did you find a solution that worked? I'm also dealing with this same issue. Thanks, Joe Porthouse Toptech Systems, Inc. Longwood, FL 32750 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Lunn Sent: Tuesday, June 06, 2006 7:19 AM To: Laurie Gellatly Cc: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] Dynamic IP/DHCP/Routing the 'right way' On Tue, Jun 06, 2006 at 09:09:29PM +1000, Laurie Gellatly wrote: > Hi Andrew, > Thanks for the swift response. > SNTP - yes. Thanks for the tips there and with DNS, I'll look at those. > > init_net() was not sufficient. It left the old addresses active. I've > combined StackInit and IP_SetIP, IP_SetMask to remove the old address > and mask. Still think the routing is not being updated, but before I > launched into debugging all that I wanted to ensure I wasn't > re-inventing the wheel. I think this is a new wheel, at least i've not seen a public available wheel which does this. cyg_route_reinit() might help with your routing problem. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss