# Linux Kernel Module Cheat

### 15.2. ping

`ping` does not work within QEMU by default, e.g.:

    ping google.com

hangs after printing the header:

    PING google.com (216.58.204.46): 56 data bytes

Here Ciro describes how to get it working: https://unix.stackexchange.com/questions/473448/how-to-ping-from-the-qemu-guest-to-an-external-url

Further bibliography: https://superuser.com/questions/787400/qemu-user-mode-networking-doesnt-work