You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package
Sungbo Eo a2d9de21b8 base-files: config_generate: split macaddr with multiple ifaces
netifd does not handle network.@device[x].name properly if it
contains multiple ifaces separated by spaces. Due to this, board.d
lan_mac setup does not work if multiple ifaces are set to LAN by
ucidef_set_interface_lan.

To fix this, create a device node for each member iface when
running config_generate instead. Those are named based on the
member ifname:

  ucidef_set_interface_lan "eth0 eth1.1"
  ucidef_set_interface_macaddr "lan" "yy:yy:yy:yy:yy:01"

will return

  config device 'lan_eth0_dev'
        option name 'eth0'
        option macaddr 'yy:yy:yy:yy:yy:01'

  config device 'lan_eth1_1_dev'
        option name 'eth1.1'
        option macaddr 'yy:yy:yy:yy:yy:01'

ref: https://github.com/openwrt/openwrt/pull/2542

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[always use new scheme, extend description, change commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 298814e6be)
5 years ago
..
base-files base-files: config_generate: split macaddr with multiple ifaces 5 years ago
boot uboot-envtools: ramips: add support for ALFA Network Quad-E4G 5 years ago
devel strace: Fix build on PowerPC 5 years ago
firmware ipq-wifi: add AVM FRITZ!Repeater 1200 bdf 5 years ago
kernel mac80211: add default value for noscan 5 years ago
libs wolfssl: update to v4.2.0-stable 5 years ago
network firewall: update to latest Git HEAD 5 years ago
system rpcd: update to latest Git HEAD 5 years ago
utils e2fsprogs: Fix CVE-2019-5094 in libsupport 5 years ago
Makefile packages: apply usign padding workarounds to package indexes if needed 5 years ago