Start a minimal topology and enter the CLI:
sudo apt-get install linux-image-extra-`uname -r`
It’s trivial to control Mininet-WiFi nodes from the CLI or from within a Python script running locally, but what if you want some other process or even another computer on your LAN to be able to control your Mininet network remotely?
Well, there are lots of ways to do this. One idea is that anything you can do in Python, you can do in Mininet-WiFi, and it’s often very easy to do so. For example, there are all sorts of frameworks available for any kind of messaging you can imagine.
Another easy way to control Mininet-WiFi nodes is to use the util/m script. For example:
~/mininet-wifi$ util/m sta1 ifconfig
Another way is by using sockets. See https://mininet-wifi.github.io/part4
You have to set band=2.4 or band=5 when you add an AP. For example:
Yes. When you add a link between station and ap you have to add cls=TCLink, for example:
from mininet.link import TCLink .. .. net.addLink(sta1, ap1, cls=TCLink)
First of all we invite you to read https://github.com/mininet/mininet/wiki/FAQ#assign-macs. However, If you really want stations to ping APs, you may want to set IP address to the wireless network interface and (a) if OVSAP: set datapath=’user’ when you add the AP; or (b) use UserAP with BOFUSS and set inNamespace=True when you add the AP.
sudo rm -rf /usr/local/bin/mn /usr/local/bin/mnexec /usr/local/lib/python*/*/*mininet* /usr/local/bin/ovs- * /usr/local/sbin/ovs-*