Install Cryptographic Hardware Accelerators

Hi! :slight_smile:

I try to install Cryptographic Hardware Accelerators on my Archer C7 v2.

I have this error while compiling LEDE firmware image with the LEDE SDK:

vagrant@stretch:/mnt/disk2$ make -j1 V=s
[...]
make[3]: Entering directory '/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/feeds/packages/lang/ldbus'
rm -f /mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/ldbus-2017-10-03-f4a1464e/.built
touch /mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/ldbus-2017-10-03-f4a1464e/.built_check
cd /mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/ldbus-2017-10-03-f4a1464e && luarocks make --pack-binary-rock ldbus-scm-0.rockspec DBUS_INCDIR=/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ DBUS_ARCH_INCDIR=/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include DBUS_LIBDIR=/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib CC="ccache_cc" LD="ccache_cc"
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/ldbus.c -o src/ldbus.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/error.c -o src/error.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/bus.c -o src/bus.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/connection.c -o src/connection.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/message.c -o src/message.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/message_iter.c -o src/message_iter.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/pending_call.c -o src/pending_call.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/timeout.c -o src/timeout.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c src/watch.c -o src/watch.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -O2 -fPIC -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -c vendor/compat-5.3/c-api/compat-5.3.c -o vendor/compat-5.3/c-api/compat-5.3.o -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/dbus-1.0/ -I/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib/dbus-1.0/include -Ivendor/compat-5.3/c-api/
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -shared -o ldbus.so -L/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/hostpkg/lib src/ldbus.o src/error.o src/bus.o src/connection.o src/message.o src/message_iter.o src/pending_call.o src/timeout.o src/watch.o vendor/compat-5.3/c-api/compat-5.3.o -L/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib -Wl,-rpath,/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/lib: -ldbus-1
Updating manifest for /tmp/luarocks_luarocks-build-pack-ldbus-9747/lib/luarocks/rocks
No existing manifest. Attempting to rebuild...
ldbus scm-0 is now built and installed in /tmp/luarocks_luarocks-build-pack-ldbus-9747 (license: MIT/X11)

sh: 1: zip: not found

Error: Failed packing /mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/ldbus-2017-10-03-f4a1464e/ldbus-scm-0.linux-x86_64.rock
Makefile:63: recipe for target '/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/ldbus-2017-10-03-f4a1464e/.built' failed
make[3]: *** [/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/ldbus-2017-10-03-f4a1464e/.built] Error 1
make[3]: Leaving directory '/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/feeds/packages/lang/ldbus'
package/Makefile:106: recipe for target 'package/feeds/packages/ldbus/compile' failed
make[2]: *** [package/feeds/packages/ldbus/compile] Error 2
make[2]: Leaving directory '/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64'
package/Makefile:102: recipe for target '/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64'
/mnt/disk2/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64/include/toplevel.mk:209: recipe for target 'world' failed
make: *** [world] Error 2

I just select the packages kmod-cryptodev, libopenssl and libgnutls from: https://wiki.openwrt.org/doc/hardware/cryptographic.hardware.accelerators

Seems related to ldbus? Do you have idead?

Thanks :slight_smile:

Try with the source, not the SDK, and it works! :slight_smile:

Do you know which packages to I have to get to install crypto on my router?

