kvj / hass_openwrt

Home Assistant integration with OpenWrt devices
MIT License
123 stars 20 forks source link

linksys wrt1900ac v2 OpenWrt communication error: 'ifname' #3

Closed amirudon closed 2 years ago

amirudon commented 2 years ago

hi, firstly thank you for excellent plugin you've created, been using it for awhile on openwrt 19.07 without a problem. recently upgraded to by openwrt 21.02 and the error showed up.

device : Linksys WRT1900AC v2

on openwrt 19.07 it works fine. on openwrt 21.02 it gives error.

might be caused by transition to DSA? it is giving error " OpenWrt communication error: 'ifname'"

checked the output from ubus, it indeed does not have ifname anymore.

any idea how to fix this?

Thanks

amirudon commented 2 years ago

Sorry my mistake, did not realise if the wireless network is not enabled it will throw this error.

Simply enabling the wireless network solves the problem.

Again, thank you for a great integration