How to add Feeds Openwrt correctly?

Hi all.
Please tell me how to correctly add Feeds to get the package I need at the "BASE" using DD-WRT, LEDE, GARGOYLE, LIBRECMC or other OpenWRT forces.

I will give an example.

I need libmbedtls21 package https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_generic/libmbedtls21_3.2-r1_aarch64_generic.ipkkkh

And in the OpenwRT Fork, the older version of libmbedtls12.

I downloaded the openwrt-keyring key. Feeds added below the list and updated the repositories but I do not see a new version of libmbedtls21.

# cat /etc/opkg/distfeeds.conf

  
  src/gz openwrt_base https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_generic/base
  src/gz openwrt_luci https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_generic/luci
  src/gz openwrt_packages https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_generic/packages
  src/gz openwrt_routing https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_generic/routing
  src/gz openwrt_telephony https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_generic/telephony

AFAIK, it should be src-link when pointing to a local source directory.

Other than that, you're not going to get any love trying to get support for an OpenWrt fork.

Thanks for your answer. You will not be difficult to write an example of how it should look?

I can’t understand how to get libmbedtls21 from "Base" Openwrt.

why not simply wget the libmbedtls21_3.2-r1_aarch64_generic.ipk via ssh from the router, and install it using opkg ?


It appears you are using firmware that is not from the official OpenWrt project.

When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.

You may find that the best options are:

  1. Install an official version of OpenWrt, if your device is supported (see https://firmware-selector.openwrt.org).
  2. Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
  3. Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).

If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.

1 Like

Thanks for your answer and recommendation.

I thought about it (install libmbedtls21_3.2-r1_aarch64_generic.ipk opkg install libmbedtls21_3.2-r1_aarch64_generic.ipk ) But how did you write if you can install anything you can break the system. So I asked the community here.

I correctly understand that I do not break the OpenWRT or DD-WRT, LEDE, GARGOYLE, LIBRECMC system, I don't need to touch the "CORE" with all the Sotial I am ENMENTION?

But my main question is related to Feeds OpenWRT, I would like to know how to add them correctly to get the necessary pkate and not break the system.

correct, you can.

we have no idea what you can and cannot do with those, but OpenWRT packages will most likely not work there, esp ones requiring kmods.

if you add a package, it'll come from the same build/version as the image you've got installed.

if you however upgrade the package, the latest version will be installed, and it might not play nice with the rest of the image/packages installed.

installing good, upgrading bad.

Hello. Thank you your recommendation worked :handshake:, I installed the missing package and was able to build another package.