Who wouldn’t want more ports? So when I saw support for this switch entering mainstream OpenWRT, I had to have one.
These switches are pretty cheap on ebay and have the following spec:
| CPU | Memory | Flash | |
| Ubiquiti EdgeRouter X | 4 core (MIPS 1004Kc V2.15) | 256MB | 256MB |
| D-Link DGS-1210-28 | 1 core (MIPS 4KEc V7.0) | 128MB | 32MB |
Installing was pretty easy. Hardest part was finding a serial adapter.

- Added a header and serial console using
screen /dev/ttyUSB0 115200 8n1 - Setup a TFTP server on another machine that you can pull from
- press escape during boot
- network with
rtk network oncommand setenv ipaddr 192.168.1.1(since this is the future openwrt default address too)- boot with
tftpboot 0x8f000000 openwrt-rtl838x-generic-d-link_dgs-1210-28-initramfs-kernel.bin - boot the image with
bootmand you are now running from memory. - the default vlan setup is kinda dumb – aparently plugging into port 2 works.
- copy on a
-sysupgrade.binimage onto the switch and run asysupgradecommand.
My custom config is at https://github.com/imaginator/home-network/blob/master/switch02.settings

