Showing posts from September, 2014

[OpenFlow] Install OpenFlow Dissector to Wireshark

It is for OpenFlow 1.1 and higher version.

Get sources (for Debian-based) git clone git:// sudo apt-get install wireshark wireshark-dev export WIRESHARK=/usr/include/wireshark Install scons and build openflow library cd ofdissector/srcsudo -s apt-get install scons scons install #mv /usr/lib/wireshark/libwireshark1/plugins/ #cd /usr/lib/wireshark/libwireshark1/plugins/ #chown root:root #chmod 644 Run Wireshark. wireshark

[Linux Kernel] How to build Linux kernel on Ubuntu?

The general way to build Linux kernel:
apt-get install libncurses-dev kernel-package bzip2 make ncurses-dev fakeroot module-init-tools patch apt-get install fakeroot build-essential kernel-package libncurses5 libncurses5-devTo find the stable version from and download it and tar the tar.bz2 file into /usr/src/cd /usr/src/linux-source-3.2.0/   <== it is my casemakemrpropermakemenuconfigmake -j 16sudo make modules_install installsudo update-grub2reboot Booting Menu: /boot/grub/grub.cfg
Booting Linux Options: /etc/default/grub

The Ubuntu way to do so:

make-kpkg cleanmake-kpkg --initrd --append-to-version=danny4400 kernel_image kernel-headers cd ..dpkg -ilinux-image-(Push tab button)ls -l /boot/reboot