[FS#4014] Mesh 802.11 doesn't work with encryption and fails to work with batman-adv without encryption (Attachment added)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Sep 7 21:23:54 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - freezeheat (FreezeHeat) 

Attached to Project - OpenWrt/LEDE Project
Summary - Mesh 802.11 doesn't work with encryption and fails to work with batman-adv without encryption
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - 2 Devices with very similar hardware are having the same issue, a Netgear R6220 and a Lenovo newifi D1.
While I had the same problem with both devices, the only one I tried using with the snapshot is the R6220.

I also documented this in the following forum post: https://forum.openwrt.org/t/mesh-network-configuration-mesh-fails-batman/105260

Version used: OpenWrt 19.07.8, r11364-ef56c85848.
Packages: Provided by snapshot + //wpad-mesh-openssl//(and dependencies), //kmod-batman-adv//(and dependencies) & //batctl-default//(and dependencies).

Steps to reproduce the mesh failing with encryption:
1. Install snapshot via sysupgrade (I kept the former settings)
2. Install packages
  * //opkg remove wpad-basic//
  * //opkg update//
  * //opkg install wpad-mesh-openssl kmod-batman-adv batctl-default//
3. ///etc/config/wireless// add mesh networks for both radios

# adjust network option to your network's name
config wifi-iface 'mesh0'
	option network 'lan'
	option device 'radio0'
	option mode 'mesh'
	option mesh_fwding '1' 
	option mesh_id 'mymesh'
	option encryption 'sae'
	option key 'password'

config wifi-iface 'mesh1'
	option network 'lan'
	option device 'radio1'
	option mode 'mesh'
	option mesh_fwding '1'
	option mesh_id 'mymesh_5g'
	option encryption 'sae'
	option key 'password'


4. Run //service network restart// or reboot.
5.// iw dev wlan0 info// Shows no traffic, and //ip link// shows mesh0 is disabled(isn't up), on the other hand wlan1(5.0Ghz) has traffic and is shown as up.

NOTE: Network and Wireless configuration files are included.

As for //kmod-batman-adv//, even when the //mesh_fwding// option in //etc/config/wireless// is set to 0, batman's bat0 is always disabled, with or without mesh encryption.
Steps to reproduce:
1. Same as the above steps.
2. Change //mesh_fwding// option in //etc/config/wireless// to '0'.
3. Change //encryption// option in //etc/config/wireless// to 'none'.
4. Run: //service network restart//.
5. Run: //batctl n// -> returns bat0 is disabled.


One or more files have been attached.

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4014

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list