This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Dynamic IP/DHCP/Routing the 'right way'
- From: "Laurie Gellatly" <laurie dot gellatly at netic dot com>
- To: <jporthouse at toptech dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 29 Jul 2006 08:00:33 +1000
- Subject: RE: [ECOS] Dynamic IP/DHCP/Routing the 'right way'
- Reply-to: <laurie dot gellatly at netic dot com>
Hi Joe,
Taking Andrew's suggestion I rolled my own. Would you like to see a copy?
...Laurie:{)
-----Original Message-----
From: Joe Porthouse [mailto:jporthouse@toptech.com]
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: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] 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