summaryrefslogtreecommitdiff
path: root/md/writeup/qemu_usage.md
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-02-13 11:53:44 +0000
committerFreeArtMan <dos21h@gmail.com>2016-02-13 11:53:44 +0000
commit5b1de43546fbe66cf95d8b9b9784a0d66be70f66 (patch)
tree9c6b08e7c0ea555148b589832b2c4c05453a870b /md/writeup/qemu_usage.md
parentbf4f404af535371054cc3290c5b24f012ab2430a (diff)
downloadmd-content-5b1de43546fbe66cf95d8b9b9784a0d66be70f66.tar.gz
md-content-5b1de43546fbe66cf95d8b9b9784a0d66be70f66.zip
Updated syscall table - removed last 2 column. Qemu small NIC stuff added.
Diffstat (limited to 'md/writeup/qemu_usage.md')
-rw-r--r--md/writeup/qemu_usage.md17
1 files changed, 16 insertions, 1 deletions
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