wpa_supplicant: inaccessible or not found in android 12

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

wpa_supplicant: inaccessible or not found in android 12

2,050 次查看
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 项奖励
回复
3 回复数

2,013 次查看
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 项奖励
回复

1,999 次查看
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 项奖励
回复

1,994 次查看
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 项奖励
回复