This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://sreeninet.wordpress.com/2015/03/13/onos-overview-and-hands-on/ | |
cd ~/ | |
mkdir Downloads Applications | |
# Install karaf, Maven | |
cd ~/Downloads | |
wget http://archive.apache.org/dist/karaf/3.0.3/apache-karaf-3.0.3.tar.gz | |
wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone http://github.com/richardwithnell/mptcp-rpi | |
make mrproper | |
# 64 Bit | |
# export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- | |
# 32 Bit | |
export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX bcmrpi_defconfig | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX menuconfig | |
make -j3 ARCH=arm CROSS_COMPILE=$CCPREFIX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 0baf57dd8f75 model/dce-string.cc | |
--- a/model/dce-string.cc Sun Feb 01 21:26:05 2015 +0900 | |
+++ b/model/dce-string.cc Mon Mar 02 02:38:51 2015 +0000 | |
@@ -19,6 +19,22 @@ | |
return str; | |
} | |
+unsigned long long dce___strtoull_internal(const char * __nptr, | |
+ char * * __endptr, | |
+ int __base, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone http://github.com/richardwithnell/iptables | |
cd iptables/ | |
./configure LIBS="-pie -rdynamic" CFLAGS="-fPIC -U_FORTIFY_SOURCE" --with-xtlibdir=/lib/xtables --disable-shared | |
make | |
readelf -h iptables/xtables-multi | grep Type: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Android Studio | |
/*TODO: Update this document to use GStreamer 1.0, will need to update code as well */ | |
1) Download android-ndk-r9d: - does not work with the more recent r10d. | |
wget http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86.tar.bz2 | |
tar xf android-ndk-r9d-linux-x86.tar.bz2 | |
2) Download Gstreamer for Android: | |
wget http://cdn.gstreamer.com/android/arm/gstreamer-sdk-android-arm-debug-2013.6.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone http://github.com/multipath-tcp/mptcp | |
cd mptcp | |
make defconfig | |
#configure mptcp | |
make all | |
cd arch/i386/boot | |
mkinitramfs -o initrd.img-3.14 | |
sudo qemu-system-i386 -cpu Haswell -kernel bzImage -initrd initrd.img-3.14 -m 512M -net nic,model=e1000,vlan=0,macaddr=00:00:00:00:00:04 -net tap,ifname=server-tap0,vlan=0,script=no,downscript=no -hda ~/Software/uml/Debian-Server -append "root=/dev/sda" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install dkms build-essential linux-headers | |
sudo mount /media/cdrom | |
sudo sh /media/cdrom/VBoxLinuxAdditions.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Builds DCE for Debian Wheezy 64 bit, clean install to full dce-linux | |
sudo apt-get install mercurial bzr git python-dev libpcap-dev python-pygraphviz python-pygoocanvas g++ libqt4-dev libc6-dbg libdb-dev bison flex pkg-config cvs autoconf cmake | |
cd ~/ | |
mkdir Software/dce | |
cd Software/dce | |
hg clone http://code.nsnam.org/bake bake | |
export BAKE_HOME=`pwd`/bake | |
export PATH=$PATH:$BAKE_HOME | |
export PYTHONPATH=$PYTHONPATH:$BAKE_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/network/utils/pcap-file-wrapper.cc b/src/network/utils/pcap-file-wrapper.cc | |
--- a/src/network/utils/pcap-file-wrapper.cc | |
+++ b/src/network/utils/pcap-file-wrapper.cc | |
@@ -55,6 +55,18 @@ | |
Close (); | |
} | |
+void | |
+PcapFileWrapper::DoDispose (void) | |
+{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/questions/27530263/unable-to-build-gstreamer-tutorials-using-android-studio | |
# Fails with android-ndk-r10d, r9d only supports up to Android-19 | |
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion "21.1.2" | |
defaultConfig { |
NewerOlder