wpa_supplicant: inaccessible or not found in android 12

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

wpa_supplicant: inaccessible or not found in android 12

3,349 Views
diwakar2599
Contributor II

For Bring up the wlan0 interface and then start the wpa_supplicant daemon in the background

 

127|mek_8q:/system/bin # ip link set wlan0 up

127|mek_8q:/system/bin #wpa_supplicant -B -i wlan0 -c /data/misc/wifi/wpa_supplicant/wpa_supplicant.conf

/system/bin/sh: wpa_supplicant: inaccessible or not found

 

This the error I am facing pls help me out to solve this issue

 

 

0 Kudos
Reply
3 Replies

3,312 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe you're using the incorrect path for wpa_supplicant.conf
/vendor/bin/hw/wpa_supplicant

Please try with the one above and let us know of the results.

Best regards,
Aldo.

0 Kudos
Reply

3,298 Views
diwakar2599
Contributor II
Hi @AldoG

I have tried with this
mek_8q:/vendor/bin/hw #wpa_supplicant -B -i wlan0 -c /data/misc/wifi/wpa_supplicant/wpa_supplicant.conf
/system/bin/sh: wpa_supplicant: inaccessible or not found





0 Kudos
Reply

3,293 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I meant that, the path you're selecting for the configuration file is not correct, your command should look something like this:
wpa_supplicant -B -i wlan0 -c /vendor/bin/hw/wpa_supplicant/wpa_supplicant.conf

Best regards,
Aldo.

0 Kudos
Reply