qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] FreeDOS in qemu: no internet-connection


From: Peter Maydell
Subject: Re: [Qemu-discuss] FreeDOS in qemu: no internet-connection
Date: Mon, 17 Sep 2018 16:45:28 +0100

On 17 September 2018 at 16:34, Christian <address@hidden> wrote:
> In the beginning I thought it didn´t work because the ping-command kept
> failing.
> But I could get the "Links"-browser to work. So I could verify the
> correct functioning of the internet-connection.
> Why the ping-command didn´t work is surely another matter and cannot be
> discussed here.

The second "Note:" in https://wiki.qemu.org/Documentation/Networking
says "don't try to use ping to test if you're using usermode networking",
because it won't work.

The underlying issue is that by default the host OS will not allow
random unprivileged processes like QEMU to send ping packets.
If you're using a Linux host and have root access on it it is possible
to configure it to allow your user to send ping packets:
https://wiki.qemu.org/Documentation/Networking#Enabling_ping_in_the_guest.2C_on_Linux_hosts
but personally I don't bother, I just don't try to use ping in the guest.

thanks
-- PMM



reply via email to

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