# Seeded by Guix on first activation (uci-service-type); owned by UCI and # netifd after that. # # wan: the onboard Ethernet port (GENET, eth0 as long as no USB NIC races # it, PITFALLS #26), DHCP from the upstream (in the lab, archy-dev-pa's # shared connection). br-lan has no wired port: the WiFi AP joins it # (bridge_empty keeps it up meanwhile). # wwan: WiFi client uplink, kept as a second WAN (higher metric): wlan0 is # associated by wpa_supplicant (outside netifd) and attached to this # interface over ubus (add_device, link-ext) by the netifd-attach-wlan0 # service: netifd won't take a WiFi netdev from `option device'. config device option name 'br-lan' option type 'bridge' option bridge_empty '1' config interface 'lan' option device 'br-lan' option proto 'static' option ipaddr '192.168.10.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'wan' option device 'eth0' option proto 'dhcp' option metric '10' config interface 'wwan' option proto 'dhcp' option metric '20'