Mod-ubus setting wireless config

I'm using mod-ubus to configure wireless, I can add new section config wifi-config with the required wifi settings, commit wireless, everything is ok. My problem is that my wifi config wifi-iface 'sta' needs to have ssid/key/encryption set separately via an additional JSON request.

Why do a need "config wifi-config"? Why not just set the config wifi-iface 'sta' instead?

There is no section of type wifi-config in OpenWrt

Thanks Jow, I m using Omega2, it must be an Omega thing so I will ignore it.

Thank you for your response.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.