I had an R40 run as a router / home server for 12 years, until this January. Lovely machines.
https://snafuhall.com/home-lan-1-the-beginning.html#cracktop
https://snafuhall.com/home-lan-1-the-beginning.html#cracktop
I set it up to boot from the ACPI signal and run with lid closed so it boots from the wall switch.
I dont use that laptop at all these days so I put it to use there.