[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] No network in my Debian VM after installation

From: Berillions
Subject: [Qemu-discuss] No network in my Debian VM after installation
Date: Fri, 11 Nov 2016 23:11:52 +0100


When i use my Qemu's script to install Debian Sid in a VM, i use the NetInstall .iso.
During the installation, the network works without problem because i download all packages need by the installation.

At the end, the VM reboot and after to login, "apt-get update" does not work, there isn't network.
If i launch ifconfig, there isn't "etho" connection.

I don't understand how i can have Internet during the installation and not after reboot too.

My qemu command :

qemu-system-x86_64 \
-enable-kvm \
-m 16000 \
-cpu host,kvm=off \
-smp sockets=1,cores=3,threads=2 \
-machine pc-q35-2.7,accel=kvm \
-soundhw hda \
-k fr \
-bios /usr/share/ovmf/OVMF.fd  \
-vga none \
-device qxl \
-device virtio-net-pci,netdev=user.0,mac=52:54:00:a0:66:43 \
-netdev user,id=user.0 \
-drive file=/media/VM/Debian_Build_i386.img,if=none,id=drive-virtio-disk0,format=raw,cache=none \
-device virtio-blk-pci,scsi=off,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-rtc base=localtime,driftfix=slew \
-usb \
-device usb-mouse \

Thanks for your help

reply via email to

[Prev in Thread] Current Thread [Next in Thread]