From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3408 invoked by alias); 6 Jun 2006 12:38:41 -0000 Received: (qmail 3282 invoked by uid 22791); 6 Jun 2006 12:38:38 -0000 X-Spam-Check-By: sourceware.org Received: from mail.wolfbusiness.com (HELO elsys-design.com) (212.83.150.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Jun 2006 12:38:18 +0000 Date: Tue, 06 Jun 2006 12:38:00 -0000 Message-Id: <200606061437.AA3917349006@elsys-design.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "FALL" Reply-To: X-Sender: To: , X-Mailer: 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/msg00049.txt.bz2 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