Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-19 Thread Sophana K
With this solution (if it works), both the WAN(private) and LAN(public) network would always remain bridged to the mesh and LAN and WAN ethernet ports. The script has to determine if it is the gateway, mainly because there must be only one coova-chilli hotspot instance which manages the LAN

Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-18 Thread Gui Iribarren
On Wed, Oct 17, 2012 at 6:14 PM, Sophana K sophan...@gmail.com wrote: I may have found a possible solution by parsing the output of batctl transglobal, and look for the gateway mac address. If the gateway is in the transglobal table, it is accessed through the mesh, and it is probably not

Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-16 Thread Sophana K
On Mon, Oct 15, 2012 at 5:33 PM, Gui Iribarren g...@altermundi.net wrote: Hey Sophana, Don't bridge the wan, as you won't be able to route then. I would like to explicitely bridge the wan, as it is the private network. Just like a transparent wifi access point would do. Routing is not always

Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-15 Thread Gui Iribarren
On Mon, Oct 15, 2012 at 12:33 PM, Gui Iribarren g...@altermundi.net wrote: Given that it's all posix ash (no binaries), you can probably grab our precompiled packages as well. Ooops.. broken link. Sorry, here's the current one: