Due to some Problems the technicians encountered while setting up our house's fibre connection, I currently don't have a private Internet Connection. My Landlord kindly offered to allow me access to their wifi so that I can take part in online classes while waiting for the Problem to be resolved. The only point where a stable and fast connection to their wifi is possible is in our staircase.
My solution to this was to put a Raspberry Pi 4 with OpenWRT installed in the staircase and connect my PC with a Ethernet Cable, then use my PC as a Hotspot for all other devices.
I had a working OpenWRT Install that was accessible via Web Interface as well as via SSH. I managed to make it join the WiFi Network, but while trying to bridge the wifi connection to the ethernet port, I made a regrettable configuration mistake, locking myself out of the device.
I reflashed a clean image of OpenWRT to the Pi's SD Card, but now I can't connect to it at all anymore. When trying to connect via SSH, I get back ssh: connect to host 192.168.1.1 port 22: Connection refused . When trying to connect to the web interface, I get ERR_CONNECTION_REFUSED in Vivaldi (Chromium) and Firefox can’t establish a connection to the server at 192.168.1.1. in Firefox.
I've tried this from Linux as well as Windows based machines with the same results. I've tried manually setting up the IP config because I've read that DHCP being turned off might be the issue, but it did not help, though I might have made a mistake as I'm not very experienced with networking stuff.
I'd try accessing the Pi's Console directly, but I don't currently have access to a USB Keyboard, though I can order one if necessary, though I'd be happy if this is solvable without doing so.
If anyone has any Ideas how I might solve this, I'd be quite happy.
You have set your computer to 192.168.1.1 which is conflicting with the openwrt default ip (which is the same). Change your computer to some other address in that subnet such as 192.168.1.2 and it should work.
Interestingly, pinging 192.168.1.1 under Windows is unsuccesfull:
Pinging 192.168.1.1 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
I'll also try looking this up in the documentation, but you wouldn't happen to know of the top of your head which files I'd have to edit to enable DHCP for eth0?