Hello,
I'm quite new to the OpenWRT world (while quite familiar with Debian)
I would like to connect two OpenWRT-powered boxes to a Unifi 7.2.95 WPA2 Entreprise.
My WPA2 Entreprise Wifi relies on PEAP/MSCHAPV2.
The two boxes are a TL-WR902AC v3 and Netgear EX6130.
I installed 22.03.2 on both devices.
Playing with LUCi, I can't see 802.1x specific options like identity/password or auth.
Among installed packages is wpad-basic-wolfssl.
I'm OK to configure the devices with either LUCi or CLI.
Do I need to replace current wpad-basic-wolfssl with wpad (as I read it) to be able to connect as a WPA2 Entreprise client ?
How should I understand the error bellow knowing that:
the device on which I ran these two commands only has a single Ethernet port and a WiFi interface
the WiFi interface is the one it used to connect to the Internet
this WiFi interface was connected as a client to a WPA2 PSK SSID, so maybe installing wpad-wolfssl temporarily broke this WiFi connection.
root@OpenWrt:/etc/config# opkg remove wpad-basic-wolfssl
Removing package wpad-basic-wolfssl from root...
root@OpenWrt:/etc/config# opkg install wpad-wolfssl
Installing wpad-wolfssl (2022-01-16-cff80b4f-14.1) to root...
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/base/wpad-wolfssl_2022-01-16-cff80b4f-14.1_mipsel_24kc.ipk
Upgrading hostapd-common on root from 2022-01-16-cff80b4f-13.1 to 2022-01-16-cff80b4f-14.1...
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/base/hostapd-common_2022-01-16-cff80b4f-14.1_mipsel_24kc.ipk
Installing libwolfssl5.5.3.ee39414e (5.5.3-stable-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/base/libwolfssl5.5.3.ee39414e_5.5.3-stable-1_mipsel_24kc.ipk
Failed to send request: Operation not permitted
Configuring hostapd-common.
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/base/libwolfssl5.5.3.ee39414e_5.5.3-stable-1_mipsel_24kc.ipk, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_install_pkg: Failed to download libwolfssl5.5.3.ee39414e. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package wpad-wolfssl.
Those setting will be made available once the full wpad is installed.
I would install attendedsysupgrade then run auc to bring libwolfssl up to 5.5.3 before starting. Then remove wpad-basic, install wpad-wolfssl, and run auc -f again to cram the full wpad into the ROM. This is important on 8 MB flash you don't really have space for two versions of libwolfssl and two variants of wpad in the flash.
Today, I successfully implemented my above action plan: I've got a Netgear EX6130 acting as a repeater with a 2.4GHZ uplink to a 802.1X,PEAP/ MSCHAPv2 network and a GHZ downlink to a WPA2 PSK network.
Disk is almost full (80 %) but it works.