vagrant@stretch:/mnt/disk2/openwrt$ ll bin/targets/ar71xx/generic/packages/
total 1.7M
drwxr-xr-x 2 vagrant vagrant 4.0K Feb 15 18:00 .
drwxr-xr-x 3 vagrant vagrant 4.0K Feb 15 18:00 ..
-rw-r--r-- 1 vagrant vagrant  62K Feb 15 17:49 base-files_173.1-r3560-79f57e422d_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  18K Feb 15 17:49 fstools_2017-06-30-bdcb075f-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 4.0K Feb 15 17:42 fwtool_1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 6.3K Feb 15 17:47 iwinfo_2016-09-21-fd9e17be-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  788 Feb 15 17:43 kernel_4.4.92-1-2b5c2989030a1bff8d824481bd45cff5_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 148K Feb 15 17:50 kmod-ath10k_4.4.92+2017-01-31-3_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  12K Feb 15 17:50 kmod-ath_4.4.92+2017-01-31-3_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  59K Feb 15 17:50 kmod-ath9k_4.4.92+2017-01-31-3_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 122K Feb 15 17:50 kmod-ath9k-common_4.4.92+2017-01-31-3_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 128K Feb 15 17:50 kmod-cfg80211_4.4.92+2017-01-31-3_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 4.0K Feb 15 17:43 kmod-crypto-aead_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 3.9K Feb 15 17:43 kmod-crypto-authenc_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  19K Feb 15 17:44 kmod-cryptodev_4.4.92+1.8-ar71xx-2_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 7.4K Feb 15 17:43 kmod-crypto-hash_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 3.0K Feb 15 17:43 kmod-crypto-manager_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 2.5K Feb 15 17:43 kmod-crypto-null_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  824 Feb 15 17:43 kmod-crypto-pcompress_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 6.1K Feb 15 17:38 kmod-gpio-button-hotplug_4.4.92-2_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 6.7K Feb 15 17:43 kmod-ip6tables_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 3.1K Feb 15 17:43 kmod-ipt-conntrack_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  16K Feb 15 17:43 kmod-ipt-core_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 3.7K Feb 15 17:43 kmod-ipt-nat_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 2.1K Feb 15 17:43 kmod-lib-crc-ccitt_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 236K Feb 15 17:50 kmod-mac80211_4.4.92+2017-01-31-3_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  36K Feb 15 17:43 kmod-nf-conntrack_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 9.5K Feb 15 17:43 kmod-nf-conntrack6_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  17K Feb 15 17:43 kmod-nf-ipt_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 9.8K Feb 15 17:43 kmod-nf-ipt6_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  12K Feb 15 17:43 kmod-nf-nat_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 3.7K Feb 15 17:43 kmod-nls-base_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  20K Feb 15 17:43 kmod-ppp_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 7.2K Feb 15 17:43 kmod-pppoe_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 2.3K Feb 15 17:43 kmod-pppox_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 4.1K Feb 15 17:43 kmod-slhc_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  25K Feb 15 17:43 kmod-usb2_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  76K Feb 15 17:43 kmod-usb-core_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 3.6K Feb 15 17:43 kmod-usb-ledtrig-usbport_4.4.92-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant 270K Feb 15 17:38 libc_1.1.16-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  35K Feb 15 17:38 libgcc_5.4.0-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  22K Feb 15 17:47 libiwinfo_2016-09-21-fd9e17be-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  873 Feb 15 17:38 libpthread_1.1.16-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  58K Feb 15 17:48 opkg_2017-03-23-1d0263bb-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  17K Feb 15 18:00 Packages
-rw-r--r-- 1 vagrant vagrant 4.8K Feb 15 18:00 Packages.gz
-rw-r--r-- 1 vagrant vagrant  19K Feb 15 18:00 Packages.manifest
-rw-r--r-- 1 vagrant vagrant  151 Feb 15 18:00 Packages.sig
-rw-r--r-- 1 vagrant vagrant  35K Feb 15 17:49 procd_2017-08-08-66be6a23-1_mips_24kc.ipk
-rw-r--r-- 1 vagrant vagrant  11K Feb 15 17:49 uboot-envtools_2015.10-1_mips_24kc.ipk

@vectra50470 refer to existing other thread

you will find some module dont exist anymore
also depends on what support your hardware offers

Thanks @markbirss.

My question is: once I compile with these settings:

kmod-crypto-core: m
    kmod-cryptodev: m
libopenssl: m
    Crypto acceleration support: y
libgnutls: m
    enable /dev/crypto support: y

