This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
"Plug-and-play" networking in eCos
- From: Tarmo Kuuse <tarmo dot kuuse at mail dot ee>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 14 Apr 2009 13:06:02 +0300
- Subject: [ECOS] "Plug-and-play" networking in eCos
Hi!
I wish to add basic "plug-and-play" networking to an eCos device. It
should be a fairly standard task in network-enabled embedded devices.
All users would like to hook their stuff to a network and access the UI
by typing "mydevice" into a browser.
To accomplish this, two things are needed:
- automatic assignment of link-local IP addresses and
- decentralized name resolution.
Both problems were solved a long time ago.
RFC3927 "Dynamic Configuration of IPv4 Link-Local Addresses" describes
how to auto-allocate an IP from the 169.254/16 range. MacOS 8 and
Windows 98 did that 10 years ago.
The ancient NetBIOS protocol specifies how a host auto-assigns a name
and resolves name queries into it's own IP. Newer solutions have emerged
these days (zeroconf's mDNS) but it is not implemented in older systems
(such as WinXP).
This stuff is old and common, but I can't seem to find implementations
for eCos. Do you know of any?
--
Kind regards,
Tarmo Kuuse
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss