Wi-Fi Direct stations never discover each other

33 views
Skip to first unread message

Huy Đỗ Quang

unread,
Jul 4, 2025, 7:24:32 AMJul 4
to mininet-wifi-discuss
Hi everyone, I’m trying to build a pure Wi-Fi Direct  scenario in Mininet-WiFi (Python 3.8, mininet-wifi==2.6, Ubuntu 20.04). Even with two stations placed only a few metres apart, they never discover each other and ICMP fails.
Here's the log:
```
sudo python mn_wifi/examples/wifiDirect.py
*** Creating nodes
*** Configuring Propagation Model
*** Configuring nodes
*** Starting WiFi Direct
*** Starting network
*** Connecting to wmediumd server /var/run/wmediumd.sock
*** Running CLI
*** Starting CLI:
mininet-wifi> sta1 ping -c 1 sta2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable

--- 10.0.0.2 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
```

Ramon Fontes

unread,
Jul 4, 2025, 7:36:38 AMJul 4
to Huy Đỗ Quang, mininet-wifi-discuss
Is the network manager running?

--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/1d3bf920-ae0d-4913-a195-42cd891c3b8bn%40googlegroups.com.

Huy Đỗ Quang

unread,
Jul 4, 2025, 9:33:58 AMJul 4
to mininet-wifi-discuss
I have tried to stop network manager with sudo systemctl stop NetworkManager but stations still cannot reach each other.
Is the command enough to stop network manager?

Vào lúc 13:36:38 UTC+2 ngày Thứ Sáu, 4 tháng 7, 2025, ramonre...@gmail.com đã viết:

Ramon Fontes

unread,
Jul 5, 2025, 9:05:34 AMJul 5
to Huy Đỗ Quang, mininet-wifi-discuss
I just updated wifi direct with this patch:
https://github.com/intrig-unicamp/mininet-wifi/commit/a6c09958abb96de7411527094c42f8464154ba68

For some unknown reason, wpa_supplicant throws an exception when using
p2p_connect auth. This is likely a bug or unexpected behavior in the
implementation.
> To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/c0e3eff5-6dee-4c4e-87cb-a3c4a78b188bn%40googlegroups.com.

Huy Đỗ Quang

unread,
Jul 8, 2025, 9:22:09 AMJul 8
to mininet-wifi-discuss
It works well now 

Thanks a lot

Vào lúc 15:05:34 UTC+2 ngày Thứ Bảy, 5 tháng 7, 2025, ramonre...@gmail.com đã viết:
Reply all
Reply to author
Forward
0 new messages