Re: [Qemu-devel] slirp: question about using SMB on windows host with linux guest

2017-08-08 Thread FONNEMANN Mark
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

Re: [Qemu-devel] slirp: question about using SMB on windows host with linux guest

2017-05-13 Thread FONNEMANN Mark
>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

[Qemu-devel] slirp: question about using SMB on windows host with linux guest

2017-05-06 Thread FONNEMANN Mark
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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-05-06 Thread FONNEMANN Mark
>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.

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-05-05 Thread FONNEMANN 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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-05-05 Thread FONNEMANN Mark
>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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-05-05 Thread FONNEMANN Mark
>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.

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-30 Thread FONNEMANN 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 =

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-29 Thread FONNEMANN Mark
>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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-29 Thread FONNEMANN Mark
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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-29 Thread FONNEMANN Mark
>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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-29 Thread FONNEMANN Mark
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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-26 Thread FONNEMANN Mark
-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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-24 Thread FONNEMANN Mark
-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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-16 Thread FONNEMANN Mark
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

Re: [Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-16 Thread FONNEMANN Mark
This has been filed as a bug: https://bugs.launchpad.net/qemu/+bug/1683084. Mark.

[Qemu-devel] dns server not working in QEMU using usermode networking (SLIRP)

2017-04-13 Thread FONNEMANN 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