Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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

* * *