RunQemu - Added e1000 and 5555->23 forward
authorJohn Hodge <[email protected]>
Sun, 12 May 2013 11:06:42 +0000 (19:06 +0800)
committerJohn Hodge <[email protected]>
Sun, 12 May 2013 11:06:42 +0000 (19:06 +0800)
RunQemu

diff --git a/RunQemu b/RunQemu
index db5306a..07980b6 100755 (executable)
--- a/RunQemu
+++ b/RunQemu
@@ -9,9 +9,10 @@ QEMU_PARAMS=""
 QEMU_PARAMS=$QEMU_PARAMS" -hda AcessHDD.img"
 QEMU_PARAMS=$QEMU_PARAMS" -vga std"
 QEMU_PARAMS=$QEMU_PARAMS" -smp 2"
-QEMU_PARAMS=$QEMU_PARAMS" -net nic"
+QEMU_PARAMS=$QEMU_PARAMS" -net nic,model=e1000"
+#QEMU_PARAMS=$QEMU_PARAMS" -net nic,model=rtl8139"
 
-_NETTYPE="user"
+_NETTYPE="user,hostfwd=tcp::5555-:23"
 
 while [ $# -ne 0 ]; do
        case $1 in

UCC git Repository :: git.ucc.asn.au