diff options
Diffstat (limited to 'md/writeup/qemu_usage.md')
-rw-r--r-- | md/writeup/qemu_usage.md | 17 |
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 |