public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [RFC] batman-adv boot setup scheme on OpenWRT
Date: Mon, 26 Nov 2012 01:12:16 +0800	[thread overview]
Message-ID: <201211260112.16957.lindner_marek@yahoo.de> (raw)
In-Reply-To: <CAHD-aqKfNck0Z4Zqw_MJYzTFN=dEVp=Xxu6SfgRSwtOeCpPXnw@mail.gmail.com>


Hi,

> AFAICU, currently there's a /etc/hotplug.d/net/99-batman-adv script
> which tries to configure both bat0 , and any interfaces coming up that
> might have to be included there. Problem is, hotplug.d/net scripts are
> called when interface is "added" but not necessarilly brought up yet.
> So there's a "sleep 3s" that works in most cases as a window for slow
> hardware bring up the interface.

I like the idea of using the iface "ifup" hook for adding hard-interfaces. On 
the other hand I opt for keeping the net "remove" hook for removing them 
because batman-adv handles these ifup/ifdown blips internally. If you adjust 
that part I'll will merge your patch.

Excellent catch!

Cheers,
Marek

      parent reply	other threads:[~2012-11-25 17:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 12:52 [B.A.T.M.A.N.] [RFC] batman-adv boot setup scheme on OpenWRT Gui Iribarren
2012-11-23 14:00 ` Gui Iribarren
2012-11-26 10:40   ` Marek Lindner
2012-11-26 10:45     ` Sven Eckelmann
2012-12-02 13:19       ` Gui Iribarren
2012-12-09 11:10         ` Moritz Warning
2012-12-09 14:31           ` Marek Lindner
2012-12-09 16:03             ` Moritz Warning
2012-12-09 16:20               ` Antonio Quartulli
2012-12-09 16:35               ` Gui Iribarren
2012-12-10  0:13                 ` Jo-Philipp Wich
2012-12-09 16:50               ` Moritz Warning
2012-11-25 17:12 ` Marek Lindner [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=201211260112.16957.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.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