am using qemu 2.9.0.
Best Regards / Mit freundlichen Grüßen / 敬具,
Mark.
-Original Message-
From: Michael Tokarev [mailto:m...@tls.msk.ru]
Sent: Sunday, May 14, 2017 02:47
To: FONNEMANN Mark ; qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] slirp: question about using SMB on windows
>I am trying to shares files between Windows host and Linux guest using slirp’s
>built-in SMB server.
>I start QEMU 2.9.0 using the following:
>
>C:\Program Files\qemu>qemu-system-i386.exe -readconfig
>\Users\mfonnemann\qemu.cfg -net nic -net user,smb=\Users\mfonnemann\smb
>
>I then try to mount
Hello-
I am trying to shares files between Windows host and Linux guest using slirp’s
built-in SMB server.
I start QEMU 2.9.0 using the following:
C:\Program Files\qemu>qemu-system-i386.exe -readconfig
\Users\mfonnemann\qemu.cfg -net nic -net user,smb=\Users\mfonnemann\smb
I then try to mount
>So, in your /etc/nsswitch.conf, use
>hosts: files dns
This resolved the problem. I am now able to do DNS queries using nslookup.
Thanks for all your help!
Mark.
>So it's supposed to be using 10.0.2.3 I guess. Just to make sure, you could try
>/initrd/bin/nslookup www.google.com 10.0.2.3
root@qemu:~# /initrd/bin/nslookup www.google.com 10.0.2.3
Server:10.0.2.3
Address 1: 10.0.2.3
nslookup: ca
>The attached patch should be dumping the same kind of information.
Nslookup does not produce any output in curses or in logfile (-D logfile.txt).
I tried it using the version installed on the root system (Busybox 1.0):
root@qemu:~# nslookup
BusyBox v1.00 (2010.04.14-20:01+00
>Could you run tcpdump inside the guest so we are sure what the nslookup call
>emits?
Is there another way to determine this info? My guest OS is an embedded system
with BusyBox 1.25 and not much else.
Mark.
>Could you show us your NG.cfg, your guest /sbin/ifconfig and /sbin/route
>output and /etc/resolv.conf >content for that host?
[mfonnemann@desktopPC qemu]$ cat NG.cfg
[drive]
format = "raw"
file = "qemu_rootfs_512.img"
[drive]
format = "raw"
file = "placeholder2.vhdx"
[drive]
format =
>Ah, you are using curses... I've been putting logs onto stderr for simplicity,
>not the proper qemu logs. Here is a fixed patch to get output in the log.
OK, I have an interesting development that I hope will shed some light on the
problem.
This configuration works using a different image (nslo
Hello-
>One first thing to note: the DNS or SMB servers can not be pinged, since that
>was never implemented (I'll post a patch for that), so there is no surprise on
>that end.
OK
>When running with a Linux host (since that's what I'm most familiar with),
>what do you have in /etc/resolv.conf
>Ok, so nothing going out from qemu. Could you try to apply the attached patch
>to qemu-2.9 and see what it makes qemu print when you resolve a domain from
>the guest?
After applying patch, compiling, installing and then doing a nslookup request
in the guest, I still receive no output in tcpdum
Hello-
>And I guess these do work fine on the host.
Yes:
[mfonnemann@localhost ~]$ nslookup www.google.com
Server: 4.2.2.1
Address:4.2.2.1#53
Non-authoritative answer:
Name: www.google.com
Address: 172.217.11.4
>Perhaps you should make sure that qemu does emit the DNS lookup
-Original Message-
From: Stefan Weil [mailto:s...@weilnetz.de]
Sent: Friday, April 21, 2017 15:58
To: FONNEMANN Mark ; qemu-devel@nongnu.org; Samuel
Thibault
Subject: Re: [Qemu-devel] dns server not working in QEMU using usermode
networking (SLIRP)
>See report on
&g
-Original Message-
From: Thomas Huth [mailto:th...@redhat.com]
Sent: Monday, April 24, 2017 04:00
To: FONNEMANN Mark ; qemu-devel@nongnu.org
Cc: Samuel Thibault
Subject: Re: [Qemu-devel] dns server not working in QEMU using usermode
networking (SLIRP)
> IIRC there have been some
This issue still exists for me in 2.9 rc4.
-Original Message-
From: Samuel Thibault [mailto:samuel.thiba...@gnu.org]
Sent: Sunday, April 16, 2017 04:10
To: FONNEMANN Mark
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] dns server not working in QEMU using usermode
networking
This has been filed as a bug: https://bugs.launchpad.net/qemu/+bug/1683084.
Mark.
Hello-
I posted this question on stack overflow and got no response. Stefan
recommended asking the question here.
I’ve included a summary of the problem here in this email but more details can
be found here:
http://stackoverflow.com/questions/43308310/dns-server-not-working-in-qemu-usermode-ne
17 matches
Mail list logo