I absolutely loved my WRT54G series router. I had one years ago that had its input ethernet port fried during a storm. Luckily I was running DD-WRT on it and was able to reconfigure one of the output ethernet ports as the new input so the router lived on.
https://gitlab.com/interception/linux/plugins/caps2esc