I've lost my router's ip address [closed]

I have a router connected directly to my pc and I misconfigured my router's ip address and had disabled dhcp on it prior and popped off the reset button(so resetting is not possible).Due to this, I'm considering pinging all possible ip's till it responds. My question is this:

  1. Suppose my router has a different network id(eg. my ip is 192.168.1.1/24 and the router's ip is 192.168.0.1, will it respond to a ping in that case if the 2 are directly connected?
  2. IF not does this mean I need to keep changing my ip address to ping all possible network id's. Very new to networking please help.

Turn the router off. Connect one of the router's LAN ports to the PC and ensure nothing else is connected to either the PC or the router. Run any packet capturing software on the PC that you like.

Turn the router on. Watch for captured packets. You will eventually see the router try to do something, typically within a few minutes. From those captured packets, you can see the source IP address, which will be the LAN address assigned to the router.