Error when running mesh.py

8 views
Skip to first unread message

Huy Đỗ Quang

unread,
Nov 17, 2025, 1:42:20 PMNov 17
to mininet-wifi-discuss

Hi all, I am facing a wmediumd socket problem running Mininet-WiFi on Ubuntu 22.04 inside VirtualBox. Any help?

  • Running sudo python3 mn_wifi/examples/mesh.py fails at startup with:

    *** Connecting to wmediumd server /var/run/wmediumd.sock FileNotFoundError: [Errno 2] No such file or directory
  • which wmediumd → /usr/bin/wmediumd

  • ps aux | grep wmediumd → no running process, no socket file:

    ls -l /var/run/wmediumd* -> No such file or directory

What I tried

  • Ran sudo util/install.sh -l from the mn-wifi repo (it compiled and installed wmediumd to /usr/bin).

  • Observed that mn-wifi attempts to connect to /var/run/wmediumd.sock but no socket is created because wmediumd is not started in server mode.

I have following questions

  1. Should Mininet-WiFi itself spawn wmediumd -s -c <cfg> automatically? If so, why would it not start it after a fresh install?

  2. Anything specific to VirtualBox guests I should check (permissions, SELinux/AppArmor, mac80211_hwsim)? I did not see any wmediumd logs — it just exits when started without -s.

Thanks in advance.

Ramon Fontes

unread,
Nov 17, 2025, 1:47:01 PMNov 17
to Huy Đỗ Quang, mininet-wifi-discuss
Hi,

This is an issue I have never encountered before. At the moment, it is
difficult to determine exactly what is happening. Under a clean system
with a standard Ubuntu installation, everything should operate
normally.

Em seg., 17 de nov. de 2025 às 15:42, Huy Đỗ Quang
<hero...@gmail.com> escreveu:
> --
> 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/adc977b5-3c0a-4f11-a4a1-ff15c8f34e37n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages