I bought an RT-AX52 and after many attempts I managed to install OpenWRT + Wireguard + VPN. Everything was working fine but I couldn't log into the Playstation Network so I re-installed a new config file for the VPN (Moderate NAT =on). However as soon I did that, neither the 2.4 nor the 5Ghz channels could connect to the internet. I panicked and removed all the Firewall zone options (I deleted LAN, WAN, everything).
Then..I was kicked out of the router UI and could never get back in (192.168.1.1). I have tried the hard reset, I tried the asus recovery tool (I used the latest and the oldest firmware) but that always says "recovery failed" (this messages comes up when the upload bar reaches 100%). I changed the ethernet settings per ASUS instructions before that. I tried typing ssh root@192.168.1.1 but I got a port 22 connection refused message.
I am no sure what to do at this point. Any suggestions?
Hey thanks for your reply, I'm really ignorant about all this stuff. I checked openSSH is enabled on my Win10 btw, I turn on the device, wait a few secs, press the WPS button until the power button blinks really fast and then I open the cmd prompt and enter mount_root but it says this command is not recognised.
Moderate Nat = on is just the config file from protonvpn which I uploaded thru the openwrt UI
Edit: i retried by typing "ssh mount_root" and got the following:
ssh: could not resolve hostname mount_root: \242\343\355\371\363\364\357. etc
The command needs to be run on your router after you make the ssh connection.
When the LED is blinking rapidly, that means failsafe mode is running. That's good.
You then need to:
Set your computer to use a static IP (for example 192.168.1.5, subnet mask 255.255.255.0) on its ethernet adapter and connect directly to one of the lan ports on your device.
open a terminal/client and ssh into your router (ssh root@192.168.1.1). Many people use PuTTY on Windows as an ssh client.
issue the mount_root command once you're logged into the OpenWrt router
Then you can edit the files to fix the error.
This won't work... see my description above.
I don't think that this is accepted by OpenWr's implementation of Wireguard.
Either my device is messed up or I'm getting a Darwin award tonight.I tried logging into the router per your instructions (windows cmd, I also downloaded PUTTY). But in both cases I got this in Putty: Network Error: Connection Refused. Whereas in the cmd prompt I got:
ssh: connect to host 192.168.1.1 port 22: connection refused
I've done all of this (I tried using all 3 ethernets ports just to be sure)
. Just to make sure, should the LAN/WAN cable going to the box on my wall be plugged onto my Asus? Or should I unplug it?
unplug everything other than power (obviously required) and one single ethernet cable that runs between the AX52 lan port and your computer's ethernet port.
that's because you haven't successfully ssh'd into your router. Note the error and the fact that you are still at the c:\ prompt.
You need to delete the previous ssh key for 192.168.1.1 in order to connect to your router. I don't know if it is the same on Windows, but Linux and MacOS use this:
ssh-keygen -R 192.168.1.1
If that works, try the ssh connection again. If it doesn't work, look up how do remove an ssh key from windows.