public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] How to send message/execute script on clients from server?
Date: Thu, 6 Feb 2014 10:55:11 +0100	[thread overview]
Message-ID: <201402061055.11799.sw@simonwunderlich.de> (raw)
In-Reply-To: <CAOyZXpTWbaPckhZisRRO4itnYVSRAamddXPZkoUWibhsKs2dLw@mail.gmail.com>

Hi Dat,

> Hi,
> 
> I would like to know if batman adv [2013.2.0] supports a way to
> send/receive message between server and client?
> 
> I have setup a mesh network which has 1 server and several clients. I
> want to broadcast a message to all the clients from the server. The
> message might contain one more many parameters that I want all clients
> will use these parameters for their configuration.
> 
> It would be very convenience if I could execute a script remotely on
> clients from the server via batman adv without knowing their IP
> address.

batman-adv does not allow that by itself, but you can find various ways to do 
that. For example, install an HTTP server and let the clients download scripts 
from the default router in your routing table which hopefully points to your 
server. Another alternative would be to use alfred[1], which is designed to 
distribute data through a mesh network and to be used by clients. You can use 
it to send any kind of data over your mesh network. I would not exactly send 
shellscripts over it (might be a security problem), but configuration 
parameters should work just fine.

Cheers,
    Simon

[1] http://www.open-mesh.org/projects/open-mesh/wiki/Alfred

  reply	other threads:[~2014-02-06  9:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  9:34 [B.A.T.M.A.N.] How to send message/execute script on clients from server? Le Tran Dat
2014-02-06  9:55 ` Simon Wunderlich [this message]
2014-02-06 12:06   ` Le Tran Dat
2014-02-06 12:40     ` Simon Wunderlich
2014-02-06 12:42     ` Antonio Quartulli
2014-02-06 12:54       ` Le Tran Dat
2014-02-06 12:59         ` Antonio Quartulli
2014-02-10  1:27           ` Le Tran Dat

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=201402061055.11799.sw@simonwunderlich.de \
    --to=sw@simonwunderlich.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox