I do opkg update then:
root@OpenWrt:~# opkg install luci-app-sqm
Unknown package 'luci-app-sqm'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency sqm-scripts for luci-app-sqm
* pkg_hash_fetch_best_installation_candidate: Packages for luci-app-sqm found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-app-sqm.
I think this worked on 23.05. I wanted to go back to 23.05, but it soft bricked. How to go back 23.05 safely?
if reset doesn't work, you can always reinstall using serial.
if you're going to hook it up to serial, try to figure out why it bricked, before you reflash it.
I ve got 2 of these devices. Only 1 is bricked. What about doing the other without serial?
Yeah but doesnt this device have "press reset while powering on" then boom tftp thing? Its got a lot of screws..
there's no such info on https://openwrt.org/toh/zyxel/p-2812hnu-f3
how was it installed, or did you buy it with openwrt preinstalled ?
I bought it without openwrt installed
Are you sure you softbricked it by downgrading, and not by upgrading? To upgrade from 23.05 to 24.10 you should have used serial and tftp.
https://openwrt.org/toh/zyxel/p-2812hnu-f1#upgrade_from_2305_to_2410
I already did it like that, 24.10 was working but no sqm. Therefore I tried to downgrade.
OK. To downgrade you'll need to tftp the 23.05 initramfs, and then sysupgrade to the squashfs version.
Directly downgrading doesn't work for the same reason directly upgrading doesn't. The partition layout is changed, so the kernel and squashfs are written to the new positions, while the old kernel expects them on the old one, after reboot.
And, no, the reset button doesn't put the router in some tftp mode.
Can I just tftp without serial? Like recovery mode, will auto download from tftp server at 192.168.1.2 type of stuff?
"auto download" by button is boot loader specific, far from all hw got this.
1 Like
Why don't we fix the SQM issue instead of downgrading?
Did opkg update
run fine or were there problems reported?
If this doesn't work, you can always use the firmware selector to request a build with luci-app-sqm preinstalled and sysupgrade to that.
1 Like
I dont think it will work it literally says something that program doesnt work for that arch
Sure it does. That's a standard Lantiq device.
Go here: https://firmware-selector.openwrt.org/?version=24.10.0&target=lantiq%2Fxrx200&id=zyxel_p-2812hnu-f1
Click on "customize build" and add luci-app-sqm
to the list. Voila, sysupgrade image with luci-app-sqm, sqm-scripts and sqm included.
But when you do that does it work? Why it doesn't install from opkg then? There seems to be a bug here...
Why do we have to do backdoor like this? Why can't we use the opkg like normal people?
You're right, I've saved the modem but, checked around in the u-boot, there doesn't seem to be a way to install this without serial. Reset+power does nothing. U-boot doesn't have a tftp time window either...
The firmware selector is the easiest way to get packages compiled into your firmware image, saving you on tight flash space and making upgrades easier. It was meant to prove the point that the package is there and is installable.
That said, we can assist you in fixing your opkg issues. Please provide the output of ubus call system board
and opkg update
. It's also possible that the opkg mirror had a temporary hiccup and is working properly now.
OK one last thing, we can upgrade between minor versions right? From 23.05.5 to 23.05.6?
Also, there seems to be a way without serial every time. What if we fraction the firmware file of 24.10 then write it part by part with mtd-write or something?