From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Reply-To: xbing6@gmail.com From: Xuebing Wang Subject: Any suggestions about configuring batman-adv gateways + modems Message-ID: <8b190923-5db5-17b2-da46-538b377d862a@gmail.com> Date: Mon, 11 Nov 2019 09:32:13 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mareklindner@neomailbox.ch, b.a.t.m.a.n@lists.open-mesh.org Hi Marek, Thank you very much for your help. >> When modem at gateway (for WAN uplink) is down and loses internet >> connection (but batman-adv connections with clients are good and dhcp >> server works good), can batman-adv clients know that internet connection is >> lost and "roam" to another gateway with good internet connection? > >Seems you are looking for this: >https://www.open-mesh.org/projects/batman-adv/wiki/Gateways 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? Thanks. Xuebing Wang