DINKIN / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

bandwidth plots and throughput widget broken in CORE 4.7 #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The bandwidth plots and throughput widget do not work correctly in CORE 4.7.

SVN r553 changed the device names from e.g. "n3.0.447" to "veth3.0.447", but 
the device names used by the GUI to read /proc/net/dev were not updated.

Original issue reported on code.google.com by ahrenh...@gmail.com on 6 Aug 2014 at 5:50

GoogleCodeExporter commented 8 years ago
fixed in r569

to fix a CORE 4.7 installation, use this one-line fix:

sudo sed -i 's/set ifname "n\$node_num\\\\.\$ifname/set ifname 
"veth\$node_num\\\\.[string range \$ifname 3 end]/' /usr/lib/core/widget.tcl

Original comment by ahrenh...@gmail.com on 6 Aug 2014 at 6:25

GoogleCodeExporter commented 8 years ago
Did this change break throughput between link layer nodes? see issue 273

Original comment by shasenbo...@gmail.com on 12 Feb 2015 at 2:50