ping: connect: invalid argument

cn flag

Can someone explain this to me?

gbouras@master:~$ ping
ping: connect: Invalid argument
gbouras@master:~$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=0.079 ms
64 bytes from icmp_seq=2 ttl=64 time=0.082 ms

I understand if doesn't exist and I get a timeout error but I don't get why it would say "Invalid argument"

uname -a
Linux master 5.11.0-1022-gcp #24-Ubuntu SMP Thu Oct 21 07:40:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
ping -V
ping from iputils 20210202
karel avatar
sa flag
Does the `ping: connect: Invalid argument` error message reoccur if you push the button in back of the router to toggle the power off and then push it again to toggle the power back on?
waltinator avatar
it flag
What does `type -a ping` tell you? Is `ping` an alias, shell function, or a script, rather than an ELF binary at `/sbin/ping`?
gbouras avatar
cn flag
`$type -a ping ping is /usr/bin/ping ping is /bin/ping` this runs on GCP, created using their supplied ubuntu image

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.