Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Support variables everywhere in the NetJSON config #528

Open
sklemer1 opened this issue Aug 19, 2021 · 5 comments
Open

[feature] Support variables everywhere in the NetJSON config #528

sklemer1 opened this issue Aug 19, 2021 · 5 comments

Comments

@sklemer1
Copy link

I can't find a way to use variables for integer fields like wifi channels.

Either it is non-conforming json or it doesn't fit the schema.

@nemesifier
Copy link
Member

It's not supported now unfortunatley. I have plans to solve this in the future versions but it will take time.

@kellerman
Copy link

Also stumbled upon this problem. Auto channel assignment is not really working (channel value '0' makes the radios just to get disabled) and integer variables doesn't work.
Creating more templates for each channel work fine as a workaround, but is a bit messy. It would be nice to see a better way to set numeric values.

@nemesifier
Copy link
Member

Depends on openwisp/netjsonconfig#223.

@nemesifier nemesifier changed the title Support variables also in integer attributes [feature] Support variables everywhere in the NetJSON config Oct 27, 2022
@nemesifier
Copy link
Member

Also stumbled upon this problem. Auto channel assignment is not really working (channel value '0' makes the radios just to get disabled)

BTW: this should not happen, OpenWrt can handle automatic channel selection via hostpad very well since many versions.

@kellerman
Copy link

kellerman commented Oct 27, 2022

Also stumbled upon this problem. Auto channel assignment is not really working (channel value '0' makes the radios just to get disabled)

BTW: this should not happen, OpenWrt can handle automatic channel selection via hostpad very well since many versions.

Yes, just rechecked and it did set to auto this time.
I have a bad expirience with Mikrotiks RouterOS and wireless. The auto selection was just crap (and whole wireless in general). I have already flashed 3 different MT models and getting much better wireless speeds and range.
If the channel auto selection works fine, then I might as well keep it that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants