Troubleshooting DietPI from bootable USB

I have a Rapsberry Pi 3B+ running DietPI.
It should work fine but recently I had to replace my router. DietPI is unable to connect to the new one using LAN
Even though I can’t see any connection, there is traffic on the port. Advanced IP Scanner is able to locate the IP of DietPI.

But I can’t ping it, let alone SSH to it.

To make matters worse, I don’t have an external monitor to connect to it directly.

Is there a way to boot up from USB, SSH into it and from that troubleshoot the original system? I would like to avoid complete reinstallation if possible.

Do you know or remember if it was configured to get network settings from DHCP or uses static IP?
It is also possible to write a fresh image of dietpi in a new sd card and test with this one, instead of reinstalling or making changes in the existing.

1 Like

in addtion to that, you could connect the SD card to the RPI via a USB adapter and check the network configuration.

No idea, though I presume DHCP should be used, since I was able to access it after installation and I doubt I tweaked the settings since.

Though now I think that I may have set the wifi in the first launch script. Maybe the LAN never actually worked and it was connected via WIFI the whole time? I’ll try adjusting the SSID to match the old one, maybe Pi will connect that way? I’ll try that first.

Would this work from the USB as well? I would prefer not to buy more hardware to fix this.

Thanks for your help!

It would be a valid reason.

I don’t know, but my guess would be yes.

RPi3B+ should be able to boot from USB device ootb https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-3b

The Raspberry Pi 3B+ supports USB mass storage boot out of the box.