* Felix Fietkau <n...@openwrt.org> [15.09.2013 12:52]:
> I probably should have written <alias> instead of alias. The alias
> section needs a name (it's considered an interface by netifd), and the
> route 'interface' option needs to point at that alias section name.

thank you. it works like this:

uci add network alias
uci set network.@alias[-1].interface="lan"
uci set network.@alias[-1].bla=...
...

uci add network route
uci set network.@route[-1].interface=cfg164d8f
uci set network.@route[-1].bla=...
...

i have to point to the handle 'uci add $section' gives me.
what does not work is:

uci set network.@route[-1].interface=@[-2]

why not? also in http://wiki.openwrt.org/doc/uci/network#aliases
there is warning for 'deprecated'. what is the better way?

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to