This file contains hidden or 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
| We are going to use buildroot to download, configure and compile the kernel. | |
| First, download and uncompress buildroot: https://buildroot.org/download.html | |
| Go to the directory and: | |
| make qemu_x86_defconfig | |
| make menuconfig |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Time-stamp: <2014-07-31 13:31:43 (ryanc)> | |
| # | |
| # Description: Mirror traffic between two interfaces using Linux's | |
| # traffic control subsystem (tc) | |
| trap cleanup EXIT | |
| CLEANUP=1 | |
| SRC_IFACE=$1 |