Open ilario opened 5 years ago
Regarding the second half of the bug report, see the specific issue on #647.
There have been no reports on this in years... Also because the AP-sta backbone is not a well known feature, I suspect. Seems that the distance setting is not a problem: it will cause an iw error message but hostapd should run anyway.
So the problem is only noscan. https://github.com/libremesh/lime-packages/blob/08a3948a5a80f6e26318c96227e02466bd09345e/packages/lime-system/files/usr/lib/lua/lime/wireless.lua#L172 Looking for noscan on OpenWrt website, there is an interesting phrase: "noscan Do not scan for overlapping BSSs in HT40+/-. Turning this on will violate regulatory requirements!" noscan has been added by @dangowrt in #48 @dangowrt, is noscan still needed? There is no strong reason for removing it, as seems that it works on most wifi chips... But if we can remove that line is better.
Also, I am not sure this still causes errors on modern OpenWrt...
I'm using LibreMesh compiled on top of OpenWrt's openwrt-18.06 branch (a bit more recent than OpenWrt 18.06.4) and I'm experiencing errors maybe more related with OpenWrt rather than with LibreMesh (?).
Trying to use a Broadcom (radio does not support combinations, e.g. does not support multi-AP) I am configuring the radio as an AP dedicated to backbone connection (not for clients, see #554). Even when editing
/etc/config/lime
for having just one AP interface,hostapd
fails due to the presence of an unsupported (by the wireless driver)distance
(andnoscan
) options. Shouldn't OpenWrt be able to manage this? Should we take care of this on LibreMesh side?On a side note, on other routers I noticed similar errors (but the device was working anyway as they were related to commands running before hostapd), for example:
On a TP-Link WDR3600 (with a bit of additional configuration, not relevant here):
On a Mediatek router YouHua WR1200JS with default LibreMesh configuration: