Run the following:
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-*
If you define the signal range for a node you can get the following message:
WARNING: The signal range for sta1-wlan0 should be changed to 35
This message means that you have defined a signal range that is not supported by the propagation model you are using. To fix this you have to either modify the parameters supported by the propagation model in order to support smaller signal ranges (e.g. exponent and system loss) or define the minimum supported by the propagation model. According to the message displayed above, if you define a signal level less than 35, this will be useful only for visualization purposes, as it will actually be transmitting up to 35m.