Ich hab mal nach der p2p_hostapd.conf gesucht und dadurch dieses repo gefunden: https://github.com/wklaebe/pyracast
Leider null doku außer "a miracast sink" aber da MiraCast eben auch Wifi Direct verwendet, könnte man wohl teile recyceln.
WPA Supplicant hat auch noch infos: https://w1.fi/wpa_supplicant/devel/p2p.html
Und noch eine Anleitung: https://nims11.wordpress.com/2012/04/27 ... ess-point/
Muss ich mal testen ob das tut. Im grunde würde mir ja sogar ein kleines script reichen das man anwirft um Dateien zu empfangen bzw zu senden.
Eigentlich interessant, dass Wifidirect einen DHCP Server braucht. Wozu genau sind nochmal die 169er adressen erfunden worden?
Achso ja, der RFC3927 beantwortet die Frage:
For example, two people with laptop computers supporting IEEE
802.11 Wireless LANs [802.11] may meet and wish to exchange files.
It is desirable for these people to be able to use IP application
software without the inconvenience of having to manually configure
static IP addresses or set up a DHCP server [RFC2131].