All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martyn Welch <martyn.welch@ge.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Linux-embedded <linux-embedded@vger.kernel.org>
Subject: Re: Remote IP setup of devices in a network
Date: Wed, 09 Nov 2011 10:11:27 +0000	[thread overview]
Message-ID: <4EBA51CF.5040400@ge.com> (raw)
In-Reply-To: <20111108185421.GA27727@merkur.ravnborg.org>

On 08/11/11 18:54, Sam Ravnborg wrote:
> I am faced with a challenge that we ship devices which are
> all preconfigured to a fixed IP address, and we want to provide
> an easy solution to do remote IP configuration of all devices
> connected to the same network.
> In other words - all devices are reachable by a broadcast package.
> 
> The network may or may not include a DHCP server - which
> we in any case do not have control over.
> 
> In the typical situation we will assign static IP
> addresses to the devices - but sometimes we may also
> configure them to DHCP.
> 
> So we are looking for a (de facto?) way to do this.
> Any hints?
> 
> I haved tried to ask google without luck.
> 
> The idea is to use an UDP broadcast to discover all devices,
> and a similar UDP broadcast to configure the devices.
> In the latter the MAC will be the key to address individual devices.
> 
> As we are talking less than 100 devices this looks quite doable.
> But I do not want to invent something again if it already exists.
> 
> Thanks in advance for any inputs,
> 

Isn't this one of the things that Avahi daemon is supposed to achieve?

Martyn

-- 
Martyn Welch (Lead Software Engineer)  | Registered in England and Wales
GE Intelligent Platforms               | (3828642) at 100 Barbirolli Square
T +44(0)1327322748                     | Manchester, M2 3AB
E martyn.welch@ge.com                  | VAT:GB 927559189

      parent reply	other threads:[~2011-11-09 10:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 18:54 Remote IP setup of devices in a network Sam Ravnborg
2011-11-08 19:11 ` David Woodhouse
2011-11-08 19:31   ` Sam Ravnborg
2011-11-08 23:30     ` Eliot Blennerhassett
2011-11-09  0:59     ` David Woodhouse
2011-11-09 10:11 ` Martyn Welch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBA51CF.5040400@ge.com \
    --to=martyn.welch@ge.com \
    --cc=linux-embedded@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.