mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
ping: the real reason it does not work
This commit is contained in:
14
README.adoc
14
README.adoc
@@ -2469,15 +2469,23 @@ Test:
|
|||||||
wget google.com
|
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 <<init-busybox>>.
|
||||||
|
|
||||||
|
==== ping
|
||||||
|
|
||||||
|
`ping` does not work within QEMU by default, e.g.:
|
||||||
|
|
||||||
....
|
....
|
||||||
ping google.com
|
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 <<init-busybox>>.
|
....
|
||||||
|
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
|
== initrd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user