Cannot install wpad-openssl or wpad-wolfssl

I want to be able to connect to 802.1x network.
Did some research and found out that i need wpad-full. I listed all available opkg packages, and found out that i can either use wpad-wolfssl or wpad-openssl. They support 802.1x PEAP.

But if i type opkg update then opkg install wpad-wolfssl or opkg install wpad-openssl.
i get the following:

Installing wpad-openssl (2020-06-08-5a8b3662-40) to root...
Collected errors:
 * check_conflicts_for: The following packages conflict with wpad-openssl:
 * check_conflicts_for:         wpad-basic-wolfssl *
 * opkg_install_cmd: Cannot install package wpad-openssl.

by conflicts, i assume i have to remove wpad-basic-wolfssl?
if i do opkg remove wpad-basic-wolfssl, i loose internet connect and i can't do anything afterwards.

any suggestions?

BTW, i am using raspberry pi 3 model B.

Alternative 1)
First download the needed wpad-openssl .ipk file to the router's /tmp, then remove old wpad, then opkg install the new wpad from .ipk

Alternative 2)
use opkg options to overwrite the files from the old wpad.

--force-overwrite
Overwrite files from other package(s)

(Possibly --force-depends instead.)

1 Like

Will give it a try

I tried it.

when i ran opkg install /tmp/wpad-openssl_2022-01-16-cff80b4f-5_aarch64_cortex-a53.ipk
i get the following:

opkg install /tmp/wpad-openssl_2022-01-16-cff80b4f-5_aarch64_cor
tex-a53.ipk
Installing wpad-openssl (2020-06-08-5a8b3662-40) to root...
Downloading https://downloads.openwrt.org/releases/21.02.2/packages/aarch64_cortex-a53/base/wpad-openssl_2020-06-08-5a8b3662-40_aarch64_cortex-a53.ipk
Installing libopenssl1.1 (1.1.1n-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.2/packages/aarch64_cortex-a53/base/libopenssl1.1_1.1.1n-1_aarch64_cortex-a53.ipk
Configuring libopenssl1.1.
Configuring wpad-openssl.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency hostapd-common (= 2022-01-16-cff80b4f-5) for wpad-openssl
 * pkg_hash_check_unresolved: cannot find dependency libubus20220228 for wpad-openssl

And opkg info wpad-openssl

root@OpenWrt:/# opkg info wpad-openssl
Package: wpad-openssl
Version: 2020-06-08-5a8b3662-40
Depends: libc, libnl-tiny1, hostapd-common, libubus20210630, libopenssl1.1
Provides: hostapd, wpa-supplicant
Conflicts: hostapd, hostapd-basic, hostapd-basic-openssl, hostapd-basic-wolfssl, hostapd-mini, hostapd-openssl, hostapd-wolfssl, wpad, wpad-mesh-openssl, wpad-mesh-wolfssl, wpad-basic, wpad-basic-openssl, wpad-basic-wolfssl, wpad-mini, wpad, wpad-mesh-openssl, wpad-mesh-wolfssl, wpad-basic, wpad-basic-openssl, wpad-basic-wolfssl, wpad-mini
Status: install user installed
Section: net
Architecture: aarch64_cortex-a53
Size: 669228
Filename: wpad-openssl_2020-06-08-5a8b3662-40_aarch64_cortex-a53.ipk
Description: This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS
 Authenticator and Supplicant
Installed-Time: 1647710349

Package: wpad-openssl
Version: 2022-01-16-cff80b4f-5
Depends: hostapd-common (= 2022-01-16-cff80b4f-5), libc, libnl-tiny1, hostapd-common, libubus20220228, libopenssl1.1
Provides: hostapd, wpa-supplicant
Conflicts: hostapd, hostapd-basic, hostapd-basic-openssl, hostapd-basic-wolfssl, hostapd-mini, hostapd-openssl, hostapd-wolfssl, wpad, wpad-mesh-openssl, wpad-mesh-wolfssl, wpad-basic, wpad-basic-openssl, wpad-basic-wolfssl, wpad-mini, wpad, wpad-mesh-openssl, wpad-mesh-wolfssl, wpad-basic, wpad-basic-openssl, wpad-basic-wolfssl, wpad-mini
Status: install prefer not-installed
Architecture: aarch64_cortex-a53

Not sure if it worked!

Sounds like you downloaded a wrong file. That is from master, not 21.02. (your automatic dependency downloads are from 21.02.2, so I assume that you use it.)

The 21.02 version is in
https://downloads.openwrt.org/releases/21.02.2/packages/aarch64_cortex-a53/base/

wpad-openssl_2020-06-08-5a8b3662-40_aarch64_cortex-a53.ipk

yup. You were right.
Thank you!

So technically, I should be able to connect to University wifi using my username and pass, no?

It may depend on their settings, if e.g. the client devices need a certificate or something.

No idea about your university's requirements...

when I try to connect to the wifi, I have to use my credentials (username and pass). Since it's a Student only wifi.
unfortunately, it's the weekend, so I can't really test it. But I was able to install openssl.

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