From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8938 invoked by alias); 29 Jul 2006 01:52:41 -0000 Received: (qmail 8701 invoked by uid 22791); 29 Jul 2006 01:52:40 -0000 X-Spam-Check-By: sourceware.org Received: from mail.toptech.com (HELO toptech.com) (207.13.72.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Jul 2006 01:52:38 +0000 DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=toptech.com; s=MDaemon; t=1154137956; x=1155329556; q=dns; h=DomainKey-Signature: Received:Reply-To:From:To:Subject:Date:Organization:MIME-Version: Content-Type:Content-Transfer-Encoding:Thread-Index:In-Reply-To: Message-ID; b=dHw13L+HS1fJgqErnIR0M9U/hzV5UMXZSyU4McQm7RIOM/1DRU R//YkLttxC3EOBCGrHGBcMXElw4ynqchpD+kAYdC/F1NZsGopRrmfALWYvmO+su/ BNQRje4/Q675lIMNADEhvWfeJk9o6zZIasJ8fr99nSMQmIdd0alplv+8M= Received: from jporthousexp2 by toptecheurope.com (MDaemon PRO v9.0.5) with ESMTP id 32-md50000002436.msg for ; Fri, 28 Jul 2006 21:52:35 -0400 Reply-To: From: "Joe Porthouse" To: , Date: Sat, 29 Jul 2006 01:52:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-HashCash: 1:20:060729:ecos-discuss@ecos.sourceware.org::VtBtR93vtqLIXPrr:0000000000000000000000000000039ng X-Spam-Processed: mail.toptech.com, Fri, 28 Jul 2006 21:52:35 -0400 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 70.119.187.18 X-Return-Path: jporthouse@toptech.com X-Envelope-From: jporthouse@toptech.com X-MDaemon-Deliver-To: ecos-discuss@ecos.sourceware.org Message-ID: X-MDAV-Processed: mail.toptech.com, Fri, 28 Jul 2006 21:52:36 -0400 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-07/txt/msg00240.txt.bz2 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:laurie.gellatly@netic.com] Sent: Friday, July 28, 2006 6:01 PM To: jporthouse@toptech.com; 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: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