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: <birahim dot fall at elsys-design dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 7 Jun 2006 07:25:52 +1000
- Subject: RE: [ECOS] Dynamic IP/DHCP/Routing the 'right way'
- Reply-to: <laurie dot gellatly at netic dot com>
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" <laurie.gellatly@netic.com>
Reply-To: <laurie.gellatly@netic.com>
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