What have I to do to enable crypto acceleration on my router? Just flash lede-ar71xx-generic-archer-c7-v2-squashfs-factory.bin ?

@vectra50470 yes

you will need to perform a sysupgrade and also make available your own ipkg files you compiled

im my case the current repo build locations did not have all the ipkg files i needed for my device ie kirkwood pogo e02 and pogo series 4 mobile (they have hardware crypto)

I installed via tftp my new compiled image

i compiled everything and put them on a web server and updated /etc/opkg/distfeeds.conf file to point to my own web server

or you could point to a local folder in the distfeeds.conf file

1 Like

Thanks!

If I understand correctly:

  1. Build custom firmware image with these instructions: https://wiki.openwrt.org/doc/hardware/cryptographic.hardware.accelerators
  2. Update/Reinstall LEDE: sysupgrade -vn lede-ar71xx-generic-archer-c7-v2-squashfs-factory.bin
  3. Scp generated *.ipk files to the router, place them in a folder path/to/packagesDirectory
  4. Update /etc/opkg/distfeeds.conf with:
    src/gz local file:///path/to/packagesDirectory
  5. And then...? opkg update or opkg install something?

Oh, I have packages in bin/targets/ar71xx/generic/packages/ and bin/packages/mips_24kc/base/, which one I have to choose? Or maybe both?

yes @vectra50470

then step 5
opkg install those stuff mentioned on the other page

both folders as they are with the sub folders

you will see if you have them in correct folder as you do

opkg update && opkg install cryptsetup-openssl

1 Like

LEDE try to get the package from reboot_packages feed, not from my custom packages feed:

root@LEDE:~# opkg install cryptsetup-openssl
Installing cryptsetup-openssl (1.7.2-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/cryptsetup-openssl_1.7.2-1_mips_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for cryptsetup-openssl:
 *      kernel (= 4.4.92-1-45d282495a15974d60f8edb091d0e2a9) *
 * opkg_install_cmd: Cannot install package cryptsetup-openssl.

opkg update:

root@LEDE:~# opkg update
Downloading file:///root/bin/targets/ar71xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/core
Downloading file:///root/bin/targets/ar71xx/generic/packages/Packages.sig
Signature check passed.
Downloading file:///root/bin/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/base
Downloading file:///root/bin/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading file:///root/bin/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/packages
Downloading file:///root/bin/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading file:///root/bin/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/luci
Downloading file:///root/bin/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading file:///root/bin/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/routing
Downloading file:///root/bin/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading file:///root/bin/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/telephony
Downloading file:///root/bin/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_core
Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_luci
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_packages
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_routing
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_telephony
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/telephony/Packages.sig
Signature check passed.

Try to put custom feeds at the end of /etc/opkg/distfeeds.conf or /etc/opkg/customfeeds.conf, same result.

root@LEDE:~# cat /etc/opkg/customfeeds.conf
# add your custom package feeds here
#
# src/gz example_feed_name http://www.example.com/path/to/files
src/gz core file:///root/bin/targets/ar71xx/generic/packages
src/gz base file:///root/bin/packages/mips_24kc/base
src/gz packages file:///root/bin/packages/mips_24kc/packages
src/gz luci file:///root/bin/packages/mips_24kc/luci
src/gz routing file:///root/bin/packages/mips_24kc/routing
src/gz telephony file:///root/bin/packages/mips_24kc/telephony

Hum... There is no cryptsetup-openssl in my custom feeds...

you need to remove the references to any other feeds.

I built all packages

Strange because it demands kernel (= 4.4.92-1-45d282495a15974d60f8edb091d0e2a9) when in my bin\targets\ar71xx\generic\packages, there is kernel_4.4.92-1-2b5c2989030a1bff8d824481bd45cff5_mips_24kc.ipk.

Maybe I do not need cryptsetup, I just want to increase OpenVPN performance.

I am not aware that this router has an hardware crypto engine

Apparently no :smile:

Thanks for all @markbirss, maybe this topic will help someone :wink: