The network analysis is done with a collection of tools in a linux environment.
These tools are installed on top of ubuntu-12.04.4-desktop-amd64.iso installation from Ubuntu. To install the tools, run:
sudo apt-get install git iperf wireshark gnuplot tftp ethtool tftpd-hpa
For the tftp daemon, change the setting of TFTP_OPTIONS in the file
/etc/default/tftpd-hpa
to
TFTP_OPTIONS="--secure --create"
. Then change the owner of the tftp directory
sudo chown tftp:tftp /var/lib/tftpboot
Starting and stopping of the tftp server is done with
sudo service tftpd-hpa start sudo service tftpd-hpa stop
For the lab I have bootable usb sticks which contain the Ubuntu live system plus a persistent storage which already contains the additional installed packages and the home directory files.
Here is the guide for creating a usb live boot stick: https://help.ubuntu.com/community/LiveCDCustomization
The steps to produce such a bootable usb stick are
Her is the corrected extract from the grub.cfg file:
... menuentry "Try Ubuntu without installing" { set gfxpayload=keep linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper persistent quiet splash -- initrd /casper/initrd.lz } ...
In order to avoid problems with the USB stick copy step, the size of the initial FAT32 partition should be smaller than the maximum size of the USB stick. I selected 4 GB for the FAT 32 which includes the 1GB persistent caspar-rw file. The stick size is 16GB. I had success with copying the first 4 GB (in fact 5GB) from the stick to a file with
sudo dd if=/dev/sdb of=mscom.iso bs=1M count=5000
That produces an mscom.iso file with size 5,2 GB which is well above the 4 GB. Maybe count could have been smaller… Now you can copy that to a new USB stick with
sudo dd if=mscom.iso of=/dev/sdb bs=1M
IF YOUR USB STICK IS AT /dev/sdb AND NOT YOUR HARDDISK….