Score:1

Traceroute and mtr command are not working

cn flag
grace@DESKTOP-PTDHEDF:~$ sudo traceroute -m3 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 3 hops max
  1   *  *  *
  2   *  *  *
  3   *  *  *

Tried the following steps but the result still the same.

sudo apt-get install inetutils-traceroute
sudo apt install traceroute
sudo apt update
sudo apt upgrade
grace@DESKTOP-PTDHEDF:~$ sudo mtr 8.8.8.8
mtr-packet: Failure to open IPv4 sockets: Permission denied
mtr-packet: Failure to open IPv6 sockets: Permission denied
mtr: Failure to start mtr-packet: Invalid argument

mtr command is also not working

Any idea that what I still need to do?

Thank you.

user10489 avatar
in flag
It is working, you just don't have permission to run it in your account.
Michal Przybylowicz avatar
eg flag
Try running the command with `sudo`?
waltinator avatar
it flag
Since `traceroute` and `mtr` do raw packet manipulation, you must run them as a privileged user, e.g. `sudo mtr 8.8.8.8`. Read `man sudo sudoers traceroute mtr`.
Grace Ooi avatar
cn flag
Thank you. I try to run the command with sudo, but its still not working.
Score:0
ru flag

I had this issue and fixed by running wsl as administrator in Windows :)

NotTheDr01ds avatar
vn flag
Welcome to Ask Ubuntu! Microsoft strongly recommends that you don't run WSL as Administrator in Windows as it can create serious security and stability issues with Windows. That should be a *clue* to why networking isn't working for you in WSL, but not a long-term solution.
mangohost

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.