April 2, 2022 3:21 PM, "Samuel Thibault" <samuel.thiba...@gnu.org> wrote:
> jbra...@dismail.de, le sam. 02 avril 2022 19:18:29 +0000, a ecrit: > >> April 1, 2022 8:27 PM, "Samuel Thibault" <samuel.thiba...@gnu.org> wrote: >> >> jbra...@dismail.de, le ven. 01 avril 2022 21:39:39 +0000, a ecrit: >> >> ping -c 3 gnu.org did not work for me. >> >> Again, that wholy depends on the host. If you are not running qemu as >> root, the host may not allow it to emit icmp packets. >> >> I am running qemu as a regular user. > > Then that's not surprising. You need libslirp 0.15 for icmp to be > forwarded by qemu properly. I don't remember which version of qemu > contains that version of libslirp. Apparently my Hurd vm can connect to the network just fine. I typically use ping for testing network connectivity. $ sudo apt update && sudo apt upgrade showed that I was accessing the network in the vm. I'll send in a patch for the wiki to suggest that is a better method to test if your vm can connect to the network. > Samuel