Opkg remove opkg -.-

Hey guys,

i removed my opkg from my openwrt accidentally -.-. Is there a possibility to fix that or to redownload my packet manager ? Cant found the files until now .... maybe i neeed some help.

Snot

The easiest way is to reset router to default by running firstboot command.
All settings will be lost, but all packages from squashfs will be restored.

Otherwise you'll need to restore files manually from rom.

1 Like

Naaa firstboot dont work on my device:

MTD partition 'rootfs_data' not found

Witch files where used by opkg ?! Witch should i restore ?

Flash firmware blob again. "Your device" may not have rom.

https://downloads.openwrt.org/releases/18.06.4/packages/x86_64/base/

Select the proper release and target, manually download the package and extract the binary.

2 Likes

Ok i tried but the opkg ipk is not correct as i need it for Arm V6.
The firmware is this one https://downloads.openwrt.org/releases/18.06.4/targets/oxnas/ox820/

I got a STG-212

https://openwrt.org/docs/techref/instructionset/arm_mpcore#download_packages

2 Likes

Works fine ... thanks alot !!!!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.