D-Link 842 C3 not showing lan ports in luci

i want to use my c3 as a dumb access point with vlans connected to my banana bpi r3

swconfig shows all the ports

root@OpenWrt:~# swconfig dev switch0 show
Global attributes:
	enable_vlan: 1
	ar8xxx_mib_poll_interval: 500
	ar8xxx_mib_type: 0
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	mirror_monitor_port: 0
	mirror_source_port: 0
	arl_age_time: 300
	arl_table: address resolution table
Port 0: MAC 00:ad:24:4e:17:50
Port 0: MAC 00:ad:24:4e:17:52
Port 5: MAC 48:21:0b:26:22:7a
Port 5: MAC f4:8c:eb:55:c9:12
Port 5: MAC fe:1b:a9:63:91:17

	igmp_snooping: 0
	igmp_v3: 0
Port 0:
	mib: MIB counters
RxGoodByte  : 1929813 (1.8 MiB)
TxByte      : 635631 (620.7 KiB)

	enable_eee: ???
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 0
	link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 
Port 1:
	mib: No MIB data
	enable_eee: 0
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 1
	link: port:1 link:down
Port 2:
	mib: No MIB data
	enable_eee: 0
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 1
	link: port:2 link:down
Port 3:
	mib: No MIB data
	enable_eee: 0
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 1
	link: port:3 link:down
Port 4:
	mib: MIB counters
RxGoodByte  : 364150 (355.6 KiB)
TxByte      : 593319 (579.4 KiB)

	enable_eee: 0
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 1
	link: port:4 link:down
Port 5:
	mib: MIB counters
RxGoodByte  : 284456 (277.7 KiB)
TxByte      : 1308863 (1.2 MiB)

	enable_eee: 0
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 2
	link: port:5 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 6:
	mib: No MIB data
	enable_eee: ???
	igmp_snooping: 0
	vlan_prio: 0
	pvid: 0
	link: port:6 link:up speed:10baseT half-duplex 
VLAN 1:
	vid: 1
	ports: 0t 1 2 3 4 
VLAN 2:
	vid: 2
	ports: 0t 5 

ifconfig -a on the other hand doesnt

root@OpenWrt:~# ifconfig -a
br-lan    Link encap:Ethernet  HWaddr 00:AD:24:4E:17:50  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fde2:a849:b277::1/60 Scope:Global
          inet6 addr: fe80::2ad:24ff:fe4e:1750/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3264 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1381 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:262256 (256.1 KiB)  TX bytes:595233 (581.2 KiB)

eth0      Link encap:Ethernet  HWaddr 62:3B:D3:D2:A2:D5  
          inet6 addr: fe80::603b:d3ff:fed2:a2d5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5723 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4147 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:652935 (637.6 KiB)  TX bytes:2242091 (2.1 MiB)
          Interrupt:4 

eth0.1    Link encap:Ethernet  HWaddr 00:AD:24:4E:17:50  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3264 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1381 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:262256 (256.1 KiB)  TX bytes:595233 (581.2 KiB)

eth0.2    Link encap:Ethernet  HWaddr 00:AD:24:4E:17:52  
          inet addr:10.0.1.168  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2ad:24ff:fe4e:1752/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2337 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2744 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:278665 (272.1 KiB)  TX bytes:1626336 (1.5 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:758 errors:0 dropped:0 overruns:0 frame:0
          TX packets:758 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:63505 (62.0 KiB)  TX bytes:63505 (62.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:AD:24:4E:17:53  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan1     Link encap:Ethernet  HWaddr 00:AD:24:4E:17:50  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

and in luci even less is shown

any help on getting these ports to work will be greatly appreciated i tried the following openwrt versions
Firmware Version OpenWrt 22.03.5 r20134-5f15225c1e / LuCI openwrt-22.03 branch git-23.093.57104-ce20b4a
Firmware Version OpenWrt 22.03.4 r20123-38ccc47687 / LuCI openwrt-22.03 branch git-23.093.57104-ce20b4a

same results

This looks all fine and this is to be expected. Your device is swconfig, not DSA. The switch configuration is in a separate LuCI menu (Network -> Switch) and you will only get VLANs for the eth0 interface as in eth0.100 eth0.101 and so on for the VLANs 100 and 101. The ports will not be represented as interfaces (in contrast to DSA switches, where this is the case).

so the device doesnt support dsa?

Not yet.

It will come soon.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.