Newifi D2 not found switch / vlan

As in the tittle Newifi D2 not found switch / vlan

Only exist default power up in etc/config/ network LAN1, LAN2, LAN3, LAN4


NAME="OpenWrt"
VERSION="19.07.2"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.2"
VERSION_ID="19.07.2"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r10947-65030d81f3"
OPENWRT_BOARD="ramips/mt7621"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.2 r10947-65030d81f3"

I don't know what I'm looking at. When I run that hash, it says 65030d81f3 is a commit from February 27th, 2020. No way that's in any 19.07.2 build. 19.07 is at .7 at this point an we're 10 days after February 27th.

So... What is this? Did you dirty flash? Kept settings? Restored some settings? A master build with DSA somehow? A manufacturer supplied OpenWrt build? Someone's personal build with DSA and a few other patches backported maybe?

it sounds like you have a build running with DSA support
with DSA the switch device is not present / no longer used

this is strange though because OpenWrt 19.07.2 should still be using the old driver ?

this is basically off topic but i'm just saying incase anyone's interested

i tried DSA on the newfi d2 a few months ago, there seemed to be a problem where the ports weren't mapped correctly / got mixed up and when I set up tagging on some lan ports it would come through on another etc

I'm currently running DSA (5.10.20 kernel) on a Xaiomi Router 3g and everything seems fine except software offloading doesn't work. Everything except that, tagging on ports is OK with the dsaconfig package, i've even set up macvlan interfaces running off the tagged interface and they work too, i've kept the br-lan as a bridge that has the switch0.1 interface in it so that's technically a bridge with a vlan interface running of it then placing that in another bridge so I can now add wireless interfaces in too. I wasn't expecting this level of functionality heh.

https://ghostbin.com/paste/jMKz5 dmesg boot log
https://ghostbin.com/paste/mjyyM /etc/config/network

I used the macvlan interfaces to make accessing the modem's webconfig clean

Stating again, this is with the dsaconfig package running from https://git.openwrt.org/?p=openwrt/staging/jow.git;a=commit;h=3dcda8f32b188420614bdeba4e5adeb134f371de

I have build last version and no switch

root@OpenWrt:/# cat /etc/os-release
NAME="OpenWrt"
VERSION="SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r16134-c6652a7c94"
OPENWRT_BOARD="ramips/mt7621"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS="no-all"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt SNAPSHOT r16134-c6652a7c94"

There is no switch anymore, but you still have the br-lan bridge. Are you missing any functionality?

Granted, LuCI hasn't feature parity yet with the old swconfig equivalent, but you can do everything you could with swconfig on the command line still.

Question is for my education !!!

Yes i can bridge LAN1 to 4 & WAN ports ...