Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Setup MPTCP and POX
===================

Installing MPTCP on Ubuntu 12.10 (EC2)
Installing MPTCP on Ubuntu 13.10 (EC2)
--------------------------------------

Run the following:

`sudo ./install_mptcp_quantal.sh`
`sudo ./install_mptcp_saucy.sh`

Read the output! There is some manual verification and rebooting to be done.

Expand Down
10 changes: 6 additions & 4 deletions install_mptcp_quantal.sh → install_mptcp_saucy.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
#!/bin/bash

# Script to install MPTCP kernel from the MPTCP apt-get repo
# Instructions from http://mptcp.info.ucl.ac.be/pmwiki.php?n=Users.AptRepository

# Get key
wget -q -O - http://mptcp.info.ucl.ac.be/mptcp.gpg.key | sudo apt-key add -
# Add repo
sudo sh -c 'echo "deb http://mptcp.info.ucl.ac.be/repos/apt/debian quantal main" > /etc/apt/sources.list.d/mptcp.list'
sudo sh -c 'echo "deb http://mptcp.info.ucl.ac.be/repos/apt/debian saucy main" > /etc/apt/sources.list.d/mptcp.list'

# Update:
sudo apt-get update

# Install appropriate kernel version; -virtual for EC2.
linux_kernel=linux-mptcp
mptcp_tools=linux-tools-3.11.0-88-mptcp

echo "installing linux kernel: $linux_kernel"
sudo apt-get install $linux_kernel
sudo apt-get install $linux_kernel $mptcp_tools

echo "If *-mptcp is not the first entry, change the default param in /boot/grub/menu.lst to match it (probably 2 or 4, but not odd - those are rescue kernels)."
grep ^default /boot/grub/menu.lst
Expand All @@ -24,8 +26,8 @@ echo "Check to make sure the following entry is in: /boot/grub/menu.lst"
echo "If it is not there, add it to the list and verify 'default'"
echo ""

#title Ubuntu 12.10, kernel 3.5.0-21-mptcp
echo "title Ubuntu 12.10, kernel `ls /boot/ | grep -o -m 1 3.5.*mptcp`"
#title Ubuntu 13.10, kernel 3.11.0-88-mptcp
echo "title Ubuntu 13.10, kernel `ls /boot/ | grep -o -m 1 3.11.*mptcp`"
echo "root (hd0)"
#kernel `ls /boot/vmlinux*mptcp`/boot/vmlinuz-3.5.0-24-mptcp root=LABEL=cloudimg-rootfs ro console=hvc0
echo "kernel `ls /boot/vmlinuz*mptcp` root=LABEL=cloudimg-rootfs ro console=hvc0"
Expand Down
6 changes: 6 additions & 0 deletions install_pox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ git clone git://github.com/noxrepo/pox.git
cd pox
git checkout master

# Building Termcolor
cd mptcp_setup
tar xvf termcolor-1.1.0.tar.gz
cd termcolor-1.1.0
python setup.py install

cd ~
Binary file added termcolor-1.1.0.tar.gz
Binary file not shown.