Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wpa_supplicant #7

Open
stan2100 opened this issue Jun 7, 2018 · 1 comment
Open

wpa_supplicant #7

stan2100 opened this issue Jun 7, 2018 · 1 comment

Comments

@stan2100
Copy link

stan2100 commented Jun 7, 2018

Hi,
I manually created the file /system/bin/wpa_supplicant (according to the file in script on github). And I renamed the original file to wpa_supplicant_real. I chmod /system/bin/wpa_supplicant 0755 and I tried root:shell and +x this file. I have not installed the app for this test. When I run wpa_supplicant (in adb shell), it says: file not found, and I cannot start wifi. My device runs Samsung stock rom 6.01. Can anyone tell me how I can reroute the request properly to /system/bin/wpa_supplicant_real?

@jesusjuicer
Copy link

jesusjuicer commented Sep 26, 2018

hi stan,

You have to check first where your busy box binary is installed on your device and edit the script file for wpa_supplicant provided here in the script folder accordingly.
Once you've edited it to point to where busy box is installed on your device (if you've needed to), you have to then create a file called "mac" in your /dev folder.
The wpa_supplicant script file provided here is written to communicate with the /dev/mac file before it communicates with wpa_supplicant_real, so it is absolutely nesessary to create that file and place it in /dev, otherwise your WiFi won't start, as you have already mentioned.
So here's a summary of what you need to do - first, edit the wpa_supplicant script provided here in scripts to point to where your busy box is installed.
Second, create a file called mac and place it in /dev.
Third, install the app and check the button there at the bottom of the screen.
If it reads, "uninstall changes", you're good to go and all of this should work as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants