From: Sven Eckelmann <sven@narfation.org>
To: Oguzhan Kayhan <oguzhan@kayhan.name.tr>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: configuration issue
Date: Mon, 27 Apr 2020 19:19:00 +0200 [thread overview]
Message-ID: <5962426.I90Fg3i1QP@bentobox> (raw)
In-Reply-To: <CANKYHpe_cG=dKv5z4tecjb24U_P2ipWoQPownNCxKySU_FozQw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5001 bytes --]
On Monday, 27 April 2020 18:35:29 CEST Oguzhan Kayhan wrote:
[...]
> *I 'm running Gateworks Newport as controller board. And updated from their
> repository Thats the version they had..Actually I tried updating the feeds
> to the latest version but, It threw error on compiling..So , didnt waste
> too much time and stick on the 2017.4 version.But if needed, I will try to
> update versions also.*
Please write them and ask them to adjust their repositories to actually ship
OpenWrt 18.06 with the up-to-date feeds. We don't support 2017.4 anymore and
will not provide patch backports for 2017.4-0 from openwrt-routing. But we
have a lot of stable backport patches in 2018.1-11. And 2018.1-11 build likes
a charm when the main OpenWrt repository is actually an 18.06.
And to me, it looks like Gateworks 18.0x is not even based on OpenWrt 18.06
but on something which was forked 7 months (1287 commits) before the release
of 18.06.0 - and we are currently at OpenWrt 18.06.8 on the old stable branch
and 19.07.2 on the current stable branch.
You don't even have the "newest" (up to 28 month old) security fixes in
gateworks 18.0x - and there are quite at some security and stability patches
which you should get integrated.
> > [...]
> > > config wifi-iface
> > > option device 'radio0'
> > > option ifname 'mesh0'
> > > option network 'mesh'
> > > option mode 'adhoc'
> > > option ssid 'mesh'
> > > option bssid '02:CA:FE:CA:CA:40'
> > > option mcast_rate '18000'
> > [...]
> >
> > Please think about switching to meshpoint without forwarding.
>
>
> *I'd be glad if you give more detail what you mean.*
The example configuration was given below. What more details do you need? You
already noticed yourself that it doesn't support IBSS/adhoc.
>
> >
> > config wifi-iface 'wmesh'
> > option device 'radio0'
> > option ifname 'mesh0'
> > option network 'bat0_hardif_mesh0'
> > option mode 'mesh'
> > option mesh_id 'mesh'
> > option mesh_fwding '0'
> > option mesh_ttl '1'
> > option 'mcast_rate' '18000'
> >
> > At least in my experience, the IBSS support in the device firmware is
> either
> > not there or starting to rot.
> >
>
>
>
> *That might be the problem.On 802.11ac card, iw phy gives supported
> interface modes as;managed, AP, AP/VLAN,monitor, Meshpoint but 802.11n
> gives IBSS,managed, AP, AP/VLAN,monitor, Meshpoint, p2p-client, p2p-go
> modes..*
> *So.. does it shows 802.11ac doesnt support batman?
Hu? batman-adv is not IBSS. It can run on all kind of interface types. But it
makes more sense to run it on meshpoint without forwarding (mesh_fwding 0) or
IBSS/adhoc.
> or is there any other
> ways to try besides ad-hoc mode? Both cards are DoodleLabs*
Use a meshpoint interface without forwarding. As shown in the example
configuration in my first mail.
[...]
> > A device just cannot be in a bridge and in batadv at the same time. Just
> not
> > possible because the bridge would steal all the ethernet packets before
> > batman-adv would receive them. So it is not even allowed to have two
> masters
> > (batadv interface and a bridge) for a single interface (wlan0, eth0, ...).
> >
>
> *So, what is the correct way to do that then..*
> *Any examples for this scenario?*
Don't try to add the ethernet in both bridge and batman-adv as slave. Doesn't
work - so I cannot give you an example.
If you want to still transport stuff over ethernet which is also used to
bridge to some other interface, try macvlan or vlan's on top of the ethernet
interface. The macvlan will create a new ethernet interface which just uses a
different mac address. A vlan interface on top of the ethernet will just but a
vlan header between the ethernet header and the next layer. So I am guessing
you want to first try macvlan (requires kmod-macvlan):
config interface 'bat0_hardif_wlan'
option mtu '1532'
option proto 'batadv'
option mesh 'bat0'
config interface 'lan'
option type 'bridge'
option ifname 'eth2 eth0 bat0'
option proto 'static'
config device 'veth0'
option name 'veth0'
option type 'macvlan'
option ifname 'eth0'
config interface 'bat0_hardif_eth0'
option mtu '1532'
option proto 'batadv'
option mesh 'bat0'
option ifname 'veth0'
Or if it is no problem to use VLANs (here 123):
config interface 'bat0_hardif_wlan'
option mtu '1532'
option proto 'batadv'
option mesh 'bat0'
config interface 'lan'
option type 'bridge'
option ifname 'eth2 eth0 bat0'
option proto 'static'
config interface 'bat0_hardif_eth0'
option mtu '1532'
option proto 'batadv'
option mesh 'bat0'
option ifname 'eth0.123'
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-04-27 17:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 12:26 configuration issue Oguzhan Kayhan
2020-04-27 15:27 ` Sven Eckelmann
[not found] ` <CANKYHpe_cG=dKv5z4tecjb24U_P2ipWoQPownNCxKySU_FozQw@mail.gmail.com>
2020-04-27 17:19 ` Sven Eckelmann [this message]
[not found] ` <CANKYHpcZU09emNFy3yf4K0F5s8gzT6giosqfCDNj278f6Z3_mQ@mail.gmail.com>
2020-04-28 9:28 ` Oguzhan Kayhan
2020-04-28 9:51 ` Sven Eckelmann
2020-04-28 10:36 ` Oguzhan Kayhan
2020-04-28 11:17 ` Sven Eckelmann
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=5962426.I90Fg3i1QP@bentobox \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=oguzhan@kayhan.name.tr \
/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