Continuing the discussion from Lldpd not working:
Hello everyone!
Just like OP in the tagged post I struggle to see PLC connected to the MediaTek device (MT7628AN) in the accessible devices list in TIA Portal. I tried setting up lldpd library, but still no success.
I do see neighbors with the lldpcli show neighbors command: my pc and my siemens PLC 1200. However the Profibus OUI is tagged as an unknown TLV so it makes me think that it could be the root of problem too probably?
I also see some of the packets being received with the lldpcli show stat command:
But I still can't see PLC in TIA Portal.
I tried allowing all the rules in the firewall too and tried to play with nftables too.
On other Qualcomm based routers TIA portal scanning works perfectly fine without any setup at all. But here I'm stuck with the MediaTek device. I see devices only if I turn off VLAN mode at all.
Does anyone know what should I do about it or what am I doing wrong?
I'm opening lldpd on the eth0.1 interface which is part of br-lan bridge.
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config device
option name 'eth0.1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'eth0.2'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '6t 1 2 3 4'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '6t 0'