From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15706 invoked by alias); 6 Jun 2006 11:19:16 -0000 Received: (qmail 15671 invoked by uid 22791); 6 Jun 2006 11:19:14 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Jun 2006 11:19:01 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FnZaF-0007LK-00; Tue, 06 Jun 2006 13:18:51 +0200 Date: Tue, 06 Jun 2006 11:19:00 -0000 To: Laurie Gellatly Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20060606111851.GC15066@lunn.ch> Mail-Followup-To: Laurie Gellatly , ecos-discuss@ecos.sourceware.org References: <20060606105606.GB15066@lunn.ch> <007701c68959$b316fa40$0101010a@netic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <007701c68959$b316fa40$0101010a@netic.com> User-Agent: Mutt/1.5.11+cvs20060403 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Dynamic IP/DHCP/Routing the 'right way' X-SW-Source: 2006-06/txt/msg00047.txt.bz2 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