Basically you have to buy a new remote. If you have any Roku other than a stick that plugs directly into the TV without a cable you can get away with a cheap universal remote. If you can configure your new Wi-Fi to match your old Wi-Fi (same SSID/network name and password) then your Roku device should connect to it.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution." If you appreciate my answer, maybe give me a Kudo.