Uci get network.wan.device

hello the command above tells me: uci: Entry not found. but why? There is of course a wan interface.

thx!

Check with uci show network.wan

the same :confused:

Then run
ubus call network.interface dump | jsonfilter -e '@.interface[*].interface'

Edit: added a filter to minimize the output.

that gives me a bump of information. but how will that help me to get uci get network.wan.device to work?

omg got it... it's just the name... mine is 'wan_indoor'...

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