From 5b1de43546fbe66cf95d8b9b9784a0d66be70f66 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 13 Feb 2016 11:53:44 +0000 Subject: Updated syscall table - removed last 2 column. Qemu small NIC stuff added. --- md/writeup/ihe.md | 2 +- md/writeup/qemu_usage.md | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'md/writeup') diff --git a/md/writeup/ihe.md b/md/writeup/ihe.md index 03d4caf..84f433e 100644 --- a/md/writeup/ihe.md +++ b/md/writeup/ihe.md @@ -6,7 +6,7 @@ Should be easy to use in practice. But not yet. ## Supported commands | command | help | -| --- | -- | +| --- | --- | | *open* | open file | | *close* | close file | | *info* | show program stats | diff --git a/md/writeup/qemu_usage.md b/md/writeup/qemu_usage.md index f022f37..4179012 100644 --- a/md/writeup/qemu_usage.md +++ b/md/writeup/qemu_usage.md @@ -20,6 +20,21 @@ qemu-system-i386 -cdrom _iso_image_ -boot order=d _qemu_image_ -m 512 ``` +### Setting up network card + +``` +-net nic +``` + +### Setting up tun device + +``` +brctl addbr tun0 +iw dev wlp3s0 set 4addr on +brctl addif tun0 wlp3s0 + +``` + ### Lunching image If everything installed then image could be runed just with @@ -103,4 +118,4 @@ make 2. [http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/](http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/) 3. [https://wiki.linaro.org/PeterMaydell/KVM/HowTo/BuildQEMU](https://wiki.linaro.org/PeterMaydell/KVM/HowTo/BuildQEMU) 4. [http://www.cs.rochester.edu/~sandhya/csc256/assignments/qemu_linux.html](http://www.cs.rochester.edu/~sandhya/csc256/assignments/qemu_linux.html) -5. [https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt](https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt) +5. [https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt](https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt) \ No newline at end of file -- cgit v1.2.3