Converting from swconfig to DSA on ASUS RT-ACRH13

I have an ASUS RT-ACRH13 router, that uses that uses the RT-AC58U device load. I believe that DSA is supported on this device.

root@OpenWrt:~# ubus call system board
        "kernel": "5.10.176",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 5 (v7l)",
        "model": "ASUS RT-AC58U",
        "board_name": "asus,rt-ac58u",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "22.03.5",
                "revision": "r20134-5f15225c1e",
                "target": "ipq40xx/generic",
                "description": "OpenWrt 22.03.5 r20134-5f15225c1e"

My network file still uses swconfig and has no LANx devices. It contains the following lines.

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '1 2 3 4 0'

I performed a hard reset on it, but the network file still uses swconfig. I renamed /etc/config/network and /etc/config/system, the reloaded 22.03.5. I unchecked the box to keep the current configuration. Still the network file uses swconfig.

Should I have expected a different default format of the network file that uses DSA? If so, what am I doing wrong. Thank you in advance for any help!

Update to 23.05.0, problem solved.

1 Like

23.05.0 not supported on RT-AC58U yet.

Then either use -rc3 now or wait for 23.05.0 to get ipq40xx/generic images.

1 Like

Thank you! That did it.

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