The serial port shows Linux boot messages, but SSH remains unreachable. At this point, it is more useful to identify the last completed stage than to look for a line that appears like an error. The bootloader loads the kernel, the kernel prepares the root environment, early initialization occurs, and user services start—each stage offers distinct troubleshooting entry points.
Retain original records according to boot sequence
Retain one normal boot or failed boot log from an existing operational console. The upstream /etc/preinit will load hooks from /lib/preinit, which involves early network setup, failsafe mechanisms, and root mount preparation; after entering regular initialization, procd takes over to start and monitor services. The actual hooks executed depend on the device model and image type.
If the log has not yet entered the kernel, first verify the boot process and image. If the kernel is running but stops while searching for the root device, inspect the boot parameters, storage driver, and root partition. If mounting and service startup information are already present, and only SSH failure occurs, proceed to manage the network or Dropbear.
When accessible via local terminal, perform cross-verification
cat /proc/cmdline
cat /proc/mounts
ubus call system board
logread -e dropbear
If ubus is still unavailable, document the stage and existing kernel output; do not interpret "command connection failure" as indicating board damage. Acceptance criteria include a single successful normal boot completing root mount, obtaining the expected management address, and enabling login. Temporary boot or failsafe entry into shell only validates the rescue path; the original boot medium should be retained until normal boot is also successfully passed.
Reference
Related guide · Check whether U-Boot or Breed can still recover a bricked router
Comments