i got my own interfaces file added to buildroot filesystem (overlay rootfs)
auto lan1
iface lan1 inet manual
auto lan2
iface lan2 inet manual
auto br0
iface br0 inet static
address 192.168.40.1
netmask 255.255.255.0
bridge_ports lan1 lan2
bridge_fd 5
bridge_stp no
but i get the following error (i do not see it in dmesg or /var/log/messages):
Cannot find device "br0"
i have bridge-utils built in my buildroot and can create the bridge manually (brctl addbr br0), but it is not done at bootup
any idea?
Edit: this is my defconfig and full interfaces-file
i do not use systemd...i guess legacy vinit
/sbin/init --help
BusyBox v1.32.0 (2021-01-21 18:56:27 CET) multi-call binary.
regards Frank
/etc/network/interfaceprocessing you have in your buildroot: systemd? legacy sysv? something else? At the end of the day, thebridge_*stanzas have to be interpreted by something, and with the information you have given, the first guess would be that whatever your flavour needs to interpret those is not present. But since you are the only one who knows how the rest of your buildroot looks like, we cannot answer this.