Git Product home page Git Product logo

wpa_supplicant_android's Introduction

Wpa_supplicant_android

Hack for start other istance of wpa_supplicant daemon

Why?

because you can start other wpa_supplicant istance with your options and/or with your compiled wpa_supplicant. I used it for some experiment for WIFI WPS WPA TESTER.

How?

!! I'm not responsible about any problems after this little hack !! I tested it with Oneplus 3.

-killall wpa_supplicant

#killall wpa_supplicant

-change /data/misc/wifi/wpa_supplicant.conf

from

        ctrl_interface=/data/misc/wifi/sockets
        
to

        ctrl_interface=DIR=/data/misc/wifi/sockets GROUP=wifi

-remount /system to read/write

#mount -o remount,rw /system

-change name of /system/bin/wpa_supplicant to /system/bin/wpa_supplicant2 ('cause android restart connection after kill)

#mv /system/bin/wpa_supplicant /system/bin/wpa_supplicant2

-start daemon

#wpa_supplicant2 -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -ddddddddddddddddd

-start wpa_cli with global ctrl_interface

 #wpa_cli -g/data/misc/wifi/sockets/wlan0

-enable wlan0

 #ifconfig wlan0 up

END. You can connect with wpa_cli

For remove changes and restart all functionatilities of Android Wi-Fi:

-change /data/misc/wifi/wpa_supplicant.conf

from

        ctrl_interface=/data/misc/wifi/sockets  GROUP=wifi
        
to

        ctrl_interface=DIR=/data/misc/wifi/sockets

-rename wpa_supplicant

mv /system/bin/wpa_supplicant2 /system/bin/wpa_supplicant

reboot device

wpa_supplicant_android's People

Contributors

fulvius31 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.