RAK7289 opkg can not be used to update/install new packages

Hi all,

We bought several RAK7289 for a research projects in marine ecology and it all worked fine until we needed to install new packages that are not part of the firmware provided by RAK.

We used the last available firmware which is the 1.3.9

root@RAK7289C:~# cat /etc/openwrt_release
DISTRIB_VERSION="1.3.9"
DISTRIB_RELEASE="1.3.9_RAK"
DISTRIB_REVISION="b186"
DISTRIB_TARGET="ramips"
DISTRIB_DATE="20230613"
DISTRIB_TIME="063238"
DISTRIB_SKU="RAK"
DISTRIB_PRODUCT=""

But unfortunatetly opkg can not be used and fails to update or install new package.

root@RAK7289C:~# opkg update
Downloading /base/Packages.gz.
wget: bad address ''
Downloading /base/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /lora_open/Packages.gz.
wget: bad address ''
Downloading /lora_open/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /rak_luci/Packages.gz.
wget: bad address ''
Downloading /rak_luci/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /telephony/Packages.gz.
wget: bad address ''
Downloading /telephony/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /rak/Packages.gz.
wget: bad address ''
Downloading /rak/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /mtk/Packages.gz.
wget: bad address ''
Downloading /mtk/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /packages/Packages.gz.
wget: bad address ''
Downloading /packages/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /openwrt_updates/Packages.gz.
wget: bad address ''
Downloading /openwrt_updates/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /routing/Packages.gz.
wget: bad address ''
Downloading /routing/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Downloading /management/Packages.gz.
wget: bad address ''
Downloading /management/Packages.sig.
wget: bad address ''
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download /base/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /base/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /lora_open/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /lora_open/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /rak_luci/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /rak_luci/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /telephony/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /telephony/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /rak/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /rak/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /mtk/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /mtk/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /packages/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /packages/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /openwrt_updates/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /openwrt_updates/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /routing/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /routing/Packages.sig, wget returned 1.
 * opkg_download: Failed to download /management/Packages.gz, wget returned 1.
 * opkg_download: Failed to download /management/Packages.sig, wget returned 1.

When looking at the opkg configuration there is no upstream specified in the “/etc/opkg.conf” file and no adresses in the /etc/opkg/distfeeds.conf"

root@RAK7289C:~#  cat /etc/opkg.conf
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature 1

root@RAK7289C:~# cat /etc/opkg/distfeeds.conf
src/gz %n_base /base
src/gz %n_lora_open /lora_open
src/gz %n_rak_luci /rak_luci
src/gz %n_telephony /telephony
src/gz %n_rak /rak
src/gz %n_mtk /mtk
src/gz %n_packages /packages
src/gz %n_openwrt_updates /openwrt_updates
src/gz %n_routing /routing
src/gz %n_management /management
# src/gz %n_luci /luci
# src/gz %n_linkit /linkit

I have found some old threads in the forum that mentioned this issues but no explicit solution ().

As installing packages manually is not a viable option for our network end-users, I am wondering if there is any solution out there to have opkg properly configured ?

Many thanks in advance !

M. JULIEN

Hello @ifremer974 ,

WisGate OS is not open source (though it is based on OpenWrt). And opkg packages are not supported.
If you need something specific you can contact us at [email protected]

Best Regards,
Nikola Semov