From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16509 invoked by alias); 6 Jun 2006 21:26:06 -0000 Received: (qmail 16501 invoked by uid 22791); 6 Jun 2006 21:26:05 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO netic.com) (66.28.185.252) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Jun 2006 21:26:02 +0000 Received: from piii550 (203-206-167-254.perm.iinet.net.au [203.206.167.254]) by netic.com (8.12.10/8.11.0) with ESMTP id k56LPuwk003006; Tue, 6 Jun 2006 15:25:58 -0600 Reply-To: From: "Laurie Gellatly" To: , Date: Tue, 06 Jun 2006 21:26:00 -0000 Message-ID: <002701c689af$ce5f44f0$0101010a@netic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <200606061437.AA3917349006@elsys-design.com> 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/msg00059.txt.bz2 Hi, I should have been more specific. I'm already using the freeBSD stack. Thanks ...Laurie:{) -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of FALL Sent: Tuesday, 6 June 2006 10:37 PM To: ecos-discuss@ecos.sourceware.org; laurie.gellatly@netic.com Subject: Re: [ECOS] Dynamic IP/DHCP/Routing the 'right way' I suppose you use LWIP stack. At the end of your mail, you write tat you will do the same for DNS, I don't think that LWIP supports DNS. If you want to change IP/gateway... while your programme is running, i think the best way is to use ioctl functions. Most of ioctl commands are not supported by LWIP. I think you should chose freebsd stack for your project. Of course LWIP is very light and simple to undestand but freebsd is more complete. you have to make a choice:) FALL Birahim Elsys-Design PACA ---------- Original Message ---------------------------------- From: "Laurie Gellatly" Reply-To: Date: Tue, 6 Jun 2006 20:36:52 +1000 >Hi All, >I'll be working with the PHYTEC2294 board in preparation to using the >Philips LPC2210 and LPC2102 in production. > >My project will allow the user to change the various IP settings >(Address/Mask/gateway/DHCP) while the system is running. I.E. address >and mask are updated (old addresses are deleted). Gateway changes cause >the default route to be updated. DHCP can be turned off/on. > >I've found some older posts about this and tried them. Maybe I missed >something but so far I've not found a single solution that covers all >my needs. Is there such a solution or is there a 'right way' to achieve >this? > >Also saw a post about using an incoming packet to learn the IP when the >device is ping'ed for instance. This could be quite useful as well. >Anyone have this in code already or can at least point me in the right >direction of what to do? > >After these I'll need to do the same for NTP and DNS. > >Cheers ...Laurie:{) > > >-- >Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos >and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > > ________________________________________________________________ Sent via the WebMail system at elsys-design.com -- 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