public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org, xbing6@gmail.com
Subject: Re: Any suggestions about configuring batman-adv gateways + modems
Date: Mon, 11 Nov 2019 09:37:59 +0800	[thread overview]
Message-ID: <2770026.qIgyRiqjke@rousseau> (raw)
In-Reply-To: <8b190923-5db5-17b2-da46-538b377d862a@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

Hi,

> Yes, batman-adv gateway is what I am using.
> 
> Do I need to write or find a daemon at gateway to sense internet
> connection, once internet connection is lost (and does not recover
> within like 2-5 minutes) then advertise batman-adv mesh network by
> "batctl gw_mode client" to turn this node to be a client?

you can have a mechanism to detect if the uplink connectivity is down and then 
have the batman-adv gateway switch to client. When the uplink is back, you can 
switch to gateway mode again.

Depending on how your uplink works, you may not need to write a separate 
daemon to check (though you can if you want). Most uplink solutions provide 
some kind of scriptable event for up/down changes. Depends very much on your 
setup and what you'd like to react to. 

Cheers,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-11-11  1:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11  1:32 Any suggestions about configuring batman-adv gateways + modems Xuebing Wang
2019-11-11  1:37 ` Marek Lindner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-11  0:52 Xuebing Wang
     [not found] <CAG5qQ7jY2YqyUdx6=Mw=OWbLF0avwibJVQn5YHFqGC-+nPCkXQ@mail.gmail.com>
2019-11-11  0:46 ` Marek Lindner
2019-11-08 10:51 Xuebing Wang
2019-11-09 13:50 ` Marek Lindner

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=2770026.qIgyRiqjke@rousseau \
    --to=mareklindner@neomailbox.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=xbing6@gmail.com \
    /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