Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanitefactory/wifi-direct-on-linux
A Python module for setting up a Wifi-Direct (Wifi P2P) connection.
https://github.com/nanitefactory/wifi-direct-on-linux
fedora linux ubuntu wifi-direct
Last synced: about 1 month ago
JSON representation
A Python module for setting up a Wifi-Direct (Wifi P2P) connection.
- Host: GitHub
- URL: https://github.com/nanitefactory/wifi-direct-on-linux
- Owner: NaniteFactory
- License: unlicense
- Created: 2017-11-12T17:42:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T14:54:46.000Z (over 6 years ago)
- Last Synced: 2023-03-11T04:19:25.277Z (almost 2 years ago)
- Topics: fedora, linux, ubuntu, wifi-direct
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 51
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
* * *
# 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* * *