From a4b8686684ea9562a5e3db7f6aba0ba7aae9e92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Fri, 5 Oct 2018 00:00:00 +0000 Subject: [PATCH] ping: the real reason it does not work --- README.adoc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 8073c0b..1a6d9d0 100644 --- a/README.adoc +++ b/README.adoc @@ -2469,15 +2469,23 @@ Test: wget google.com .... -BusyBox' `ping` does not work with hostnames even when networking is working fine: +To enable networking by default, use the methods documented at <>. + +==== ping + +`ping` does not work within QEMU by default, e.g.: .... ping google.com .... -TODO why: https://unix.stackexchange.com/questions/124283/busybox-ping-ip-works-but-hostname-nslookup-fails-with-bad-address +hangs after printing the header: -To enable networking by default, use the methods documented at <>. +.... +PING google.com (216.58.204.46): 56 data bytes +.... + +https://unix.stackexchange.com/questions/473448/how-to-ping-from-the-qemu-guest-to-an-external-url == initrd