termux-packages
termux-packages copied to clipboard
[Bug]: wpa_supplicant
Problem description
wpa_supplicant not working as expected.
I am running
sudo wpa_supplicant -i wlan0 -c ./wpa.conf
But get something like this
Successfully initialized wpa_supplicant
nl80211: kernel reports: Authentication algorithm number required
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
...........
...........
I have root
What steps will reproduce the bug?
Create wpa.conf using
wpa_passphrase essidname password > wpa.conf
network={
ssid="essidname"
#psk="12345678"
psk=532c4716b258a04164ea62f1518afd924c19c74676afd1a3983a4ada9dd70197
}
After this
sudo wpa_supplicant -i wlan0 -c ./wpa.conf
What is the expected behavior?
I want to receive a message about successful or unsuccessful connection. I assume that all this depends in particular on the device, so this problem may not be for everyone.
System information
termux-info:
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=23425
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.leitecastro.com/termux/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://mirror.leitecastro.com/termux/termux-root root stable
Updatable packages:
libxcb/stable 1.17.0 aarch64 [upgradable from: 1.16.1]
termux-tools version:
1.42.0
Android version:
14
Kernel build information:
Linux localhost 5.10.168-android12-9-00001-g81e7418c6466-ab10486262 #1 SMP PREEMPT Wed Jul 12 13:56:37 UTC 2023 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
22071219CG
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.styling versionCode:31