Dear beloved community. After running an apk upgrade
on my snapshot yesterday, I've lost my DSL connection... Ill guess there where some new firmwares within. After rebooting the device, it seems it didn't came up propper again. Just the Power LED is lightning green. DHCP and web server arnt working anymore. I can still ping the device through cable (manual ip config) but ssh is rejected. Is there any way to recover or reanimate the box or do I need flash a blank image? Would be nice to know what happens (to prevent this next time
See below - the same applies to apk upgrade.
Upgrading packages (via the CLI opkg upgrade
command or the LuCI Upgrade...
button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.
It's almost certainly easiest to just reflash a fresh image. The underlying issue is that apk
is still incomplete and can't deal with ABI versioned libraries properly in the context of an upgrade. I would guess that your action removed libustream, libubox and maybe other fundamental kernel libraries, thus bricking your device. This is unpleasant, but expected, when using apk upgrade
at this time.
You can bypass this all and upgrade using the attended sysupgrade (ASU) tools to create a complete and consistent image that doesn't expose the shortcomings of OpenWrt's current deployment of apk
.