*** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
16
0*** Setting resource limits
*** Adding stations:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ip', 'addr']
/usr/sbin/ip
1_popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta1'] 32996*** sta1 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta1 _popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta2'] 32998*** sta2 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta2
*** Adding access points:
*** errRun: ['which', 'ovs-vsctl']
/usr/bin/ovs-vsctl
0*** errRun: ['ovs-vsctl', '-t', '1', 'show']
58a72e67-c7a3-45fb-a7b2-779cbd3675f9
ovs_version: "2.13.3"
0*** errRun: ['ovs-vsctl', '--version']
ovs-vsctl (Open vSwitch) 2.13.3
DB Schema 8.2.0
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:ap1'] 33003*** ap1 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
added intf lo (0) to node ap1
*** ap1 : ('ifconfig', 'lo', 'up')
ap1
*** Configuring wifi nodes...
Loading 3 virtual wifi interfaces
Created mac80211_hwsim device with ID 0
Created mac80211_hwsim device with ID 1
Created mac80211_hwsim device with ID 2
rfkill unblock 37
*** sta1 : ('ip link set wlan0 down',)
*** sta1 : ('ip link set wlan0 name sta1-wlan0',)
rfkill unblock 38
*** sta2 : ('ip link set wlan1 down',)
*** sta2 : ('ip link set wlan1 name sta2-wlan0',)
*** ap1 : ('ip link set wlan2 down',)
*** ap1 : ('ip link set wlan2 name ap1-wlan1',)
*** ap1 : ('ip link set ap1-wlan1 up',)
added intf sta1-wlan0 (0) to node sta1
getting mac address from sta1-wlan0
_popen ['mnexec', '-da', '32996', 'ip', 'addr', 'show', 'sta1-wlan0'] 33117
02:00:00:00:00:00*** sta1 : ('ip addr flush ', 'sta1-wlan0')
*** sta1 : ('ip addr add
10.0.0.1/8 brd + dev sta1-wlan0 && ip -6 addr add 2001:0:0:0:0:0:0:1/64 dev sta1-wlan0',)
*** sta1 : ('ip -6 addr flush ', 'sta1-wlan0')
*** sta1 : ('ip -6 addr add', '2001:0:0:0:0:0:0:1/64', 'dev', 'sta1-wlan0')
*** sta1 : ('ip link set lo up',)
added intf sta2-wlan0 (0) to node sta2
getting mac address from sta2-wlan0
_popen ['mnexec', '-da', '32998', 'ip', 'addr', 'show', 'sta2-wlan0'] 33131
02:00:00:00:01:00*** sta2 : ('ip addr flush ', 'sta2-wlan0')
*** sta2 : ('ip addr add
10.0.0.2/8 brd + dev sta2-wlan0 && ip -6 addr add 2001:0:0:0:0:0:0:2/64 dev sta2-wlan0',)
*** sta2 : ('ip -6 addr flush ', 'sta2-wlan0')
*** sta2 : ('ip -6 addr add', '2001:0:0:0:0:0:0:2/64', 'dev', 'sta2-wlan0')
*** sta2 : ('ip link set lo up',)
added intf ap1-wlan1 (1) to node ap1
*** ap1 : ('ip link set', 'ap1-wlan1', 'up')
*** ap1 : ('ethtool -K', <WirelessLink ap1-wlan1>, 'gro', 'off')
getting mac address from ap1-wlan1
_popen ['mnexec', '-da', '33003', 'ip', 'addr', 'show', 'ap1-wlan1'] 33140
02:00:00:00:02:00*** ap1 : ('ip link set', 'ap1-wlan1', 'down')
*** ap1 : ('ip link set', 'ap1-wlan1', 'address', '02:00:00:00:02:00')
*** ap1 : ('ip link set', 'ap1-wlan1', 'up')
*** ap1 : ("echo 'interface=ap1-wlan1\ndriver=nl80211\nssid=my-ssid\nwds_sta=1\nhw_mode=g\nchannel=1\nctrl_interface=/var/run/hostapd\nctrl_interface_group=0' > mn32973_ap1-wlan1.apconf",)
> > > > > > > *** ap1 : ('hostapd -B mn32973_ap1-wlan1.apconf ',)
ap1-wlan1: interface state UNINITIALIZED->ENABLED
ap1-wlan1: AP-ENABLED
*** ap1 : ('ip link set', 'ap1-wlan1', 'down')
*** ap1 : ('ip link set', 'ap1-wlan1', 'address', '02:00:00:00:02:00')
*** ap1 : ('ip link set', 'ap1-wlan1', 'up')
_popen ['mnexec', '-da', '33003', 'tc', 'qdisc', 'replace', 'dev', 'ap1-wlan1', 'root', 'handle', '2:', 'netem', 'rate', '54.0000mbit', 'latency', '1.00ms'] 33153*** ap1 : ('tc qdisc add dev ap1-wlan1 parent 2:1 handle 10: pfifo limit 1000',)
*** sta1 : ('iw dev', 'sta1-wlan0 set txpower fixed 1400')
*** sta2 : ('iw dev', 'sta2-wlan0 set txpower fixed 1400')
*** ap1 : ('iw dev', 'ap1-wlan1 set txpower fixed 1400')
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/usr/sbin/ifconfig
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:c0'] 33160*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A 127.0.0.1 6653',)
Telnet escape character is 'A'.
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** Adding switches:
*** Adding links:
added intf sta1-wlan0 (0) to node sta1
*** sta1 : ('ip link set', 'sta1-wlan0', 'up')
*** sta1 : ('ethtool -K', <WirelessLink sta1-wlan0>, 'gro', 'off')
*** executing command: tc qdisc show dev sta1-wlan0
*** sta1 : ('tc qdisc show dev sta1-wlan0',)
qdisc mq 0: root
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
at map stage w/cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
*** executing command: tc qdisc add dev sta1-wlan0 root handle 5:0 htb default 1
*** sta1 : ('tc qdisc add dev sta1-wlan0 root handle 5:0 htb default 1',)
*** executing command: tc class add dev sta1-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k
*** sta1 : ('tc class add dev sta1-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k',)
cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
outputs: ['', '']
_popen ['mnexec', '-da', '32996', 'iwconfig', 'sta1-wlan0', 'essid', 'my-ssid', 'ap', '02:00:00:00:02:00'] 33170(sta1, ap1)
added intf sta2-wlan0 (0) to node sta2
*** sta2 : ('ip link set', 'sta2-wlan0', 'up')
*** sta2 : ('ethtool -K', <WirelessLink sta2-wlan0>, 'gro', 'off')
*** executing command: tc qdisc show dev sta2-wlan0
*** sta2 : ('tc qdisc show dev sta2-wlan0',)
qdisc mq 0: root
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
at map stage w/cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
*** executing command: tc qdisc add dev sta2-wlan0 root handle 5:0 htb default 1
*** sta2 : ('tc qdisc add dev sta2-wlan0 root handle 5:0 htb default 1',)
*** executing command: tc class add dev sta2-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k
*** sta2 : ('tc class add dev sta2-wlan0 parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k',)
cmds: ['%s qdisc add dev %s root handle 5:0 htb default 1', '%s class add dev %s parent 5:0 classid 5:1 htb rate 11.000000Mbit burst 15k']
outputs: ['', '']
_popen ['mnexec', '-da', '32998', 'iwconfig', 'sta2-wlan0', 'essid', 'my-ssid', 'ap', '02:00:00:00:02:00'] 33176(sta2, ap1)
*** Configuring nodes
added intf sta1-wlan0 (0) to node sta1
*** sta1 : ('ip link set', 'sta1-wlan0', 'up')
*** sta1 : ('ethtool -K', <WirelessLink sta1-wlan0>, 'gro', 'off')
added intf sta2-wlan0 (0) to node sta2
*** sta2 : ('ip link set', 'sta2-wlan0', 'up')
*** sta2 : ('ethtool -K', <WirelessLink sta2-wlan0>, 'gro', 'off')
*** Starting controller(s)
c0 *** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** c0 : ('controller ptcp:6653 1>/tmp/c0.log 2>/tmp/c0.log &',)
[1] 33182
*** Starting L2 nodes
ap1 ...*** errRun: ovs-vsctl -- --id=@ap1c0 create Controller target=\"tcp:
127.0.0.1:6653\" max_backoff=1000 -- --id=@ap1-listen create Controller target=\"ptcp:6634\" max_backoff=1000 -- --if-exists del-br ap1 -- add-br ap1 -- set bridge ap1 controller=[@ap1c0,@ap1-listen] other_config:datapath-id=1000000000000001 fail_mode=secure other-config:disable-in-band=true other-config:dp-desc=ap1 -- add-port ap1 ap1-wlan1 -- set Interface ap1-wlan1 ofport_request=1
afee6790-283d-4146-a4cd-dc49727361d2
ffcf0623-ed01-47e4-92e4-225a95529df2
0
*** Starting CLI:
*** errRun: ['stty', 'echo', 'sane', 'intr', '^C']
0mininet-wifi>