You are not logged in.
Hi,
I am fairly new to qemu, I am using the following command to run my ubuntu VM:
qemu-system-x86_64 -enable-kvm -hda ubuntu_root.qcow2 -hdb ubuntu_home.qcow2 -m 1024 -smp 2 -nographic -monitor /dev/null -net user,hostfwd=tcp::5022-:22 -net nicThis command used to work perfectly a month ago approximately and I was able to have a network connection inside the guest without problem.
After a view system updates, I am now unable to have internet connection inside the vm. Nothing was changed apart from the package updates on the host. I can still connect through ssh using port 5022.
I checked pacman.log and I see the qemu was updated recently which could be what causes this problem. Is it a bug or do I have to change the above command?
Thank you
EDIT: Here is are the things I have tried inside the vm:
ping python.orgping: unknown host python.orgSo I tried downloading something instead of pinging:
wget 54.183.133.27wget 54.183.133.27
--2017-08-12 21:50:01-- http://54.183.133.27/
Connecting to 54.183.133.27:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 778 [text/html]
Saving to: ‘index.html’
index.html 100%[==============================================================================>] 778 --.-KB/s in 0s
2017-08-12 21:50:02 (41.6 MB/s) - ‘index.html’ saved [778/778]So it seems network connection works. But why am I unable to resolve hostnames?
Last edited by tyrann (2017-08-12 19:51:34)
Offline