Closed mfoxworthy closed 2 years ago
@mfoxworthy it would be great if you could test the fix by installing the tarball from https://github.com/openwisp/netjsonconfig/tarball/issues/230-wifi-dsa
, try again and let me know if you still get warnings.
This fix was installed and confirmed to work. Thanks! You guys are fast!
config device 'device_wifinet0'
option mtu '1500'
option name 'wlan0'
config interface 'wifinet0'
option auto '1'
option device 'wlan0'
option enabled '1'
option proto 'none'
config device 'device_wifinet1'
option mtu '1500'
option name 'wlan1'
config interface 'wifinet1'
option auto '1'
option device 'wlan1'
option enabled '1'
option proto 'none'
@mfoxworthy thanks for confirming! I hope more users like you will help us to find ways to improve the compatibility of OpenWISP with the new DSA syntax of OpenWrt, with a bit more collaboration from everyone we can do very well :+1: :clap:!
We are very excited about what OpenWISP is doing. You should see a lot more cases from our testing and development. Maybe we can talk offline about what we are doing with your system. It's a fairly unique use case. Great job and I really look forward to the new enhancements! 👊
Option ifname has gone away and option device replaced it. Luci will fix it and it isn't really broken but just thought I'd mention it. I wouldn't have even noticed if I didn't have some users who use Luci. This screen will pop up:
This particular instance was seen when using the "Wireless Interface" interface template.
I believe the "name" key is getting translated as "ifname" and it should be translated to "device" in OpenWRT 21.02.X as per the OpenWRT documentation found in this link:
https://openwrt.org/releases/21.02/notes-21.02.0#new_network_configuration_syntax_and_boardjson_change