Mininet-Wifi setup.

$ git clone
$ cd mininet-wifi && sudo util/ -Wlnfv

# in case locales error (pip)
$ export LC_ALL="en_US.UTF-8" && export LC_CTYPE="en_US.UTF-8"
$ sudo dpkg-reconfigure locales

# in case
$ sudo apt install wireshark xterm

# default creds

# in case
$ sudo systemctl stop network-manager
$ sudo service network-manager stop

# in case
$ sudo nano ~/.profile
$ sudo mn --wifi
$ sudo mn --wifi --ssid=new_ssid --mode=g --channel=1
$ sudo mn --wifi --position --wmediumd --plot
$ sudo mn --wifi --test pingall --topo single,5
$ sudo mn --wifi --test pingall --topo linear,5

$ sudo wireshark &

Please shut down the controller which is running on port 6653:
Active Internet connections (servers and established)
tcp        0      0  *               LISTEN      1185/ovs-testcontro
tcp        0      0          TIME_WAIT   -         Would you like to shut down the controller right now? (y/n)

mininet-wifi> sh ifconfig hwsim0 up
mininet-wifi> sta 1 ping sta2