Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

goneeuro02

macrumors regular
Original poster
Sep 21, 2016
170
327
Am I missing something or is there not a decent MTR tool for Mac? I know it can be done via Terminal but installing Homebrew isnt an option sometimes. I work for a voip company and we need to run MTRs to pinpoint packet loss on customer networks. Is there a good software that anyone knows about that I can look into? We do a lot of remote work so a way to install from remote is a plus as well. Thanks you info you can give me. Hope it gives me a direction to look into.
 

goneeuro02

macrumors regular
Original poster
Sep 21, 2016
170
327
You can compile it from source code and install the executable

I am not very good with this stuff so please forgive my ignorance. Are you saying this can be compiled into a DMG for easy install?
 

carlob

macrumors regular
Nov 23, 2014
148
78
I am not very good with this stuff so please forgive my ignorance. Are you saying this can be compiled into a DMG for easy install?
No. A DMG is a container for apps. You can compile the source code which will result in an executable file that you can install (or compress and send around or whatever you want to do with it). We are talking about commands to be executed in a terminal window, not an app with a GUI.
 

bogdanw

macrumors 603
Mar 10, 2009
5,975
2,916
It’s quite easy actually:
- download & unarchive the latest mtr tar.gz from https://www.bitwizard.nl/mtr/files/
at the moment is mtr-0.94.tar.gz
- open Terminal and change directory to the unarchived folder, let’s say it’s in Downloads
cd ~/Downloads/mtr-0.94
- run
./configure && make
After it finishes, you can run the binary
./mtr -h
 
  • Like
Reactions: goneeuro02

goneeuro02

macrumors regular
Original poster
Sep 21, 2016
170
327
It’s quite easy actually:
- download & unarchive the latest mtr tar.gz from https://www.bitwizard.nl/mtr/files/
at the moment is mtr-0.94.tar.gz
- open Terminal and change directory to the unarchived folder, let’s say it’s in Downloads
cd ~/Downloads/mtr-0.94
- run
./configure && make
After it finishes, you can run the binary
./mtr -h
Thanks for the step by step instructions. I will try this tonight. I am looking for something I can give the team as a drag and drop and run like WinMTR for windows.
 

goneeuro02

macrumors regular
Original poster
Sep 21, 2016
170
327
It’s quite easy actually:
- download & unarchive the latest mtr tar.gz from https://www.bitwizard.nl/mtr/files/
at the moment is mtr-0.94.tar.gz
- open Terminal and change directory to the unarchived folder, let’s say it’s in Downloads
cd ~/Downloads/mtr-0.94
- run
./configure && make
After it finishes, you can run the binary
./mtr -h
Not sure if I did something wrong or not. I followed your directions here. This is what my Terminal did, any ideas?

MacBook-Pro mtr-0.94 % ./mtr www.google.com
mtr-packet: Failure to open IPv4 sockets
mtr-packet: Failure to open IPv6 sockets
mtr: Failure to start mtr-packet: Invalid argument

Follow up question, once I get this working on my own laptop, Do I need to copy this whole folder to a clients machine to run it, or do I just need a part of it? Thank you so much for trying to help me with this by the way.
 

bogdanw

macrumors 603
Mar 10, 2009
5,975
2,916
Not sure if I did something wrong or not. I followed your directions here. This is what my Terminal did, any ideas?

MacBook-Pro mtr-0.94 % ./mtr www.google.com
mtr-packet: Failure to open IPv4 sockets
mtr-packet: Failure to open IPv6 sockets
mtr: Failure to start mtr-packet: Invalid argument

Follow up question, once I get this working on my own laptop, Do I need to copy this whole folder to a clients machine to run it, or do I just need a part of it? Thank you so much for trying to help me with this by the way.
According to https://github.com/traviscross/mtr, you need to run that command with sudo:
sudo ./mtr <host>
sudo ./mtr www.google.com
I think the two compiled binaries (mtr & mtr-packet) are enough and can be moved and run from anywhere.
 
  • Love
Reactions: goneeuro02

carlob

macrumors regular
Nov 23, 2014
148
78
Not sure if I did something wrong or not. I followed your directions here. This is what my Terminal did, any ideas?

MacBook-Pro mtr-0.94 % ./mtr www.google.com
mtr-packet: Failure to open IPv4 sockets
mtr-packet: Failure to open IPv6 sockets
mtr: Failure to start mtr-packet: Invalid argument
you probably need to run it as root, try: sudo ./mtr www.google.com (you will need to enter the adm password)
 
  • Love
Reactions: goneeuro02

goneeuro02

macrumors regular
Original poster
Sep 21, 2016
170
327
According to https://github.com/traviscross/mtr, you need to run that command with sudo:
sudo ./mtr <host>
sudo ./mtr www.google.com
I think the two compiled binaries (mtr & mtr-packet) are enough and can be moved and run from anywhere.
you probably need to run it as root, try: sudo ./mtr www.google.com (you will need to enter the adm password)
Thank you both!!! I was missing sudo. That fixed it. I was able to run it with just mtr and mtr-packet. Thank you again. This will save a lot of time.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.