Skip to content

A Python module for setting up a Wifi-Direct (Wifi P2P) connection.

License

Notifications You must be signed in to change notification settings

NaniteFactory/Wifi-Direct-on-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation


wifid

Set up a Wi-Fi Direct connection on Linux

WiFi Direct on Linux

So I tried to connect two devices using Wifi-Direct.

One was a PC with Linux, and the other was an Android smartphone.

I wanted Linux as a GO and Android as a client.

In order to set up Wifi-Direct connection, I made a Python script to start wpa_supplicant and wpa_cli with p2p options.

And this is what worked for me in Linux.

wifid.py

It provides 3 functions:

  • setup_conf_files()
  • start_as_go_fedora()
  • start_as_go_ubuntu()

which are to enable P2P device connectivity and become an autonomous GO, as the name suggests.

ref

http://processors.wiki.ti.com/index.php/WiFi_Direct_Configuration_Scripts http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_WiFi_Direct_Configuration_Scripts https://www.freebsd.org/cgi/man.cgi?wpa_cli


About

A Python module for setting up a Wifi-Direct (Wifi P2P) connection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages